This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: solaris27 + libstdc++-v3 + -static == core in ctype_char_members.c
- To: bkoz at cygnus dot com
- Subject: Re: solaris27 + libstdc++-v3 + -static == core in ctype_char_members.c
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 1 Mar 2000 18:02:39 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.10003011454260.27123-100000@fidel.cygnus.com>
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