Summary: | sys-auth/elogind-246.9.1 : collect2: error: ld returned 1 exit status (gold, binutils-2.35) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, esigra, kensington, sam, slashbeast |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceware.org/bugzilla/show_bug.cgi?id=25159 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=669754 | ||
Whiteboard: | gold linker | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 sys-auth:elogind-246.9.1:20210107-091238.log temp.tbz2 |
Description
Toralf Förster
2021-01-07 15:04:03 UTC
Created attachment 681700 [details]
emerge-info.txt
Created attachment 681703 [details]
emerge-history.txt
Created attachment 681706 [details]
environment
Created attachment 681709 [details]
etc.portage.tbz2
Created attachment 681712 [details]
sys-auth:elogind-246.9.1:20210107-091238.log
Created attachment 681715 [details]
temp.tbz2
I think you’re hitting a binutils bug *** Bug 764344 has been marked as a duplicate of this bug. *** [205/514] x86_64-pc-linux-gnu-gcc -o src/shared/libelogind-shared-246.9.1.so -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libelogind-shared-246.9.1.so -Wl,--whole-archive src/shared/libelogind-shared-246.9.1.a src/basic/libbasic.a src/libelogind/libelogind_static.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -fstack-protector -Wl,--gc-sections -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--version-script=/var/tmp/portage/sys-auth/elogind-246.9.1/work/elogind-246.9.1/src/shared/libshared.sym -pthread -lacl /usr/lib64/libcap.so -lpam -lacl -lpam -lm -ldl -Wl,--end-group [31mFAILED: [0msrc/shared/libelogind-shared-246.9.1.so x86_64-pc-linux-gnu-gcc -o src/shared/libelogind-shared-246.9.1.so -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libelogind-shared-246.9.1.so -Wl,--whole-archive src/shared/libelogind-shared-246.9.1.a src/basic/libbasic.a src/libelogind/libelogind_static.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -fstack-protector -Wl,--gc-sections -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -Wl,--version-script=/var/tmp/portage/sys-auth/elogind-246.9.1/work/elogind-246.9.1/src/shared/libshared.sym -pthread -lacl /usr/lib64/libcap.so -lpam -lacl -lpam -lm -ldl -Wl,--end-group /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: internal error in define_default_version, at /var/tmp/portage/sys-devel/binutils-2.35.1-r1/work/binutils-2.35.1/gold/symtab.cc:877 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Does this still happen with current binutils? (In reply to Andreas K. Hüttel from comment #10) > Does this still happen with current binutils? no |