This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with running C++-programs under glibc-2.1.[1-2] and gcc-2.95



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]