From 71a47ce94ac592ac8e060b76d4c2636588be8ae7 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 14 Aug 2013 09:38:11 +0000 Subject: [PATCH] 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) --- Makefile | 10 +-- vars.mk | 8 +- work/gcc-4.7.2-gnueabihf.patch | 151 --------------------------------- work/gcc-4.7.3-gnueabihf.patch | 28 ++++++ work/libmpfr-3.1.1-p2.patch.gz | Bin 3597 -> 0 bytes 5 files changed, 36 insertions(+), 161 deletions(-) delete mode 100644 work/gcc-4.7.2-gnueabihf.patch create mode 100644 work/gcc-4.7.3-gnueabihf.patch delete mode 100644 work/libmpfr-3.1.1-p2.patch.gz 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.adsd_PbC18iwxZE$9CEi*1LE-@`|GA?jobYo}$-CB8f+DH=rd;KYD z$a4Zl!jiagoWwIGSXa^)l5(#+X{p?%S-4c=zhcm~{uAZMkeNgaYpGQY zw06g6b?SOWiykP`|DAHVoJ)19$**34sww!U!>d<2 zz24FEj$Ylone^n%o6+S~1c9Bhpfk}|Zzk{u`+VPxT4j)4 zJk_4W^hH!PGBb)Ex5PsVM08Ig10YibR0yPEd3N#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