Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] bug introduced in GCC patches
Date: Fri, 18 Jan 2008 04:39:25
Message-Id: 1200631162.5198.16.camel@localhost
In Reply to: [gentoo-embedded] bug introduced in GCC patches by Christopher Friedt
1 This absolutely should be reported to toolchain@gentoo via
2 https://bugs.gentoo.org
3
4
5 On Fri, 2008-01-18 at 05:05 +0100, Christopher Friedt wrote:
6 > Hi,
7 >
8 > I was just wondering if I should submit a bug report for
9 > sys-devel/gcc-4.1.2 on Gentoo's main bugzilla -
10 >
11 > it's exactly the same problem found here:
12 >
13 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422971
14 >
15 > and I've traced it to
16 >
17 > gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch
18 >
19 >
20 > Incorrect:
21 > ===================================================================
22 > --- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200
23 > +++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100
24 > @@ -207,3 +207,6 @@ LSYM(Lepilogue):
25 > .ffi_call_SYSV_end:
26 > .size
27 > CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
28 >
29 > +#if defined __ELF__ && defined __linux__
30 > + .section .note.GNU-stack,"",@progbits
31 > +#endif
32 > ===================================================================
33 > Correct:
34 > ===================================================================
35 > --- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200
36 > +++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100
37 > @@ -207,3 +207,6 @@ LSYM(Lepilogue):
38 > .ffi_call_SYSV_end:
39 > .size
40 > CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
41 >
42 > +#if defined __ELF__ && defined __linux__
43 > + .section .note.GNU-stack,"",%progbits
44 > +#endif
45 > ===================================================================
46 >
47 > There are several similar patches in that file, and they all share the
48 > same syntax, so I would imagine that all of the lines containing
49 >
50 > + .section .note.GNU-stack,"",@progbits
51 >
52 > are incorrect in the whole patch file, but I cannot confirm.
53 >
54 > ~/Chris
55
56 --
57 gentoo-embedded@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] bug introduced in GCC patches Christopher Friedt <cfriedt@××××××××××××××.com>