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