Patchwork toolchain/crosstool-ng: update config fro glibc-based toolchains

login
register
mail settings
Submitter Yann E. MORIN
Date Dec. 20, 2012, 10:01 p.m.
Message ID <1356040912-9830-1-git-send-email-yann.morin.1998@free.fr>
Download mbox | patch
Permalink /patch/207714/
State Superseded
Headers show

Comments

Yann E. MORIN - Dec. 20, 2012, 10:01 p.m.
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

CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 .../crosstool-ng.config-glibc                      |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
Thomas Petazzoni - Dec. 20, 2012, 10:08 p.m.
Dear Yann E. MORIN,

On Thu, 20 Dec 2012 23:01:52 +0100, Yann E. MORIN wrote:

> -CT_LIBC_VERSION="2.9"
> +CT_LIBC_VERSION="2.14.1"

How does 2.14.1 plays with regard to RPC support? For now,
toolchain/toolchain-external/Config.in assumes that glibc and eglibc
toolchains have native RPC support. So if the bump to 2.14.1 implies
the lack of native RPC support, then the "select
BR2_TOOLCHAIN_HAS_NATIVE_RPC" should be removed.

Thanks!

Thomas
Yann E. MORIN - Dec. 20, 2012, 10:11 p.m.
Thomas, All,

On Thursday 20 December 2012 Thomas Petazzoni wrote:
> On Thu, 20 Dec 2012 23:01:52 +0100, Yann E. MORIN wrote:
> 
> > -CT_LIBC_VERSION="2.9"
> > +CT_LIBC_VERSION="2.14.1"
> 
> How does 2.14.1 plays with regard to RPC support? For now,
> toolchain/toolchain-external/Config.in assumes that glibc and eglibc
> toolchains have native RPC support. So if the bump to 2.14.1 implies
> the lack of native RPC support, then the "select
> BR2_TOOLCHAIN_HAS_NATIVE_RPC" should be removed.

Gah, indeed. I'll resend.

Regards,
Yann E. MORIN.

Patch

diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
index ae0bc02..5b4bbba 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