[Bug gold/10450] New: elfutils elflint failures

2009-07-25 Thread mjw at redhat dot com
elfutils http://elfutils.fedorahosted.org/ comes with an elflint program which flags a couple of issues when elfutils is build against GNU gold. make check had the following failure messages (while running elflint over the binaries and shared libraries of elfutils just build). I will try to split t

[Bug binutils/10447] Binutils fail to build on cygwin

2009-07-25 Thread mjw at redhat dot com
--- Additional Comments From mjw at redhat dot com 2009-07-25 18:31 --- This is most likely http://gcc.gnu.org/PR40854 "Conflicting crc32 functions in libiberty and zlib". Should be fixed in gcc/libiberty now (crc32 renamed to xcrc32). -- http://sourceware.org/bugzilla/show_bug.cgi?i

[Bug binutils/10447] Binutils fail to build on cygwin

2009-07-25 Thread tkoenig at gcc dot gnu dot org
--- Additional Comments From tkoenig at gcc dot gnu dot org 2009-07-25 15:41 --- $ uname -a CYGWIN_NT-5.1 R2D2 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin -- What|Removed |Added --

[Bug binutils/10447] New: Binutils fail to build on cygwin

2009-07-25 Thread tkoenig at gcc dot gnu dot org
Trying to build the latest binutils on cygwin because I want to test gcc, but no such luck: gcc -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././ binutils/../bfd -I.././binutils/../include -DLOCALEDIR="\"/usr/local/share/local e\"" -Dbin_dummy_emulation=bin_vanilla_emula

[Bug gold/10445] gold only accepts -z option, not -z -option

2009-07-25 Thread mjw at redhat dot com
--- Additional Comments From mjw at redhat dot com 2009-07-25 14:44 --- The solution is simply to allow single and double dash before a DASH_Z in options.cc. (-z --defs or any other double dashed option after -z is also accepted by GNU ld, although I haven't seen that used in practice yet

[Bug gold/10445] New: gold only accepts -z option, not -z -option

2009-07-25 Thread mjw at redhat dot com
GNU ld supports -z -option like: $ ld -z -nodlopen -z -defs -o main main.o gold doesn't, it has to be rewritten as ld -z nodlopen -z defs. -- Summary: gold only accepts -z option, not -z -option Product: binutils Version: unspecified Status: NEW

[Bug gold/10444] New: gold doesn't support linking position independent executables (-pie)

2009-07-25 Thread mjw at redhat dot com
GNU gold (GNU Binutils 2.19.51.20090724) 1.9 is missing the GNU ld -pie, --pic-executable option to create a position independent executable. -- Summary: gold doesn't support linking position independent executables (-pie) Product: binutils Ver

[Bug gold/10238] Gold linker does not resolve symbols using indirect dependencies

2009-07-25 Thread mjw at redhat dot com
--- Additional Comments From mjw at redhat dot com 2009-07-25 09:16 --- I also hit this and I must admit it is slightly confusing at first. We were linking -lnss3 which works fine with GNU ld, but with GNU gold you suddenly get lots of unresolved references to PR_ functions. If you know a