solaris27 + libstdc++-v3 + -static == core in ctype_char_members.c

Ian Lance Taylor ian@zembu.com
Wed Mar 1 15:02:00 GMT 2000


   Date: Wed, 1 Mar 2000 14:55:48 -0800 (PST)
   From: Benjamin Kosnik <bkoz@cygnus.com>

   (I've posted this on the libstdc++ mailing list, but this is probably
   better suited for this list.)

Well, as presented, it's probably better suited for the gcc mailing
list.

When reporting bugs against the binutils, look at the assembler code,
not the C++ code.  Without further information, the most likely
conclusion from your example is that the compiler behaves differently
on Solaris and GNU/Linux.

If the compiler on Solaris is putting initialized variables in the
.data section, and they are being mysteriously moved into the .bss
section, then there is an assembler bug or a linker bug.  Check that
first.  Try to build a complete test case using only assembler input
files.

Ian


More information about the Binutils mailing list