FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Embedded

 
 
LinkBack Thread Tools
 
Old 01-18-2008, 03:05 AM
Christopher Friedt
 
Default bug introduced in GCC patches

Hi,

I was just wondering if I should submit a bug report for
sys-devel/gcc-4.1.2 on Gentoo's main bugzilla -


it's exactly the same problem found here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422971

and I've traced it to

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


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
================================================== =================
Correct:
================================================== =================
--- 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
================================================== =================

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.

~/Chris
--
gentoo-embedded@lists.gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 05:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org