cp-demangle.c:2838: internal | compiler error: Segmentation Fault

Ian Lance Taylor iant@google.com
Tue Jan 27 21:02:00 GMT 2009


kamaraju kusumanchi <raju.mailinglists@gmail.com> writes:

>>
>> Installing bison, removing /usr/ccs/bin from the PATH did not help.
>>
>> This is now http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38981
>>
>
> One small question. The backtrace shows that the code is calling
> qsort() function in /usr/lib/libc.so.1 . I am wondering if there is
> any incompatibility between qsort expected by gcc and qsort on my
> system's library? Could this be the cause of the problems?
>
> How can I find out if my /usr/lib/libc.so.1 is GNU compatible? Are
> there any workarounds for this kind of problems?

In general gcc tries hard to follow the existing ABI.  This may
indicate that the libc was compiled with some options that gcc is not
using by default.  That may indicate that you need a slightly
different target.  The details will be highly system dependent,
unfortunately.

Ian



More information about the Gcc-help mailing list