Skip to contentSkip to conversation

toolchain: update the crosstool-NG backend, v2

PATCH New Yann E. MORIN 2 participants 5 messages Aug 7, 2011

lore
Share & tools
lore
#0 lore raw

cover toolchain: update the crosstool-NG backend, v2

Hello All!

This patchset updates the crosstool-NG backend to the newly released 1.12.0. Existing patches were applied upstream, and are no longer needed. A new patch is added because it works around a limitation specific to buildroot; it will not go upstream as-is, a better fix will have to be found.

Changes since v1:
- simply get rid of the recursion test, it can't happen (Peter)

[PATCH 1/2] toochain/crosstool-NG: bump version [PATCH 2/2] toolchain/crosstool-NG: update bundled config files

 .../crosstool-ng-000-makefile-recursion.patch      |   39 ++++
 package/crosstool-ng/crosstool-ng-001-no-cvs.patch |   15 --
 ...-break-on-existing-symlinks-and-build.log.patch |   76 -------
 .../crosstool-ng-003-autostuf-compat.patch         |   10 -
 package/crosstool-ng/crosstool-ng.mk               |    2 +-
 .../crosstool-ng.config-eglibc                     |  227 ++++++-------------
 .../crosstool-ng.config-glibc                      |  234 ++++++--------------
 .../crosstool-ng.config-uClibc                     |  192 ++++------------
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk   |    2 +-
 9 files changed, 221 insertions(+), 576 deletions(-)

Regards,
Yann E. MORIN.

#1 lore raw

PATCH 1/2 toochain/crosstool-NG: bump version

---
 .../crosstool-ng-000-makefile-recursion.patch      |   39 ++++++++++
 package/crosstool-ng/crosstool-ng-001-no-cvs.patch |   15 ----
 ...-break-on-existing-symlinks-and-build.log.patch |   76 --------------------
 .../crosstool-ng-003-autostuf-compat.patch         |   10 ---
 package/crosstool-ng/crosstool-ng.mk               |    2 +-
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk   |    2 +-
 6 files changed, 41 insertions(+), 103 deletions(-)
package/crosstool-ng/crosstool-ng-000-makefile-recursion.patch new file +39 -0
new file mode 100644
index 0000000..3fb05ad
@@ -0,0 +1,39 @@
+Makefile: allow recursion
+
+When crosstool-NG is used standalone, we completely avoid recursion,
+because the Makefile calls itself only once.
+
+But when used as the buildroot toolchain backend, there is already
+one level of make recursion when we first call the crosstool-NG
+Makefile. And when buildroot is used out-of-tree, we are already
+at the second level of recursion when calling the crosstool-NG
+Makefile.
+
+So, to cope with the situation, only bail out at the 2nd level of
+recursion, not the 0-th level.
+
+This probably won't go upstream.
+
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+diff -du crosstool-ng-1.12.0/Makefile.in host-crosstool-ng-1.12.0/Makefile.in
+--- crosstool-ng-1.12.0/Makefile.in     2011-08-01 01:21:34.000000000 +0200
++++ host-crosstool-ng-1.12.0/Makefile.in        2011-08-07 21:39:16.055958219 +0200
+@@ -95,9 +95,14 @@
+ # level.
+ # This has the side effect of only showing the real targets, and hiding our
+ # internal ones. :-)
+-ifneq ($(MAKELEVEL),0)
+-$(error Recursion detected, bailing out...)
+-endif
++#
++# NB: For buildroot, this has no importance:
++# - crosstool-NG should never ever be called manually
++# - thus auto-completion would never ever be attempted
++# - so we shouldn't have to detect it
++#ifneq ($(MAKELEVEL),0)
++#$(error Recursion detected, bailing out...)
++#endif
+ 
+ MAKEFLAGS += $(CT_MAKEFLAGS)
+ build install clean distclean uninstall:
package/crosstool-ng/crosstool-ng-001-no-cvs.patch deleted +0 -15
deleted file mode 100644
index c82d359..0000000
@@ -1,15 +0,0 @@
-Remove dependency on cvs.
-
-cvs is used to retrieve newlib, which is not supported
-under Buildroot, so cvs is not required.
-
---- crosstool-ng-1.8.0/configure.orig	2010-11-27 15:43:52.000000000 +0000
-+++ crosstool-ng-1.8.0/configure	2010-11-27 15:44:10.000000000 +0000
-@@ -359,7 +359,6 @@
-              err="'libtool' 1.5.26 or above was not found"
- has_or_abort prog=stat
- has_or_abort prog="curl wget"
--has_or_abort prog=cvs
- has_or_abort prog=patch
- has_or_abort prog=tar
- has_or_abort prog=gzip
package/crosstool-ng/crosstool-ng-002-dont-break-on-existing-symlinks-and-build.log.patch deleted +0 -76

76 lines not on this page · raw message

package/crosstool-ng/crosstool-ng-003-autostuf-compat.patch deleted +0 -10
deleted file mode 100644
index d79e62b..0000000
@@ -1,10 +0,0 @@
---- crosstool-ng-1.11.3/configure	2011-05-21 01:10:10.000000000 +0200
-+++ host-crosstool-ng-1.11.3/configure	2011-07-14 17:35:25.830403914 +0200
-@@ -260,6 +260,7 @@
-         # Skip, auto-stuff compatibility
-         --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;;
-         --build|--host|--infodir|--datadir|--sysconfdir|--localstatedir)             shift 2;;
-+        --enable-shared|--disable-shared|--enable-static|--disable-static)           shift;;
-         *)          printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;
-     esac
- done
package/crosstool-ng/crosstool-ng.mk +1 -1
index b40cf35..2bbf631 100644
@@ -1,4 +1,4 @@
-CROSSTOOL_NG_VERSION           = 1.11.3
+CROSSTOOL_NG_VERSION           = 1.12.0
 CROSSTOOL_NG_SOURCE            = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
 CROSSTOOL_NG_SITE              = http://crosstool-ng.org/download/crosstool-ng/
 CROSSTOOL_NG_INSTALL_STAGING   = NO
toolchain/toolchain-crosstool-ng/crosstool-ng.mk +1 -1
index 912bb06..3a205dd 100644
@@ -203,7 +203,7 @@ CTNG_FIX_DOT_CONFIG_SED += s:^(|\# )(CT_ARCH_(32|64)).*:\# \2 is not set:;
 CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_BIT)) is not set:\1=y:;
 CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TARGET_VENDOR)=.*:\1="unknown":;
 CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TARGET_ALIAS)=.*:\1="$(GNU_TARGET_NAME)":;
-CTNG_FIX_DOT_CONFIG_SED += s:^(CT_CC_PKGVERSION)="(.*)":\1="crosstool-NG $(CTNG_VERSION) - buildroot $(BR2_VERSION_FULL)":;
+CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TOOLCHAIN_PKGVERSION)="(.*)":\1="buildroot $(BR2_VERSION_FULL)":;
 ifneq ($(call qstrip,$(BR2_USE_MMU)),)
 CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_ARCH_USE_MMU) is not set:\1=y:;
 else
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/1 toochain/crosstool-NG: bump version

---
 .../crosstool-ng-000-makefile-recursion.patch      |   38 ++++++++++
 package/crosstool-ng/crosstool-ng-001-no-cvs.patch |   15 ----
 ...-break-on-existing-symlinks-and-build.log.patch |   76 --------------------
 .../crosstool-ng-003-autostuf-compat.patch         |   10 ---
 package/crosstool-ng/crosstool-ng.mk               |    2 +-
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk   |    2 +-
 6 files changed, 40 insertions(+), 103 deletions(-)
package/crosstool-ng/crosstool-ng-000-makefile-recursion.patch new file +38 -0
new file mode 100644
index 0000000..4f66744
@@ -0,0 +1,38 @@
+Makefile: allow recursion
+
+When crosstool-NG is used standalone, we completely avoid recursion,
+because the Makefile calls itself only once.
+
+But when used as the buildroot toolchain backend, there is already
+one level of make recursion when we first call the crosstool-NG
+Makefile. And when buildroot is used out-of-tree, we are already
+at the second level of recursion when calling the crosstool-NG
+Makefile.
+
+So, to cope with the situation, just get rid of the recursion test.
+
+This probably won't go upstream.
+
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+diff -du crosstool-ng-1.12.0/Makefile.in host-crosstool-ng-1.12.0/Makefile.in
+--- crosstool-ng-1.12.0/Makefile.in     2011-08-01 01:21:34.000000000 +0200
++++ host-crosstool-ng-1.12.0/Makefile.in        2011-08-07 21:39:16.055958219 +0200
+@@ -95,9 +95,14 @@
+ # level.
+ # This has the side effect of only showing the real targets, and hiding our
+ # internal ones. :-)
+-ifneq ($(MAKELEVEL),0)
+-$(error Recursion detected, bailing out...)
+-endif
++#
++# NB: For buildroot, this has no importance:
++# - crosstool-NG should never ever be called manually
++# - thus auto-completion would never ever be attempted
++# - so we shouldn't have to detect it
++#ifneq ($(MAKELEVEL),0)
++#$(error Recursion detected, bailing out...)
++#endif
+ 
+ MAKEFLAGS += $(CT_MAKEFLAGS)
+ build install clean distclean uninstall:
package/crosstool-ng/crosstool-ng-001-no-cvs.patch deleted +0 -15
deleted file mode 100644
index c82d359..0000000
@@ -1,15 +0,0 @@
-Remove dependency on cvs.
-
-cvs is used to retrieve newlib, which is not supported
-under Buildroot, so cvs is not required.
-
---- crosstool-ng-1.8.0/configure.orig	2010-11-27 15:43:52.000000000 +0000
-+++ crosstool-ng-1.8.0/configure	2010-11-27 15:44:10.000000000 +0000
-@@ -359,7 +359,6 @@
-              err="'libtool' 1.5.26 or above was not found"
- has_or_abort prog=stat
- has_or_abort prog="curl wget"
--has_or_abort prog=cvs
- has_or_abort prog=patch
- has_or_abort prog=tar
- has_or_abort prog=gzip
package/crosstool-ng/crosstool-ng-002-dont-break-on-existing-symlinks-and-build.log.patch deleted +0 -76

76 lines not on this page · raw message

package/crosstool-ng/crosstool-ng-003-autostuf-compat.patch deleted +0 -10
deleted file mode 100644
index d79e62b..0000000
@@ -1,10 +0,0 @@
---- crosstool-ng-1.11.3/configure	2011-05-21 01:10:10.000000000 +0200
-+++ host-crosstool-ng-1.11.3/configure	2011-07-14 17:35:25.830403914 +0200
-@@ -260,6 +260,7 @@
-         # Skip, auto-stuff compatibility
-         --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;;
-         --build|--host|--infodir|--datadir|--sysconfdir|--localstatedir)             shift 2;;
-+        --enable-shared|--disable-shared|--enable-static|--disable-static)           shift;;
-         *)          printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;
-     esac
- done
package/crosstool-ng/crosstool-ng.mk +1 -1
index b40cf35..2bbf631 100644
@@ -1,4 +1,4 @@
-CROSSTOOL_NG_VERSION           = 1.11.3
+CROSSTOOL_NG_VERSION           = 1.12.0
 CROSSTOOL_NG_SOURCE            = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
 CROSSTOOL_NG_SITE              = http://crosstool-ng.org/download/crosstool-ng/
 CROSSTOOL_NG_INSTALL_STAGING   = NO
toolchain/toolchain-crosstool-ng/crosstool-ng.mk +1 -1
index 912bb06..3a205dd 100644
@@ -203,7 +203,7 @@ CTNG_FIX_DOT_CONFIG_SED += s:^(|\# )(CT_ARCH_(32|64)).*:\# \2 is not set:;
 CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_BIT)) is not set:\1=y:;
 CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TARGET_VENDOR)=.*:\1="unknown":;
 CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TARGET_ALIAS)=.*:\1="$(GNU_TARGET_NAME)":;
-CTNG_FIX_DOT_CONFIG_SED += s:^(CT_CC_PKGVERSION)="(.*)":\1="crosstool-NG $(CTNG_VERSION) - buildroot $(BR2_VERSION_FULL)":;
+CTNG_FIX_DOT_CONFIG_SED += s:^(CT_TOOLCHAIN_PKGVERSION)="(.*)":\1="buildroot $(BR2_VERSION_FULL)":;
 ifneq ($(call qstrip,$(BR2_USE_MMU)),)
 CTNG_FIX_DOT_CONFIG_SED += s:^\# (CT_ARCH_USE_MMU) is not set:\1=y:;
 else
Signature · 1 line
1.7.2.5
#3 lore raw

PATCH 2/2 toolchain/crosstool-NG: update bundled config files

In reply to Yann E. MORIN

Update the crosstool-NG libc-specific config files to match the new set of options coming with the updated crosstool-NG.

---
 .../crosstool-ng.config-eglibc                     |  227 ++++++-------------
 .../crosstool-ng.config-glibc                      |  234 ++++++--------------
 .../crosstool-ng.config-uClibc                     |  192 ++++------------
 3 files changed, 180 insertions(+), 473 deletions(-)
toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc +67 -160
index 5902d40..3b6a2e2 100644
@@ -1,8 +1,14 @@
 #
 # Automatically generated make config: don't edit
-# crosstool-NG version: 1.11.3
-# Sat May 21 22:35:30 2011
-#
+# The crosstool-NG configuration menu
+# Sun Aug  7 15:40:17 2011
+#
+CT_CONFIGURE_has_cvs=y
+CT_CONFIGURE_has_svn=y
+CT_CONFIGURE_static_link_ok=y
+CT_CONFIGURE_has_static_libstdcxx=y
+CT_CONFIGURE_has_expat=y
+CT_CONFIGURE_has_static_expat=y
 CT_BACKEND=y
 CT_MODULES=y
 
@@ -51,8 +57,6 @@ CT_PATCH_BUNDLED=y
 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
 # CT_PATCH_NONE is not set
 CT_PATCH_ORDER="bundled"
-# CT_PATCH_SINGLE is not set
-# CT_PATCH_USE_LOCAL is not set
 
 #
 # Build behavior
@@ -84,55 +88,24 @@ CT_LOG_FILE_COMPRESS=y
 #
 # Target options
 #
-CT_ARCH="arm"
-CT_ARCH_SUPPORTS_BOTH_MMU=y
-CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
+CT_ARCH="x86"
 CT_ARCH_SUPPORTS_32=y
-# CT_ARCH_SUPPORTS_64 is not set
+CT_ARCH_SUPPORTS_64=y
 CT_ARCH_SUPPORT_ARCH=y
-# CT_ARCH_SUPPORT_ABI is not set
 CT_ARCH_SUPPORT_CPU=y
 CT_ARCH_SUPPORT_TUNE=y
-CT_ARCH_SUPPORT_FPU=y
-CT_ARCH_DEFAULT_HAS_MMU=y
-# CT_ARCH_DEFAULT_BE is not set
-CT_ARCH_DEFAULT_LE=y
 CT_ARCH_DEFAULT_32=y
-# CT_ARCH_DEFAULT_64 is not set
 CT_ARCH_ARCH=""
 CT_ARCH_CPU=""
-CT_ARCH_TUNE=""
-CT_ARCH_FPU=""
-# CT_ARCH_BE is not set
-CT_ARCH_LE=y
-CT_ARCH_32=y
-# CT_ARCH_64 is not set
-CT_ARCH_BITNESS=32
+CT_ARCH_TUNE="generic"
+# CT_ARCH_32 is not set
+CT_ARCH_64=y
+CT_ARCH_BITNESS=64
 CT_ARCH_FLOAT_HW=y
 # CT_ARCH_FLOAT_SW is not set
 CT_TARGET_CFLAGS=""
 CT_TARGET_LDFLAGS=""
-# CT_ARCH_alpha is not set
-CT_ARCH_arm=y
-# CT_ARCH_avr32 is not set
-# CT_ARCH_blackfin is not set
-# CT_ARCH_m68k is not set
-# CT_ARCH_mips is not set
-# CT_ARCH_powerpc is not set
-# CT_ARCH_s390 is not set
-# CT_ARCH_sh is not set
-# CT_ARCH_sparc is not set
-# CT_ARCH_x86 is not set
-CT_ARCH_alpha_AVAILABLE=y
-CT_ARCH_arm_AVAILABLE=y
-CT_ARCH_avr32_AVAILABLE=y
-CT_ARCH_blackfin_AVAILABLE=y
-CT_ARCH_m68k_AVAILABLE=y
-CT_ARCH_mips_AVAILABLE=y
-CT_ARCH_powerpc_AVAILABLE=y
-CT_ARCH_s390_AVAILABLE=y
-CT_ARCH_sh_AVAILABLE=y
-CT_ARCH_sparc_AVAILABLE=y
+CT_ARCH_x86=y
 CT_ARCH_x86_AVAILABLE=y
 
 #
@@ -145,14 +118,6 @@ CT_ARCH_USE_MMU=y
 #
 
 #
-# arm other options
-#
-CT_ARCH_ARM_MODE="arm"
-CT_ARCH_ARM_MODE_ARM=y
-# CT_ARCH_ARM_MODE_THUMB is not set
-CT_ARCH_ARM_EABI=y
-
-#
 # Toolchain options
 #
 
@@ -163,6 +128,9 @@ CT_FORCE_SYSROOT=y
 CT_USE_SYSROOT=y
 CT_SYSROOT_NAME="sysroot"
 CT_SYSROOT_DIR_PREFIX=""
+CT_STATIC_TOOLCHAIN_POSSIBLE=y
+CT_TOOLCHAIN_PKGVERSION=""
+CT_TOOLCHAIN_BUGURL=""
 
 #
 # Tuple completion and aliasing
@@ -174,10 +142,7 @@ CT_TARGET_ALIAS=""
 #
 # Toolchain type
 #
-# CT_NATIVE is not set
 CT_CROSS=y
-# CT_CROSS_NATIVE is not set
-# CT_CANADIAN is not set
 CT_TOOLCHAIN_TYPE="cross"
 
 #
@@ -190,17 +155,28 @@ CT_BUILD_SUFFIX=""
 #
 # Operating System
 #
-# CT_BARE_METAL is not set
-# CT_MINGW32 is not set
 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
 CT_KERNEL="linux"
-CT_KERNEL_VERSION="2.6.38.4"
-# CT_KERNEL_bare_metal is not set
+CT_KERNEL_VERSION="2.6.38.8"
 CT_KERNEL_linux=y
-# CT_KERNEL_mingw32 is not set
-# CT_KERNEL_bare_metal_AVAILABLE is not set
 CT_KERNEL_linux_AVAILABLE=y
-# CT_KERNEL_mingw32_AVAILABLE is not set
+CT_KERNEL_LINUX_INSTALL=y
+# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
+# CT_KERNEL_V_3_0 is not set
+# CT_KERNEL_V_2_6_39_3 is not set
+# CT_KERNEL_V_2_6_39_2 is not set
+# CT_KERNEL_V_2_6_39_1 is not set
+# CT_KERNEL_V_2_6_39 is not set
+CT_KERNEL_V_2_6_38_8=y
+# CT_KERNEL_V_2_6_37_6 is not set
+# CT_KERNEL_V_2_6_36_4 is not set
+# CT_KERNEL_V_2_6_35_13 is not set
+# CT_KERNEL_V_2_6_34_10 is not set
+# CT_KERNEL_V_2_6_33_16 is not set
+# CT_KERNEL_V_2_6_32_43 is not set
+# CT_KERNEL_V_2_6_31_14 is not set
+# CT_KERNEL_V_2_6_27_59 is not set
+# CT_KERNEL_LINUX_CUSTOM is not set
 
 #
 # Common kernel options
@@ -210,22 +186,6 @@ CT_SHARED_LIBS=y
 #
 # linux other options
 #
-CT_KERNEL_LINUX_INSTALL=y
-# CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
-CT_KERNEL_V_2_6_38_4=y
-# CT_KERNEL_V_2_6_38_3 is not set
-# CT_KERNEL_V_2_6_38_2 is not set
-# CT_KERNEL_V_2_6_38_1 is not set
-# CT_KERNEL_V_2_6_38 is not set
-# CT_KERNEL_V_2_6_37_6 is not set
-# CT_KERNEL_V_2_6_36_4 is not set
-# CT_KERNEL_V_2_6_35_13 is not set
-# CT_KERNEL_V_2_6_34_9 is not set
-# CT_KERNEL_V_2_6_33_12 is not set
-# CT_KERNEL_V_2_6_32_39 is not set
-# CT_KERNEL_V_2_6_31_14 is not set
-# CT_KERNEL_V_2_6_27_58 is not set
-# CT_KERNEL_LINUX_CUSTOM is not set
 CT_KERNEL_LINUX_VERBOSITY_0=y
 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
@@ -236,30 +196,26 @@ CT_KERNEL_LINUX_INSTALL_CHECK=y
 # Binary utilities
 #
 CT_ARCH_BINFMT_ELF=y
-# CT_ARCH_BINFMT_FLAT is not set
-# CT_ARCH_BINFMT_FDPIC is not set
 
 #
 # GNU binutils
 #
-# CT_BINUTILS_V_2_21 is not set
 # CT_BINUTILS_V_2_20_1 is not set
 CT_BINUTILS_V_2_20=y
 # CT_BINUTILS_V_2_19_1 is not set
 # CT_BINUTILS_V_2_19 is not set
 # CT_BINUTILS_V_2_18 is not set
-# CT_BINUTILS_V_2_17 is not set
-# CT_BINUTILS_V_2_16_1 is not set
 CT_BINUTILS_VERSION="2.20"
+CT_BINUTILS_2_20_or_later=y
+CT_BINUTILS_2_19_or_later=y
+CT_BINUTILS_2_18_or_later=y
 CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
+CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
 CT_BINUTILS_FORCE_LD_BFD=y
 CT_BINUTILS_LINKER_LD=y
-# CT_BINUTILS_LINKER_GOLD is not set
-# CT_BINUTILS_LINKER_LD_GOLD is not set
-# CT_BINUTILS_LINKER_GOLD_LD is not set
 CT_BINUTILS_LINKERS_LIST="ld"
 CT_BINUTILS_LINKER_DEFAULT="bfd"
-CT_BINUTILS_EXTRA_CONFIG=""
+CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
 
 #
 # C compiler
@@ -267,13 +223,6 @@ CT_BINUTILS_EXTRA_CONFIG=""
 CT_CC="gcc"
 CT_CC_VERSION="4.4.3"
 CT_CC_gcc=y
-# CT_CC_V_linaro_4_6_2011_04_0 is not set
-# CT_CC_V_4_6_0 is not set
-# CT_CC_V_linaro_4_5_2011_04_0 is not set
-# CT_CC_V_4_5_2 is not set
-# CT_CC_V_4_5_1 is not set
-# CT_CC_V_4_5_0 is not set
-# CT_CC_V_linaro_4_4_2011_02_0 is not set
 # CT_CC_V_4_4_6 is not set
 # CT_CC_V_4_4_5 is not set
 # CT_CC_V_4_4_4 is not set
@@ -281,35 +230,23 @@ CT_CC_V_4_4_3=y
 # CT_CC_V_4_4_2 is not set
 # CT_CC_V_4_4_1 is not set
 # CT_CC_V_4_4_0 is not set
+# CT_CC_V_4_3_6 is not set
 # CT_CC_V_4_3_5 is not set
 # CT_CC_V_4_3_4 is not set
 # CT_CC_V_4_3_3 is not set
 # CT_CC_V_4_3_2 is not set
 # CT_CC_V_4_3_1 is not set
 # CT_CC_V_4_2_4 is not set
-# CT_CC_V_4_2_3 is not set
 # CT_CC_V_4_2_2 is not set
-# CT_CC_V_4_2_1 is not set
-# CT_CC_V_4_2_0 is not set
-# CT_CC_V_4_1_2 is not set
-# CT_CC_V_4_0_4 is not set
-# CT_CC_V_3_4_6 is not set
-# CT_CC_GCC_4_2 is not set
 CT_CC_GCC_4_2_or_later=y
-# CT_CC_GCC_4_3 is not set
 CT_CC_GCC_4_3_or_later=y
 CT_CC_GCC_4_4=y
 CT_CC_GCC_4_4_or_later=y
-# CT_CC_GCC_4_5 is not set
-# CT_CC_GCC_4_5_or_later is not set
-# CT_CC_GCC_4_6 is not set
-# CT_CC_GCC_4_6_or_later is not set
 CT_CC_GCC_HAS_GRAPHITE=y
-# CT_CC_GCC_HAS_LTO is not set
+CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
 CT_CC_GCC_USE_GMP_MPFR=y
 CT_CC_GCC_USE_PPL_CLOOG=y
-# CT_CC_GCC_USE_MPC is not set
-# CT_CC_GCC_USE_LIBELF is not set
+# CT_CC_LANG_FORTRAN is not set
 CT_CC_SUPPORT_CXX=y
 CT_CC_SUPPORT_FORTRAN=y
 CT_CC_SUPPORT_JAVA=y
@@ -321,17 +258,14 @@ CT_CC_SUPPORT_OBJCXX=y
 # Additional supported languages:
 #
 # CT_CC_LANG_CXX is not set
-# CT_CC_LANG_FORTRAN is not set
 # CT_CC_LANG_JAVA is not set
 
 #
 # gcc other options
 #
-CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
-CT_CC_BUGURL=""
 CT_CC_ENABLE_CXX_FLAGS=""
-CT_CC_CORE_EXTRA_CONFIG=""
-CT_CC_EXTRA_CONFIG=""
+CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
+CT_CC_EXTRA_CONFIG_ARRAY=""
 CT_CC_STATIC_LIBSTDCXX=y
 
 #
@@ -361,43 +295,43 @@ CT_CC_GCC_LDBL_128=m
 CT_LIBC="eglibc"
 CT_LIBC_VERSION="2_10"
 CT_LIBC_eglibc=y
-# CT_LIBC_glibc is not set
-# CT_LIBC_mingw is not set
-# CT_LIBC_newlib is not set
-# CT_LIBC_none is not set
-# CT_LIBC_uClibc is not set
 CT_LIBC_eglibc_AVAILABLE=y
-# CT_LIBC_EGLIBC_V_2_13 is not set
 # CT_LIBC_EGLIBC_V_2_12 is not set
 # CT_LIBC_EGLIBC_V_2_11 is not set
 CT_LIBC_EGLIBC_V_2_10=y
 # CT_LIBC_EGLIBC_V_2_9 is not set
-# CT_LIBC_EGLIBC_V_2_8 is not set
-# CT_LIBC_EGLIBC_V_2_7 is not set
-# CT_LIBC_EGLIBC_V_2_6 is not set
-# CT_LIBC_EGLIBC_V_2_5 is not set
 # CT_LIBC_EGLIBC_V_TRUNK is not set
+CT_LIBC_EGLIBC_2_10_or_later=y
+CT_LIBC_EGLIBC_2_9_or_later=y
+CT_LIBC_EGLIBC_HAS_PKGVERSION_BUGURL=y
 CT_EGLIBC_REVISION="HEAD"
+# CT_EGLIBC_HTTP is not set
 # CT_EGLIBC_CHECKOUT is not set
 # CT_EGLIBC_OPT_SIZE is not set
 # CT_EGLIBC_CUSTOM_CONFIG is not set
-# CT_LIBC_glibc_AVAILABLE is not set
-# CT_LIBC_mingw_AVAILABLE is not set
-# CT_LIBC_newlib_AVAILABLE is not set
-# CT_LIBC_none_AVAILABLE is not set
-# CT_LIBC_uClibc_AVAILABLE is not set
-CT_LIBC_glibc_familly=y
+CT_LIBC_SUPPORT_THREADS_ANY=y
+CT_LIBC_SUPPORT_NPTL=y
+CT_LIBC_SUPPORT_LINUXTHREADS=y
+CT_THREADS="nptl"
 
 #
-# glibc/eglibc common options
+# Common C library options
 #
-CT_LIBC_GLIBC_EXTRA_CONFIG=""
+CT_THREADS_NPTL=y
+# CT_THREADS_LINUXTHREADS is not set
+CT_LIBC_XLDD=y
+
+#
+# eglibc other options
+#
+CT_LIBC_glibc_familly=y
+CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
 CT_LIBC_GLIBC_CONFIGPARMS=""
 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
 CT_LIBC_EXTRA_CC_ARGS=""
 # CT_LIBC_DISABLE_VERSIONING is not set
 CT_LIBC_OLDEST_ABI=""
-# CT_LIBC_GLIBC_FORCE_UNWIND is not set
+CT_LIBC_GLIBC_FORCE_UNWIND=y
 CT_LIBC_GLIBC_USE_PORTS=y
 CT_LIBC_ADDONS_LIST=""
 
@@ -423,22 +357,7 @@ CT_LIBC_ADDONS_LIST=""
 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
-CT_LIBC_GLIBC_MIN_KERNEL="2.6.38.4"
-CT_LIBC_SUPPORT_THREADS_ANY=y
-CT_LIBC_SUPPORT_NPTL=y
-CT_LIBC_SUPPORT_LINUXTHREADS=y
-# CT_LIBC_SUPPORT_WIN32THREADS is not set
-# CT_LIBC_SUPPORT_THREADS_NONE is not set
-CT_THREADS="nptl"
-
-#
-# Common C library options
-#
-CT_THREADS_NPTL=y
-# CT_THREADS_LINUXTHREADS is not set
-# CT_THREADS_WIN32THREADS is not set
-# CT_THREADS_NONE is not set
-CT_LIBC_XLDD=y
+CT_LIBC_GLIBC_MIN_KERNEL="2.6.38.8"
 
 #
 # Debug facilities
@@ -453,34 +372,22 @@ CT_GMP_NEEDED=y
 CT_MPFR_NEEDED=y
 CT_PPL_NEEDED=y
 CT_CLOOG_NEEDED=y
-# CT_MPC_NEEDED is not set
-# CT_LIBELF_NEEDED is not set
 CT_COMPLIBS=y
 CT_GMP=y
 CT_MPFR=y
 CT_PPL=y
 CT_CLOOG=y
-# CT_GMP_V_5_0_1 is not set
 CT_GMP_V_4_3_2=y
 # CT_GMP_V_4_3_1 is not set
 # CT_GMP_V_4_3_0 is not set
-# CT_GMP_V_4_2_4 is not set
-# CT_GMP_V_4_2_2 is not set
 CT_GMP_VERSION="4.3.2"
 # CT_MPFR_V_3_0_0 is not set
 CT_MPFR_V_2_4_2=y
 # CT_MPFR_V_2_4_1 is not set
 # CT_MPFR_V_2_4_0 is not set
-# CT_MPFR_V_2_3_2 is not set
-# CT_MPFR_V_2_3_1 is not set
 CT_MPFR_VERSION="2.4.2"
-# CT_PPL_V_0_11_2 is not set
-# CT_PPL_V_0_11_1 is not set
-# CT_PPL_V_0_11 is not set
 CT_PPL_V_0_10_2=y
 CT_PPL_VERSION="0.10.2"
-# CT_PPL_0_11 is not set
-# CT_PPL_NEEDS_LIBPWL is not set
 # CT_CLOOG_V_0_15_10 is not set
 CT_CLOOG_V_0_15_9=y
 # CT_CLOOG_V_0_15_8 is not set
toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc +65 -169

409 lines not on this page · raw message

toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc +48 -144

361 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#4 lore raw

cover toolchain: update the crosstool-NG backend, v2

In reply to Yann E. MORIN
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> Hello All!

Yann> This patchset updates the crosstool-NG backend to the newly Yann> released 1.12.0. Existing patches were applied upstream, and are Yann> no longer needed. A new patch is added because it works around a Yann> limitation specific to buildroot; it will not go upstream as-is, Yann> a better fix will have to be found.

Yann> Changes since v1:
Yann> - simply get rid of the recursion test, it can't happen (Peter)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard