From 1d0c10c99f8c2d0fabdf2e930b8c05b64813fa27 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 20 Dec 2012 12:16:14 +0000 Subject: [PATCH] toolchain/crosstool-ng: update config for glibc-based toolchains Update the version of glibc to be used, since older versions are broken with the currently-used binutils versions. Fixes build issues ending with: tmpfs/ccvkz3ro.s:33: Error: CFI instruction used without previous .cfi_startproc This new version does not have RPC support, so update the Config.in. CC: Thomas Petazzoni Signed-off-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- toolchain/toolchain-crosstool-ng/Config.in | 5 ++--- toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in index 9cd5ca51df..d80f547c9d 100644 --- a/toolchain/toolchain-crosstool-ng/Config.in +++ b/toolchain/toolchain-crosstool-ng/Config.in @@ -24,9 +24,8 @@ config BR2_TOOLCHAIN_CTNG_glibc bool "glibc" select BR2_LARGEFILE select BR2_INET_IPV6 - # Our default ct-ng configuration uses glibc 2.9, which has - # native RPC support - select BR2_TOOLCHAIN_HAS_NATIVE_RPC + # Our default ct-ng configuration uses glibc 2.14.1, which + # does not have native RPC support select BR2_ENABLE_LOCALE select BR2_USE_WCHAR diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc index ae0bc029e5..5b4bbbaffb 100644 --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc @@ -356,13 +356,13 @@ CT_CC_GCC_LDBL_128=m # C-library # CT_LIBC="glibc" -CT_LIBC_VERSION="2.9" +CT_LIBC_VERSION="2.14.1" # CT_LIBC_eglibc is not set CT_LIBC_glibc=y # CT_LIBC_uClibc is not set CT_LIBC_eglibc_AVAILABLE=y CT_LIBC_glibc_AVAILABLE=y -# CT_LIBC_GLIBC_V_2_14_1 is not set +CT_LIBC_GLIBC_V_2_14_1 # CT_LIBC_GLIBC_V_2_14 is not set # CT_LIBC_GLIBC_V_2_13 is not set # CT_LIBC_GLIBC_V_2_12_2 is not set @@ -370,7 +370,7 @@ CT_LIBC_glibc_AVAILABLE=y # CT_LIBC_GLIBC_V_2_11_1 is not set # CT_LIBC_GLIBC_V_2_11 is not set # CT_LIBC_GLIBC_V_2_10_1 is not set -CT_LIBC_GLIBC_V_2_9=y +# CT_LIBC_GLIBC_V_2_9 is not set # CT_LIBC_GLIBC_V_2_8 is not set CT_LIBC_mingw_AVAILABLE=y CT_LIBC_newlib_AVAILABLE=y -- 2.30.2