On Thursday 17 January 2008, Christopher Friedt wrote:
> I was just wondering if I should submit a bug report for
> sys-devel/gcc-4.1.2 on Gentoo's main bugzilla -

yes

> gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch

i just stole it from Fedora

> Incorrect:
> --- libffi/src/arm/sysv.S.jj  2004-10-28 15:10:11.000000000 +0200
> +++ libffi/src/arm/sysv.S     2005-02-08 16:14:02.282767581 +0100
> @@ -207,3 +207,6 @@ LSYM(Lepilogue):
>   .ffi_call_SYSV_end:
>           .size
> CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
>
> +#if defined __ELF__ && defined __linux__
> +     .section        .note.GNU-stack,"",@progbits
> +#endif

blah, this gets screwed up often and only building for arm shows it.  the 
stupid arm assembler (unlike everyone else on the planet) uses @ as a comment 
separator, so it needs to be changed to % for arm.

> There are several similar patches in that file, and they all share the
> same syntax, so I would imagine that all of the lines containing
>
> +     .section        .note.GNU-stack,"",@progbits
>
> are incorrect in the whole patch file, but I cannot confirm.

it's only an issue on arm.  this is why i try to use % in all my .S files 
rather than @ as all assemblers treat % the same.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to