Continuing IRC discussion, the offending line probably is in gthread-2.0.pc.in

<@rootard> anilg: the program is segfaulting before it hits main()...
if you remove "-lgthread-2.0"  from the gcc line the program runs.
<@rootard> I'm surprised that we have -lgthread and -lpthread and
-lthread all in one line. I would  think they would conflict
<@rootard> Now comes the fun part... figuring out where the
-lgthread-2.0 is coming from.
<@rootard> (and removing it)
<@rootard> I guess we could also try and fix gthread
< erast> pthread is just a stub..
< erast> now, gthread comes from GLIB
<@rootard> libglib2.0-0: /usr/lib/libgthread-2.0.so.0.1600.3
<@rootard> right
< erast> I think we need to recompile GLIB and enable Solaris-specific flags...
< erast> or at least verify it..

[EMAIL PROTECTED]:~/xork/glib/glib2.0-2.16.4# grep lgthread *
ChangeLog.pre-1-2:      into a separate library -lgthread.
gthread-2.0.pc.in:Libs: -L${libdir} -lgthread-2.0 @G_THREAD_LIBS@

Erast: which particular solaris flags?

Regards
Anil
_______________________________________________
gnusol-devel mailing list
gnusol-devel@lists.sonic.net
http://lists.sonic.net/mailman/listinfo/gnusol-devel

Reply via email to