[Bug gold/5986] New: build failure with gcc 4.3.0

2008-03-25 Thread cryptooctoploid at gmail dot com
if g++ -DHAVE_CONFIG_H -I. -I.././gold -I. -I.././gold -I.././gold/../include -I.././gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/x86_64-unknown-linux-gnu/bin\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=k8 -pipe -

[Bug ld/3290] Linker creates dynamic debug symbols in DSO

2008-03-25 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2008-03-25 15:06 --- Do we need to do this even when info->relocatable? PGI apparently uses (or used?) global symbols in .debug_info sections and referenced them from within object's .debug_info section. With this change, ld -r on on