possible regression

Jeffrey A Law law@cygnus.com
Thu Aug 27 01:51:00 GMT 1998


  In message < 199808261956.EAA24378@ns.sf.t.u-tokyo.ac.jp >you write:
  > Platform: sparc-sun-solaris2.5.1
  > 
  > Description:
  > 
  > `make check' of binutils-2.9.1 built with egcs-19980824-snapshot fails.
  > `make check' of binutils-2.9.1 built with egcs-1.0.3 succeeds.
  > 
  > No particular configuration options given for the builds of egcs and
  > binutils.  The `make check' result for egcs-snapshot itself is the
  > same as that reported on the egcs list.
  > 
  > 
  > Running /amnt/share/src/binutils-2.9.1/ld/testsuite/ld-cdtest/cdtest.exp ...
  > FAIL: cdtest
  > FAIL: cdtest with -Ur
Thanks.  I was able to reproduce this problem.

This is actually a bug in the gnu linker that is exposed by the newer
version of egcs.

The linker in binutils-2.9.1 does not handle R_SPARC_WPLT30 relocs
against local symbols.

Such relocations exist in the egcs-1.1 libgcc.a library (and possibly
others).

jeff



More information about the Gcc-bugs mailing list