gcc 3.2 on Solaris 8 (libgcc_s.so problem)

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Tue Aug 20 08:39:00 GMT 2002


Anthony Feick writes:

> Are you sure these are the 32 bit libraries?  I tried just moving them into 
> local/lib, but libgcc_s.so.1 segfaults instantly.

pretty much so: what does `file' say about them?

> I tried this:
> 
> int main(void)
> {
>    return 0;
> }
> 
> When I debug it in gdb I get this:
> 
> Program received signal SIGSEGV, Segmentation fault.
> __register_frame_info_bases (begin=0xff2b0000, ob=0xff2b0000, tbase=0x0, 
> dbase=0x0)
>     at ../../gcc-3.2/gcc/unwind-dw2-fde.c:83
> 83        ob->tbase = tbase;
> Current language:  auto; currently c

Did you configure/build with binutils 2.13?  I recall reports that these
totally broke gcc 3.2.  I've personally avoided GNU binutils on Solaris 2,
and didn't ever have problems with this approach.

	Rainer



More information about the Gcc mailing list