[Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 19 23:25:27 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068
--- Comment #12 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #11)
I've reduced the link command to:
# /usr/bin/powerpc64-unknown-freebsd13.0-ld "-Bshareable" "-o"
"lib/libLTO.so.6.0.1" "lib/libLLVM-6.0.so"
/usr/bin/powerpc64-unknown-freebsd13.0-ld: BFD (GNU Binutils) 2.32 assertion
fail elflink.c:2935
/usr/bin/powerpc64-unknown-freebsd13.0-ld: BFD (GNU Binutils) 2.32 assertion
fail elflink.c:2935
The only reason for -Bsharable is that there are more messages without it,
relating to _start, __progname, and environ.
So it seems lib/libLLVM-6.0.so is sufficient context for the
BFD_ASSERT to fail.
# readelf -sW lib/libLLVM-6.0.so | grep 'get_execution_seed.*seed' | more
12020: 0000000003c20f00 8 OBJECT WEAK DEFAULT 26
_ZZN4llvm7hashing6detail18get_execution_seedEvE4seed@@LLVM_6.0 (2)
21501: 0000000003c20f08 8 OBJECT WEAK DEFAULT 26
_ZGVZN4llvm7hashing6detail18get_execution_seedEvE4seed@@LLVM_6.0 (2)
68864: 0000000003c20f00 8 OBJECT WEAK DEFAULT 26
_ZZN4llvm7hashing6detail18get_execution_seedEvE4seed
78345: 0000000003c20f08 8 OBJECT WEAK DEFAULT 26
_ZGVZN4llvm7hashing6detail18get_execution_seedEvE4seed
# readelf -sW lib/libLLVM-6.0.so | grep 'bss' | more
6278: 0000000003c20f00 0 NOTYPE GLOBAL DEFAULT 26
__bss_start@@LLVM_6.0 (2)
63122: 0000000003c20f00 0 NOTYPE GLOBAL DEFAULT 26 __bss_start
Also:
[26] .bss NOBITS 0000000003c20f00 03c10f00
0000000000056010 0000000000000000 WA 0 0 8
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list