https://sourceware.org/bugzilla/show_bug.cgi?id=19789
Bug ID: 19789
Summary: version node not found for symbol with
--dynamic-list-cpp-new or --dynamic-list-cpp-typeinfo
Product: binutils
Version: 2.27 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: hjl.tools at gmail dot com
Reporter: dura911111 at gmail dot com
Target Milestone: ---
Created attachment 9076
--> https://sourceware.org/bugzilla/attachment.cgi?id=9076&action=edit
Files used by ld
When compiling glibc:
ld -plugin ./liblto_plugin.so -plugin-opt=lto-wrapper
-plugin-opt=-fresolution=/tmp/cc9qcsaE.res --eh-frame-hdr -m elf_x86_64
--dynamic-list-cpp-new -dynamic-linker /lib/ld-linux-x86-64.so.2 -o
librtld.map.o dl-allobjs.os -r libc_pic.a -L. -lgcc -Map librtld.mapT
gives:
ld: librtld.map.o: version node not found for symbol
pthread_cond_wait@@GLIBC_2.3.2
ld: failed to set dynamic section sizes: Bad value
Same problem with --dynamic-list-cpp-typeinfo. No problems if neither
--dynamic-list-cpp-new nor --dynamic-list-cpp-typeinfo is given.
Only head is affected. binutils 2.26 seems to work fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils