[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-06 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2009-01-06 13:35 --- So, referenceCount needs to be in any case nuked from struct __cxa_exception. IMHO, either we define (probably in a different namespace) struct __cxa_exception_with_refcount { _Atomic_word referenceCount; struct _

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-06 Thread stephan dot bergmann at sun dot com
--- Comment #12 from stephan dot bergmann at sun dot com 2009-01-06 09:12 --- I was a bit sloppy in what I wrote before (i.e., in what Matthias turned into the description of this bug); it is the change of offsets of __cxa_exception members caused by the addition of referenceCount that

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2009-01-05 23:08 --- (In reply to comment #7) > (In reply to comment #5) > > There is padding between adjustedPtr and unwindHeader because the latter is > > forced to be maximally aligned. Due to the additional member the padding > >

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-01-05 22:59 --- (In reply to comment #8) > There are I filed the x86 issue with -mavx as PR 38736. This is a regression and really needs to be fixed for before the release of 4.4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-01-05 22:55 --- (In reply to comment #8) > There are > > i386/i386.h:#define BIGGEST_ALIGNMENT (TARGET_AVX ? 256: 128) > m68k/m68k.h:#define BIGGEST_ALIGNMENT (TARGET_ALIGN_INT ? 32 : 16) > mcore/mcore.h:#define BIGGEST_ALIGNMENT

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread hjl dot tools at gmail dot com
--- Comment #8 from hjl dot tools at gmail dot com 2009-01-05 22:53 --- There are i386/i386.h:#define BIGGEST_ALIGNMENT (TARGET_AVX ? 256: 128) m68k/m68k.h:#define BIGGEST_ALIGNMENT (TARGET_ALIGN_INT ? 32 : 16) mcore/mcore.h:#define BIGGEST_ALIGNMENT (TARGET_8ALIGN ? 64 : 32) sh/sh.h:#

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2009-01-05 22:51 --- (In reply to comment #5) > There is padding between adjustedPtr and unwindHeader because the latter is > forced to be maximally aligned. Due to the additional member the padding was > reduced. Also, the alignment o

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-01-05 22:19 --- >Also, the alignment of _Unwind_Exception depends on -mavx. That is a target issue and should be filed as separately. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38732

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread schwab at suse dot de
--- Comment #5 from schwab at suse dot de 2009-01-05 22:16 --- There is padding between adjustedPtr and unwindHeader because the latter is forced to be maximally aligned. Due to the additional member the padding was reduced. Also, the alignment of _Unwind_Exception depends on -mavx.

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread schwab at suse dot de
--- Comment #4 from schwab at suse dot de 2009-01-05 21:31 --- >From the ABI document (2.2.1 C++ Exception Objects): By convention, a __cxa_exception pointer points at the C++ object representing the exception being thrown, immediately following the header. The header structure is access

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-01-05 20:20 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-05 20:19 --- *** Bug 38631 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug other/38732] [4.4 Regression] Openoffice.org segfaults with runtime libs built from GCC trunk

2009-01-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |