This is the mail archive of the gcc-bugs@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]

Re: using assert (__eprintf) in shared libraries


> But I'm not sure where the real problem lies -- should there be a shared
> libgcc? Are the builds for such programs at fault? 

I would think the latter is the case. libGL should link with libgcc,
but doesn't. Making libgcc shared is being discussed, but it would not
really fix your problem (just work around it, provided libgcc happens
to be loaded anyway).

> And what the best way to fix? 

If you can arrange for it, have the libGL makefiles changed to link
using "gcc -shared", instead of "ld -shared".

If my analysis is totally off the real problem, please let me know.

Regards,
Martin


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