From: Jose V Beneyto Date: Wed, 14 Aug 2013 09:38:11 +0000 (+0000) Subject: Toolchain update for 3.0 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=71a47ce94ac592ac8e060b76d4c2636588be8ae7;p=toolchain.git Toolchain update for 3.0 - Kernel headers 3.5.4 - Binutils 2.23.1 - GCC 4.7.3 - Glibc 2.16.0 - Added option --enable-obsolete-rpc (FS#43) --- diff --git a/Makefile b/Makefile index 177b39c..d1f7a6b 100644 --- a/Makefile +++ b/Makefile @@ -71,10 +71,8 @@ libgmp-distclean: libgmp-clean $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2: wget -P $(WORK) -c http://ftp.gnu.org/gnu/mpfr/mpfr-$(LIBMPFR_VERSION).tar.bz2 -$(WORK)/mpfr-$(LIBMPFR_VERSION): $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 $(WORK)/libmpfr-3.1.1-p2.patch.gz +$(WORK)/mpfr-$(LIBMPFR_VERSION): $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 tar -C $(WORK) -xvjf $(WORK)/mpfr-$(LIBMPFR_VERSION).tar.bz2 - cd $(WORK)/mpfr-$(LIBMPFR_VERSION) && \ - gunzip -c $(WORK)/libmpfr-$(LIBMPFR_VERSION)-p2.patch.gz | patch -p1 touch $(WORK)/mpfr-$(LIBMPFR_VERSION) $(WORK)/build-libmpfr: $(WORK)/mpfr-$(LIBMPFR_VERSION) @@ -133,7 +131,7 @@ $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2: wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VERSION).tar.bz2 $(WORK)/binutils-$(BINUTILS_VERSION): $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 - tar -C $(WORK) -xvjf $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 + tar -C $(WORK) -xvf $(WORK)/binutils-$(BINUTILS_VERSION).tar.bz2 sed -i '/^SUBDIRS/s/doc//' $(WORK)/binutils-$(BINUTILS_VERSION)/*/Makefile.in touch $(WORK)/binutils-$(BINUTILS_VERSION) @@ -165,7 +163,7 @@ binutils-distclean: binutils-clean $(WORK)/gcc-$(GCC_VERSION).tar.bz2: wget -P $(WORK) -c ftp://sources.redhat.com/pub/gcc/releases/gcc-$(GCC_VERSION)/gcc-$(GCC_VERSION).tar.bz2 -$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2 +$(WORK)/gcc-$(GCC_VERSION): $(WORK)/gcc-$(GCC_VERSION).tar.bz2 $(WORK)/gcc-$(GCC_VERSION)-gnueabihf.patch tar -C $(WORK) -xvjf $(WORK)/gcc-$(GCC_VERSION).tar.bz2 cd $(WORK)/gcc-$(GCC_VERSION) && \ patch -p1 -i $(WORK)/gcc-$(GCC_VERSION)-gnueabihf.patch @@ -232,7 +230,7 @@ $(CLFS)/usr/lib/libc.so: $(WORK)/build-glibc $(WORK)/glibc-$(GLIBC_VERSION) $(WORK)/glibc-$(GLIBC_VERSION)/configure --prefix=/usr \ --libexecdir=/usr/lib/glibc --host=$(TARGET) --build=$(HOST) \ --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.0 \ - --with-__thread --with-binutils=$(CROSSTOOLS)/bin --with-fp=yes \ + --with-__thread --with-binutils=$(CROSSTOOLS)/bin --with-fp=yes --enable-obsolete-rpc \ --with-headers=$(CLFS)/usr/include --cache-file=config.cache && \ make && make install || exit 1 touch $(CLFS)/usr/lib/libc.so diff --git a/vars.mk b/vars.mk index 6033092..939d8c8 100644 --- a/vars.mk +++ b/vars.mk @@ -11,11 +11,11 @@ CROSSTOOLS = $(TOPDIR)/crosstools WORK = $(TOPDIR)/work KERNEL_HEADERS_VERSION = 3.5.4 -LIBGMP_VERSION = 5.0.5 -LIBMPFR_VERSION = 3.1.1 +LIBGMP_VERSION = 5.1.2 +LIBMPFR_VERSION = 3.1.2 LIBMPC_VERSION = 1.0.1 -BINUTILS_VERSION = 2.22 -GCC_VERSION = 4.7.2 +BINUTILS_VERSION = 2.23.1 +GCC_VERSION = 4.7.3 GLIBC_VERSION = 2.16.0 ABI = aapcs-linux diff --git a/work/gcc-4.7.2-gnueabihf.patch b/work/gcc-4.7.2-gnueabihf.patch deleted file mode 100644 index fd74b0e..0000000 --- a/work/gcc-4.7.2-gnueabihf.patch +++ /dev/null @@ -1,151 +0,0 @@ -diff -pruN gcc-4.7.2.orig/gcc/ada/gcc-interface/Makefile.in gcc-4.7.2/gcc/ada/gcc-interface/Makefile.in ---- gcc-4.7.2.orig/gcc/ada/gcc-interface/Makefile.in 2012-08-06 14:34:27.000000000 +0000 -+++ gcc-4.7.2/gcc/ada/gcc-interface/Makefile.in 2012-11-06 14:25:52.708613671 +0000 -@@ -1867,7 +1867,7 @@ ifeq ($(strip $(filter-out powerpc% linu - LIBRARY_VERSION := $(LIB_VERSION) - endif - --ifeq ($(strip $(filter-out arm% linux-gnueabi,$(arch) $(osys)-$(word 4,$(targ)))),) -+ifeq ($(strip $(filter-out arm% linux-gnueabi%,$(arch) $(osys)-$(word 4,$(targ)))),) - LIBGNAT_TARGET_PAIRS = \ - a-intnam.ads