buildgcc: Update reference toolchain

* GCC 4.8.1
 * binutils 2.23.2
 * GDB 7.6
 * ACPICA 20130626
 * Python 3.3.2

... this adds support for Aarch64. For Ron.

Change-Id: Idec91bcd615bc35c83373bd23d4681f1c8eb015c
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/3758
Tested-by: build bot (Jenkins)
Reviewed-by: David Hubbard <david.c.hubbard+coreboot@gmail.com>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Stefan Reinauer
2013-07-10 14:27:56 -07:00
committed by Ronald G. Minnich
parent b5e777c433
commit 0d2119da46
10 changed files with 46 additions and 149 deletions

View File

@@ -1,11 +0,0 @@
diff -ur acpica-unix-20121114/generate/unix/Makefile.config acpica-unix-20121114.patched/generate/unix/Makefile.config
--- acpica-unix-20121114/generate/unix/Makefile.config 2012-11-14 17:22:38.000000000 +0100
+++ acpica-unix-20121114.patched/generate/unix/Makefile.config 2012-11-15 21:19:36.683902859 +0100
@@ -104,6 +104,7 @@
# automatically included in -Wall.
#
CFLAGS += \
+ -O \
$(BITSFLAG) \
-D$(HOST) \
-D_GNU_SOURCE \

View File

@@ -1,20 +0,0 @@
diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
--- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-11-14 08:22:38.000000000 -0800
+++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 15:53:35.000000000 -0800
@@ -135,15 +135,11 @@
-Waggregate-return \
-Wchar-subscripts \
-Wempty-body \
- -Wlogical-op \
-Wmissing-declarations \
-Wmissing-field-initializers \
- -Wmissing-parameter-type \
-Wnested-externs \
- -Wold-style-declaration \
-Wold-style-definition \
- -Wredundant-decls \
- -Wtype-limits
+ -Wredundant-decls
#
# Extra warning flags (possible future use)

View File

@@ -1,12 +0,0 @@
diff -ur acpica-unix-20121114.orig/generate/unix/Makefile.config acpica-unix-20121114/generate/unix/Makefile.config
--- acpica-unix-20121114.orig/generate/unix/Makefile.config 2012-12-05 16:11:48.000000000 -0800
+++ acpica-unix-20121114/generate/unix/Makefile.config 2012-12-05 16:12:31.000000000 -0800
@@ -57,7 +57,7 @@
#
COPYPROG = \
@mkdir -p ../$(BINDIR); \
- cp --remove-destination $(PROG) ../$(BINDIR); \
+ cp $(PROG) ../$(BINDIR); \
echo "Copied $(PROG) to $(FINAL_PROG)";
#

View File

@@ -1,69 +0,0 @@
diff -Nurbs acpica-unix-20121114.orig/generate/unix/Makefile.common acpica-unix-20121114/generate/unix/Makefile.common
--- acpica-unix-20121114.orig/generate/unix/Makefile.common 2012-11-15 00:22:38.000000000 +0800
+++ acpica-unix-20121114/generate/unix/Makefile.common 2013-02-09 12:11:55.994133871 +0800
@@ -19,17 +19,17 @@
if [ $(BITS) -eq 32 ]; then \
echo "Forced 32-bit generation of $@"; \
mkdir -p obj32; \
- make BITS=32; \
+ $(MAKE) BITS=32; \
echo "32-bit version of $@:"; \
ls -al ../bin32/$@; \
elif [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
mkdir -p obj64; \
- make BITS=64; \
+ $(MAKE) BITS=64; \
echo "64-bit version of $@:"; \
ls -al ../bin64/$@; \
else \
mkdir -p obj32; \
- make BITS=32; \
+ $(MAKE) BITS=32; \
echo "32-bit version of $@:"; \
ls -al ../bin32/$@; \
fi;
@@ -47,7 +47,7 @@
(cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
pwd; \
mkdir -p obj32; \
- make BITS=32; \
+ $(MAKE) BITS=32; \
echo "32-bit version of $$toolname:"; \
ls -al obj32/$$toolname \
); \
@@ -61,7 +61,7 @@
(cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
pwd; \
mkdir -p obj64; \
- make BITS=64; \
+ $(MAKE) BITS=64; \
echo "64-bit version of $$toolname:"; \
ls -al obj64/$$toolname \
); \
@@ -73,11 +73,11 @@
echo "Removing $$toolname"; \
pwd; \
if [ -d "obj32" ] ; then \
- make BITS=32 clean; \
+ $(MAKE) BITS=32 clean; \
rmdir obj32; \
fi; \
if [ -d "obj64" ] ; then \
- make BITS=64 clean; \
+ $(MAKE) BITS=64 clean; \
rmdir obj64; \
fi; \
echo ""; \
@@ -92,10 +92,10 @@
(cd $(BUILD_DIRECTORY_PATH)/$$toolname; \
pwd; \
if [ $(findstring 64,$(HARDWARE_NAME)) ]; then \
- make BITS=64 PROG=$$toolname install; \
+ $(MAKE) BITS=64 PROG=$$toolname install; \
echo "Installed 64-bit version of $$toolname"; \
else \
- make BITS=32 PROG=$$toolname install; \
+ $(MAKE) BITS=32 PROG=$$toolname install; \
echo "Installed 32-bit version of $$toolname"; \
fi; \
echo ""; \

View File

@@ -1,6 +1,6 @@
diff -u binutils-2.23/config.sub binutils-2.23/config.sub
--- binutils-2.23/config.sub 2012-04-25 08:53:25.000000000 -0700
+++ binutils-2.23/config.sub 2012-12-04 14:58:16.050136773 -0800
diff -u binutils-2.23.2/config.sub binutils-2.23.2/config.sub
--- binutils-2.23.2/config.sub 2012-04-25 08:53:25.000000000 -0700
+++ binutils-2.23.2/config.sub 2012-12-04 14:58:16.050136773 -0800
@@ -259,7 +259,7 @@
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \

View File

@@ -1,6 +1,6 @@
diff -ur binutils-2.23/bfd/Makefile.in binutils-2.23.patched/bfd/Makefile.in
--- binutils-2.23/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
+++ binutils-2.23.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in
--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
+++ binutils-2.23.2.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
@@ -323,7 +323,7 @@
RELEASE = y
INCDIR = $(srcdir)/../include

View File

@@ -1,12 +0,0 @@
diff -ur gcc-4.7.3/config.sub gcc-4.7.3-patched/config.sub
--- gcc-4.7.3/config.sub 2012-08-06 16:34:27.000000000 +0200
+++ gcc-4.7.3-patched/config.sub 2013-04-19 00:25:16.401391381 +0200
@@ -250,7 +250,7 @@
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \
| be32 | be64 \
| bfin \
| c4x | clipper \

View File

@@ -0,0 +1,14 @@
diff -ur gdb-7.6.orig/missing gdb-7.6/missing
--- gdb-7.6.orig/missing 2009-08-22 04:48:33.000000000 -0700
+++ gdb-7.6/missing 2013-07-10 13:10:32.940902728 -0700
@@ -314,8 +314,8 @@
fi
# If the file does not exist, the user really needs makeinfo;
# let's fail without touching anything.
- test -f $file || exit 1
- touch $file
+ #test -f $file || exit 1
+ #touch $file
;;
tar*)

View File

@@ -1,6 +1,6 @@
diff -ur gdb-7.5/gdb/python/python.c gdb-7.5.patched/gdb/python/python.c
--- gdb-7.5/gdb/python/python.c 2012-06-25 18:53:20.000000000 +0200
+++ gdb-7.5.patched/gdb/python/python.c 2012-10-24 15:28:37.422047559 +0200
diff -ur gdb-7.6/gdb/python/python.c gdb-7.6.patched/gdb/python/python.c
--- gdb-7.6/gdb/python/python.c 2012-06-25 18:53:20.000000000 +0200
+++ gdb-7.6.patched/gdb/python/python.c 2012-10-24 15:28:37.422047.69 +0200
@@ -1227,6 +1227,15 @@
SLASH_STRING, "python", NULL));
#endif