This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/37463] [4.4 regression] All Solaris/x86 eh tests fail
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2008 16:04:10 -0000
- Subject: [Bug other/37463] [4.4 regression] All Solaris/x86 eh tests fail
- References: <bug-37463-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from ro at techfak dot uni-bielefeld dot de 2008-10-07 16:04 -------
Subject: Re: [4.4 regression] All Solaris/x86 eh tests fail
ebotcazou at gcc dot gnu dot org writes:
> I think that we should assemble some C code with CFI directives and see whether
> the resulting .eh_frame is read-only; if so, HAVE_GAS_CFI_DIRECTIVE must be set
> to 0 instead of 1. This should discriminate between 2.18 and upcoming 2.19.
That's what I did in my patch at
http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00249.html
I could just take the current test code for gcc_cv_as_cfi_directive as is
and inspect the object file with objdump on Solaris. Using C code directly
with gcc -fexceptions -fdwarf2-cfi-asm didn't work since it relies upon the
bootstrap compiler being gcc and sufficiently recent to support
-fdwarf2-cfi-asm, leading to comparions failures upon a mismatch.
> That the non-C compilers still emit .eh_frame directly is unexpected I'd think.
I think I'll raise a separate PR for that and add rth to the Cc:.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37463