-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
unable to build i386 glibc: lld: error: relocation refers to a symbol in a discarded section #4926
Copy link
Copy link
Closed
Labels
arch-x8632-bit x8632-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxLinuxLinux
Milestone
Description
$ ./zig test ../test/stage1/behavior.zig -target i386-linux-gnu -lc
lld: error: relocation refers to a symbol in a discarded section: __x86.get_pc_thunk.bx
>>> defined in /home/andy/.cache/zig/stage1/o/QwPOfrBzzIXOEPuFhvbaQ4pBmiZk1vZIjVDP_sy7CCeeXOl8s6Zh8l0nMcfprTj6/crti.o
>>> referenced by crti.S:68 (/home/andy/Downloads/zig/lib/libc/glibc/sysdeps/i386/crti.S:68)
>>> /home/andy/.cache/zig/stage1/o/QwPOfrBzzIXOEPuFhvbaQ4pBmiZk1vZIjVDP_sy7CCeeXOl8s6Zh8l0nMcfprTj6/crti.o:(.init+0x5)
>>> referenced by crti.S:88 (/home/andy/Downloads/zig/lib/libc/glibc/sysdeps/i386/crti.S:88)
>>> /home/andy/.cache/zig/stage1/o/QwPOfrBzzIXOEPuFhvbaQ4pBmiZk1vZIjVDP_sy7CCeeXOl8s6Zh8l0nMcfprTj6/crti.o:(.fini+0x5)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-x8632-bit x8632-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-linuxLinuxLinux