Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: gentoo-embedded@l.g.o
Cc: Christopher Friedt <cfriedt@××××××××××××××.com>
Subject: Re: [gentoo-embedded] bug introduced in GCC patches
Date: Fri, 18 Jan 2008 11:36:11
Message-Id: 200801180633.49148.vapier@gentoo.org
In Reply to: [gentoo-embedded] bug introduced in GCC patches by Christopher Friedt
1 On Thursday 17 January 2008, Christopher Friedt wrote:
2 > I was just wondering if I should submit a bug report for
3 > sys-devel/gcc-4.1.2 on Gentoo's main bugzilla -
4
5 yes
6
7 > gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch
8
9 i just stole it from Fedora
10
11 > Incorrect:
12 > --- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200
13 > +++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100
14 > @@ -207,3 +207,6 @@ LSYM(Lepilogue):
15 > .ffi_call_SYSV_end:
16 > .size
17 > CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
18 >
19 > +#if defined __ELF__ && defined __linux__
20 > + .section .note.GNU-stack,"",@progbits
21 > +#endif
22
23 blah, this gets screwed up often and only building for arm shows it. the
24 stupid arm assembler (unlike everyone else on the planet) uses @ as a comment
25 separator, so it needs to be changed to % for arm.
26
27 > There are several similar patches in that file, and they all share the
28 > same syntax, so I would imagine that all of the lines containing
29 >
30 > + .section .note.GNU-stack,"",@progbits
31 >
32 > are incorrect in the whole patch file, but I cannot confirm.
33
34 it's only an issue on arm. this is why i try to use % in all my .S files
35 rather than @ as all assemblers treat % the same.
36 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature