ld --gc-sections failures

H . J . Lu hjl@lucon.org
Thu Jan 27 07:43:00 GMT 2000


On Thu, Jan 27, 2000 at 01:53:58PM +1030, Alan Modra wrote:
> I'm getting a ld testsuite failure for --target=i586-linux.  It's been
> around for a while.
> 
> gcc -w -O2 -ffunction-sections -fdata-sections -fvtable-gc -fno-exceptions
> -fno-rtti -B/usr/tmp/gas/ld/tmpdir/gas/ 
> -I/usr/src/binutils-current/ld/testsuite/ld-selective -g -O2 -W -Wall  -c
> /usr/src/binutils-current/ld/testsuite/ld-selective/3.cc -o tmpdir/3.o
> 
> /usr/tmp/gas/ld/ld-new  -o tmpdir/3.x --gc-sections -Bstatic tmpdir/3.o
> 
> /usr/tmp/gas/ld/../binutils/nm-new  tmpdir/3.x >tmpdir/nm.out
> 
> foo__1B == 0x08048090
> FAIL: selective4
> 

I thought it was fixed a few months ago. I haven't seen any failures
for quite a while. Could you please try my binutils at

ftp://ftp.valinux.com/pub/support/hjl/binutils

H.J.


More information about the Binutils mailing list