cd $(WORK)/build-libgmp && \
unset CFLAGS && unset CXXFLAGS && \
CPPFLAGS=-fexceptions \
- $(WORK)/gmp-$(LIBGMP_VERSION)/configure --prefix=$(CROSSTOOLS) --enable-cxx && \
+ $(WORK)/gmp-$(LIBGMP_VERSION_MIN)/configure --prefix=$(CROSSTOOLS) --enable-cxx && \
make && make install || exit 1
touch $(CROSSTOOLS)/lib/libgmp.so
$(WORK)/glibc-$(GLIBC_VERSION).tar.bz2:
wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-$(GLIBC_VERSION).tar.bz2
-$(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2:
- wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2
-
-$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2
+$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
- cd $(WORK)/glibc-$(GLIBC_VERSION) && \
- tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \
- mv glibc-ports-$(GLIBC_VERSION) ports && \
- sed -e 's/-lgcc_eh//g' -e 's/-lgcc_s//g' -i Makeconfig
touch $(WORK)/glibc-$(GLIBC_VERSION)
$(WORK)/build-glibc: $(WORK)/glibc-$(GLIBC_VERSION)
export PATH=$(CROSSTOOLS)/bin:$$PATH && \
echo "libc_cv_forced_unwind=yes" > config.cache && \
echo "libc_cv_c_cleanup=yes" >> config.cache && \
- echo "libc_cv_gnu89_inline=yes" >> config.cache && \
echo "libc_cv_ctors_header=yes" >> config.cache && \
echo "install_root=$(CLFS)" > configparms && \
unset CFLAGS && unset CXXFLAGS && \
WORK = $(TOPDIR)/work
KERNEL_HEADERS_VERSION = 3.5.4
-LIBGMP_VERSION = 5.1.2
+LIBGMP_VERSION = 6.0.0a
+LIBGMP_VERSION_MIN = 6.0.0
LIBMPFR_VERSION = 3.1.2
-LIBMPC_VERSION = 1.0.1
-BINUTILS_VERSION = 2.23.1
-GCC_VERSION = 4.7.3
-GLIBC_VERSION = 2.16.0
-LIBTOOL_VERSION = 2.4.2
+LIBMPC_VERSION = 1.0.2
+BINUTILS_VERSION = 2.24
+GCC_VERSION = 4.8.3
+GLIBC_VERSION = 2.19
ABI = aapcs-linux
MODE = arm
+++ /dev/null
-diff -pruN gcc-4.7.3.orig/gcc/ada/gcc-interface/Makefile.in gcc-4.7.3/gcc/ada/gcc-interface/Makefile.in
---- gcc-4.7.3.orig/gcc/ada/gcc-interface/Makefile.in 2013-08-09 16:53:45.190805185 +0200
-+++ gcc-4.7.3/gcc/ada/gcc-interface/Makefile.in 2013-08-09 17:02:38.730865077 +0200
-@@ -1866,7 +1866,7 @@ ifeq ($(strip $(filter-out powerpc% linu
- LIBRARY_VERSION := $(LIB_VERSION)
- endif
-
--ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi,$(word 4,$(targ))),,$(word 4,$(targ)))),)
-+ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi%,$(word 4,$(targ))),,$(word 4,$(targ)))),)
- LIBGNAT_TARGET_PAIRS = \
- a-intnam.ads<a-intnam-linux.ads \
- s-inmaop.adb<s-inmaop-posix.adb \
-diff -pruN gcc-4.7.3.orig/gcc/config/arm/linux-eabi.h gcc-4.7.3/gcc/config/arm/linux-eabi.h
---- gcc-4.7.3.orig/gcc/config/arm/linux-eabi.h 2012-11-26 14:44:44.335493878 +0000
-+++ gcc-4.7.3/gcc/config/arm/linux-eabi.h 2012-11-26 14:55:06.599515067 +0000
-@@ -62,7 +62,11 @@
- /* Use ld-linux.so.3 so that it will be possible to run "classic"
- GNU/Linux binaries on an EABI system. */
- #undef GLIBC_DYNAMIC_LINKER
--#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
-+#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "/lib/ld-linux.so.3"
-+#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT "/lib/ld-linux-armhf.so.3"
-+#define GLIBC_DYNAMIC_LINKER \
-+ "%{mfloat-abi=hard:" GLIBC_DYNAMIC_LINKER_HARD_FLOAT "} \
-+ %{!mfloat-abi=hard:" GLIBC_DYNAMIC_LINKER_SOFT_FLOAT "}"
-
- /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
- use the GNU/Linux version, not the generic BPABI version. */
--- /dev/null
+Binary files gcc-4.8.3.orig/gcc/ada/gcc-interface/.Makefile.in.un~ and gcc-4.8.3/gcc/ada/gcc-interface/.Makefile.in.un~ differ
+diff -pruN gcc-4.8.3.orig/gcc/ada/gcc-interface/Makefile.in gcc-4.8.3/gcc/ada/gcc-interface/Makefile.in
+--- gcc-4.8.3.orig/gcc/ada/gcc-interface/Makefile.in 2014-08-28 12:00:40.838855906 +0000
++++ gcc-4.8.3/gcc/ada/gcc-interface/Makefile.in 2014-08-28 13:38:14.428930303 +0000
+@@ -1888,7 +1888,7 @@ ifeq ($(strip $(filter-out powerpc% e500
+ LIBRARY_VERSION := $(LIB_VERSION)
+ endif
+
+-ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi,$(word 4,$(targ))),,$(word 4,$(targ)))),)
++ifeq ($(strip $(filter-out arm%-linux,$(arch)-$(osys)) $(if $(findstring eabi%,$(word 4,$(targ))),,$(word 4,$(targ)))),)
+ LIBGNAT_TARGET_PAIRS = \
+ a-intnam.ads<a-intnam-linux.ads \
+ s-inmaop.adb<s-inmaop-posix.adb \