[krbdev.mit.edu #4455] IRIX build fails w/ GCC 4.0 (really GNU ld)

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Tue Oct 17 22:48:32 EDT 2006


Starting w/ GCC 4.0 - SGI's need to use the GNU version of LD.  The
flags used for creation of shared libraries assume the system LD - and will
give a cryptic message about rpath.  

The code in shlib.conf needs to be changed to detect the version of ld
being used.

gcc -print-prog-name=ld

will return the version of ld (either complete path or just ld) being used.
Then run --version and check for GNU.

I have some code written for all this - but needs testing for
all configurations. (native cc, gcc 3.4, gcc 4.x)




More information about the krb5-bugs mailing list