1 |
Hi, |
2 |
|
3 |
I was just wondering if I should submit a bug report for |
4 |
sys-devel/gcc-4.1.2 on Gentoo's main bugzilla - |
5 |
|
6 |
it's exactly the same problem found here: |
7 |
|
8 |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422971 |
9 |
|
10 |
and I've traced it to |
11 |
|
12 |
gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch |
13 |
|
14 |
|
15 |
Incorrect: |
16 |
=================================================================== |
17 |
--- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200 |
18 |
+++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100 |
19 |
@@ -207,3 +207,6 @@ LSYM(Lepilogue): |
20 |
.ffi_call_SYSV_end: |
21 |
.size |
22 |
CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) |
23 |
|
24 |
+#if defined __ELF__ && defined __linux__ |
25 |
+ .section .note.GNU-stack,"",@progbits |
26 |
+#endif |
27 |
=================================================================== |
28 |
Correct: |
29 |
=================================================================== |
30 |
--- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200 |
31 |
+++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100 |
32 |
@@ -207,3 +207,6 @@ LSYM(Lepilogue): |
33 |
.ffi_call_SYSV_end: |
34 |
.size |
35 |
CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) |
36 |
|
37 |
+#if defined __ELF__ && defined __linux__ |
38 |
+ .section .note.GNU-stack,"",%progbits |
39 |
+#endif |
40 |
=================================================================== |
41 |
|
42 |
There are several similar patches in that file, and they all share the |
43 |
same syntax, so I would imagine that all of the lines containing |
44 |
|
45 |
+ .section .note.GNU-stack,"",@progbits |
46 |
|
47 |
are incorrect in the whole patch file, but I cannot confirm. |
48 |
|
49 |
~/Chris |
50 |
-- |
51 |
gentoo-embedded@l.g.o mailing list |