This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Solaris GNU ld 2.8.* warning
- To: libtool at gnu dot org
- Subject: Solaris GNU ld 2.8.* warning
- From: Brian Ford <ford at vss dot fsi dot com>
- Date: Fri, 16 Jul 1999 13:09:30 -0500 (CDT)
- cc: egcs at egcs dot cygnus dot com
I saw this while building gcc-2.95 from cvs:
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
*** create shared libraries on Solaris systems. Therefore, libtool
*** is disabling shared libraries support. We urge you to upgrade GNU
*** binutils to release 2.9.1 or newer. Another option is to modify
*** your PATH or compiler configuration so that the native linker is
*** used, and then restart.
Just thought I'd let you know that GNU ld 2.9.1 is also broken on Solaris.
Try the following test case:
Compile the following using ld 2.9.1 with -lX11 -lxnet
#include <X11/Xlib.h>
int
main(int argc, char *argv[])
{
XOpenDisplay(NULL);
return 0;
}
Run the result and core dump. Now, remove the -lxnet and everything is
fine. ld 2.8.1 and Solaris ld work fine. I believe this was fixed
in more recent ld's but I do not know the exact version.
Just a heads up.
--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444