This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Sparc Solaris 2.6 ld 2.9.1 bug


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


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