This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Many tests fail when gcc passes --no-add-needed to linker


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/19/2010 03:57 PM, H.J. Lu wrote:
> Many tests failed if gcc passes --no-add-needed to linker with
> error messages like:

These all look like bugs in the linker to me.  The symbols in question
are contained in DSOs which are linked in.  Aside, the tst-tls1 error
looks like this:

/usr/bin/ld: : invalid DSO for symbol `__tls_get_addr@@GLIBC_2.3'
definition
/home/drepper/local/glibc-builds/20100408/elf/ld-linux-x86-64.so.2:
could not read symbols: Bad value


This works fine with --no-add-needed.

(Yes, there is a bogus character near the beginning of the message.)

Somebody hacking on ld might want to build the glibc test suite with
this option.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAku+kw0ACgkQ2ijCOnn/RHTurACfT/Z79tumzR+9mLW7SSxPd7GO
ZFwAoIHhgFkqsV8rZincLMQsn9tKiu/V
=Ay6p
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]