This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Sparc Solaris 2.6 ld 2.9.1 bug
- To: bug-gnu-utils at gnu dot org
- Subject: Sparc Solaris 2.6 ld 2.9.1 bug
- From: Brian Ford <ford at vss dot fsi dot com>
- Date: Fri, 11 Dec 1998 11:09:49 -0600
- Cc: egcs at cygnus dot com
I have found the following bug in ld version 2.9.1 on Sparc Solaris 2.6.
The bug does not exist in ld version 2.8.1.
If you compile and link the following program:
#include <X11/Xlib.h>
int main(void)
{
XOpenDisplay(NULL);
}
With just -lX11 everything is ok in all cases. If however, you add
-lxnet, the resulting program will Segmentation fault and core dump when
linked with ld version 2.9.1, but run fine when linked with ld version
2.8.1.
Please let me know if a similar problem or fix is known. Thank you.
--
Brian Ford
Software Engineer
Vital Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax: 314-551-8444