Raymond Danks ([email protected]) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/112

-gerrit

commit 700e02511cfadfce4532b54d3d7bb9e1df991dbe
Author: Raymond Danks <[email protected]>
Date:   Mon Jul 18 14:24:30 2011 -0600

    mkelfImage: Apply -fno-stack-protector to work around symbol not found
    
    Gcc 4.1 comes with an SSP https://wiki.ubuntu.com/GccSsp
    This is disabled to work around '__stack_chk_fail' symbol not found failures
    http://www.coreboot.org/FAQ/Obsolete#How_do_I_fix_stack_chk_fail_errors.3F
    
    Change-Id: I28ef158829f5935f985cfd5a5440733685cf479a
    Signed-off-by: Raymond Danks <[email protected]>
---
 util/mkelfImage/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util/mkelfImage/Makefile b/util/mkelfImage/Makefile
index cd265cf..016a830 100644
--- a/util/mkelfImage/Makefile
+++ b/util/mkelfImage/Makefile
@@ -14,7 +14,7 @@ pkgdatadir = $(datadir)/$(PACKAGE)
 pkglibdir = $(libdir)/$(PACKAGE)
 pkgincludedir = $(includedir)/$(PACKAGE)
 
-CPPFLAGS=-DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(RELEASE_DATE)"' -I include
+CPPFLAGS=-fno-stack-protector -DVERSION='"$(VERSION)"' 
-DRELEASE_DATE='"$(RELEASE_DATE)"' -I include $(CFLAGS) $(LDFLAGS)
 HOST_CPPFLAGS=$(CPPFLAGS)
 I386_CPPFLAGS=$(CPPFLAGS) -I arch/i386/include
 IA64_CPPFLAGS=$(CPPFLAGS) -I arch/ia64/include

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to