This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46685] [4.6 Regression] New stack alignment failures
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Nov 2010 11:58:59 +0000
- Subject: [Bug middle-end/46685] [4.6 Regression] New stack alignment failures
- Auto-submitted: auto-generated
- References: <bug-46685-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2010-11-29 11:58:56 UTC ---
> What is the assembly difference on SPARC Linux? The only difference I see with
> a cross compiler to sparc64-linux, both for -O1 -m32 -mptr32 and -O1 -m64 is
> .section .text.startup,"ax",@progbits
> line added before main, which I don't see how it should break things up.
The errors are also visible on SPARC/Solaris. You need -fpic.
FAIL: gcc.dg/torture/stackalign/non-local-goto-1.c -Os (test for excess
error\
s)
Excess errors:
/var/tmp//ccC9NwIg.s:27: Error: invalid sections for operation on `.LL3' and
`L\
0^A'
/var/tmp//ccC9NwIg.s:29: Error: invalid sections for operation on `.LL3' and
`L\
0^A'
WARNING: gcc.dg/torture/stackalign/non-local-goto-1.c -Os compilation failed
\
to produce executable