http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54513

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-07 
07:33:46 UTC ---
Don't use -Wl,--no-undefined on CentOS 4, it is too old for that.
In particular, AS_NEEDED ( /lib/ld-linux.so.2 ) is missing in /usr/lib/libc.so,
so for TLS using programs which use ___tls_get_addr or other symbols provided
by ld.so you need to specify ld.so on the command line explicitly when using
-Wl,-z,defs.  On newer OSes that is not needed.

Reply via email to