This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with running C++-programs under glibc-2.1.[1-2] and gcc-2.95
- To: Bernd Nottelmann <nottelm at PTP283 dot UNI-MUENSTER dot DE>
- Subject: Re: Problems with running C++-programs under glibc-2.1.[1-2] and gcc-2.95
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 23 Jul 1999 02:05:21 -0600
- cc: egcs-bugs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <37976332.D47FF64C@pt2037.uni-muenster.de>you write:
> Bernd Nottelmann wrote:
> [...]
> I have found the reason for the seg faults: I have not read
> carefully enough the FAQ :-(
> My fault was that I compiled glibc with -malign-double
> and maybe this changed some internal structures
> of glibc so that compatibility to other libraries was not given
> anymore.
This is precisely what happens when one compiles with -malign-double
and precisely why I recommend against anyone using -malign-double.
Note that gcc-2.95 will attempt to keep the stack aligned to a 128bit
boundary, then allocate stack items on natural alignment boundaries which
makes -malign-double almost useless.
jeff