public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-20 16:37 Anthony Feick
  2002-08-20 16:51 ` Rainer Orth
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Feick @ 2002-08-20 16:37 UTC (permalink / raw)
  To: ro; +Cc: rup, rschiele, gcc, jakub

Yes, is seems "binutils 2.13" + "gcc 3.2" + "Solaris 8" => pile of crap.  I 
still haven't figured out which binutils will work.

I tried the Sun linker and assembler in "/usr/ccs/bin".  With them I can at 
least run a simple program, but now there are problems linking source files 
that use "std::basic_string<wchar_t>".

Hopefully "binutils 2.12.1" will do the trick.  If that doesn't work I'll go 
back to "binutils 2.11.2"; that worked well with "gcc 3.0.4".

I'm sure I'll get it going eventually.  I just found out I need another 
configure flag "--enable-cxx-flags="-fshort-wchar".  Thank you for your 
help.

-Tony


From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: "Anthony Feick" <afeick@hotmail.com>
CC: rup@kanat.pair.com, rschiele@uni-mannheim.de, gcc@gcc.gnu.org,   
jakub@gcc.gnu.org
Subject: Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
Date: Tue, 20 Aug 2002 17:39:05 +0200 (MEST)

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




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-22 11:01 Anthony Feick
  0 siblings, 0 replies; 14+ messages in thread
From: Anthony Feick @ 2002-08-22 11:01 UTC (permalink / raw)
  To: ro; +Cc: rup, rschiele, gcc, jakub



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-21  8:50 Anthony Feick
  2002-08-21 13:12 ` Bernd Jendrissek
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Feick @ 2002-08-21  8:50 UTC (permalink / raw)
  To: berndj; +Cc: gcc



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-20 17:35 Anthony Feick
  2002-08-20 18:51 ` Rainer Orth
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Feick @ 2002-08-20 17:35 UTC (permalink / raw)
  To: ro; +Cc: rup, rschiele, gcc, jakub



^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-20  8:35 Anthony Feick
  2002-08-20  8:39 ` Rainer Orth
  2002-08-21  3:16 ` Bernd Jendrissek
  0 siblings, 2 replies; 14+ messages in thread
From: Anthony Feick @ 2002-08-20  8:35 UTC (permalink / raw)
  To: ro, rup; +Cc: rschiele, gcc, jakub

Ah, I see it:
http://gcc.gnu.org/ml/gcc-bugs/2002-05/msg00560.html
http://gcc.gnu.org/ml/gcc-bugs/2002-08/msg00348.html

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

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


(gdb) bt
#0  __register_frame_info_bases (begin=0xff2b0000, ob=0xff2b0000, tbase=0x0, 
dbase=0x0)
   at ../../gcc-3.2/gcc/unwind-dw2-fde.c:83
#1  0xff2b16c8 in frame_dummy () from /users/afeick/local/lib/libgcc_s.so.1
#2  0xff2b15b0 in _init () from /users/afeick/local/lib/libgcc_s.so.1
#3  0xff3ca7d8 in ?? ()
#4  0xff3ca620 in ?? ()
#5  0xff3d3350 in ?? ()
#6  0xff3c298c in ?? ()







From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: Rupert Wood <rup@kanat.pair.com>
CC: Robert Schiele <rschiele@uni-mannheim.de>,   Anthony Feick 
<afeick@hotmail.com>, <gcc@gcc.gnu.org>, jakub@gcc.gnu.org
Subject: Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)
Date: 20 Aug 2002 16:39:06 +0200

Rupert Wood <rup@kanat.pair.com> writes:

> It's broken in the --disable-multilib case. It installs the 32-bit 
library
> into sparcv9 and nothing into lib.
>
> This came up on the gcc-help list a while back; sorry, I'd assumed a bug
> had been filed. I had a quick look at mklibgcc at the time but I was
> in over my head and too busy to chase it very far.

This is a known problem: PR target/6668, but unfortunately still not fixed.

	Rainer




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


^ permalink raw reply	[flat|nested] 14+ messages in thread
* gcc 3.2 on Solaris 8 (libgcc_s.so problem)
@ 2002-08-20  1:17 Anthony Feick
  2002-08-20  6:11 ` Robert Schiele
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Feick @ 2002-08-20  1:17 UTC (permalink / raw)
  To: gcc

GCC 3.2 on sparc Solaris 8 doesn't install libgcc_s.so.  It makes the 
library, but doesn't move it over.  When I copy it to the install directory, 
it seems to be broken:

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
(gdb) bt
#0  __register_frame_info_bases (begin=0xff2b0000, ob=0xff2b0000, tbase=0x0, 
dbase=0x0)
   at ../../gcc-3.2/gcc/unwind-dw2-fde.c:83
#1  0xff2b16c8 in frame_dummy () from /users/afeick/local/lib/libgcc_s.so.1
#2  0xff2b15b0 in _init () from /users/afeick/local/lib/libgcc_s.so.1
#3  0xff3ca7d8 in ?? ()
#4  0xff3ca620 in ?? ()
#5  0xff3d3350 in ?? ()
#6  0xff3c298c in ?? ()
(gdb)



$ gcc -v
Reading specs from 
/users/afeick/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/users/afeick/local 
--enable-threads=posix --disable-multilib --disable-nls --with-gnu-ld 
--with-ld=/users/afeick/local/bin/ld --with-gnu-as 
--with-as=/users/afeick/local/bin/as --enable-languages=c,c++,f77,objc 
--disable-libgcj
Thread model: posix
gcc version 3.2



Let me know if I should send this message to a different mailing list.

-Tony


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-08-22 11:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20 16:37 gcc 3.2 on Solaris 8 (libgcc_s.so problem) Anthony Feick
2002-08-20 16:51 ` Rainer Orth
  -- strict thread matches above, loose matches on Subject: below --
2002-08-22 11:01 Anthony Feick
2002-08-21  8:50 Anthony Feick
2002-08-21 13:12 ` Bernd Jendrissek
2002-08-20 17:35 Anthony Feick
2002-08-20 18:51 ` Rainer Orth
2002-08-20  8:35 Anthony Feick
2002-08-20  8:39 ` Rainer Orth
2002-08-21  3:16 ` Bernd Jendrissek
2002-08-20  1:17 Anthony Feick
2002-08-20  6:11 ` Robert Schiele
2002-08-20  6:29   ` Rupert Wood
2002-08-20  7:39     ` Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).