Skip to content

zig targets, error: unable to read libc/glibc/abilists: Unexpected #21624

Description

@jimying

Zig Version

0.14.0-dev.1816+20e03beae

Steps to Reproduce and Observed Behavior

run zig targets, get error :

error: unable to read libc/glibc/abilists: Unexpected

also, i test build simple hello.c, zig cc -target x86_64-linux-gnu hello.c or
zig cc -target x86_64-linux-musl hello.c, get error:

hello.c:1:1: error: Unexpected
error: sub-compilation of glibc crti.o failed
    note: unable to check cache: stat file '/home/pi/bak/zig14/lib/libc/glibc/sysdeps/x86_64/crti.S' failed: Unexpected
error: sub-compilation of compiler_rt failed
    note: unable to check cache: stat file '/home/pi/bak/zig14/lib/compiler_rt.zig' failed: Unexpected
error: unable to build glibc CRT file: SubCompilationFailed
error: sub-compilation of glibc crtn.o failed
    note: unable to check cache: stat file '/home/pi/bak/zig14/lib/libc/glibc/sysdeps/x86_64/crtn.S' failed: Unexpected
error: sub-compilation of glibc Scrt1.o failed
    note: unable to check cache: stat file '/home/pi/bak/zig14/lib/libc/glibc/sysdeps/x86_64/start-2.33.S' failed: Unexpected
error: sub-compilation of glibc libc_nonshared.a failed
    note: unable to check cache: stat file '/home/pi/bak/zig14/lib/libc/glibc/stdlib/atexit.c' failed: Unexpected
error: unable to build glibc shared objects: Unexpected

Expected Behavior

no error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    os-linuxLinuxquestionNo questions on the issue tracker, please.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions