e2fsprogs: disable tls build with uclibc toolchain
PATCH 1/1 e2fsprogs: disable tls build with uclibc toolchain
This patch removes dependency on oabi toolchain, because eabi uclibc toolchain anyway does not have tls support.
--- recipes/e2fsprogs/e2fsprogs.inc | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
recipes/e2fsprogs/e2fsprogs.inc +1 -2
@@ -14,8 +14,7 @@ INC_PR = "r23" inherit autotools #if uclibc ntpl is merged into trunk we can enable tls for armv4 again -EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi' and \ - bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ +EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ --enable-elf-shlibs \ --enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir} \ --disable-libuuid --disable-libblkid --disable-fsck"
Signature · 1 line
1.7.1
Quoted 14 lines · Vladimir Zapolskiy
This patch removes dependency on oabi toolchain, because eabi uclibc toolchain anyway does not have tls support.
Signed-off-by Vladimir Zapolskiy <[email protected]>Cc woglinde <[email protected]>--- recipes/e2fsprogs/e2fsprogs.inc | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)recipes/e2fsprogs/e2fsprogs.inc +0
-0
recipes/e2fsprogs/e2fsprogs.inc INC_PR = "r23" · line 20
Quoted 9 lines
recipes/e2fsprogs/e2fsprogs.inc +1
-2@@ -14,8 +14,7 @@ INC_PR = "r23" inherit autotools #if uclibc ntpl is merged into trunk we can enable tls for armv4 again -EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi' and \ - bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ +EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ --enable-elf-shlibs \ --enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir} \ --disable-libuuid --disable-libblkid --disable-fsck"
Sorry,
but you are wrong here the _git uclibc recipe and the hopefully soon comming out new uClibc will have tls support, but not for all archs. We will change the .inc then.
Bye Henning
Quoted 27 lines · Henning Heinold
Quoted 20 lines · Vladimir Zapolskiy
This patch removes dependency on oabi toolchain, because eabi uclibc toolchain anyway does not have tls support.
Signed-off-by Vladimir Zapolskiy <[email protected]>Cc woglinde <[email protected]>---
recipes/e2fsprogs/e2fsprogs.inc | 3 +--1 files changed, 1 insertions(+), 2 deletions(-)recipes/e2fsprogs/e2fsprogs.inc +0
-0@@ -14,8 +14,7 @@ INC_PR = "r23"inherit autotools
#if uclibc ntpl is merged into trunk we can enable tls for armv4 again
recipes/e2fsprogs/e2fsprogs.inc +1
-2-EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi' and \ - bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ +EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \Quoted 3 lines
--enable-elf-shlibs \
--enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir} \
--disable-libuuid --disable-libblkid --disable-fsck"Sorry,
Quoted 4 lines
but you are wrong here the
_gituclibc recipe and the hopefully soon comming out new uClibc will have tls support, but not for all archs. We will change the .inc then.
it will support TLS/nptl on arm, mips, ppc32, x86, x86_64 , sparc and sh thats mostly all actively uses architectures in OE.
Thx
-Khem
Quoted 8 lines
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 27 lines · Henning Heinold
Quoted 20 lines · Vladimir Zapolskiy
This patch removes dependency on oabi toolchain, because eabi uclibc toolchain anyway does not have tls support.
Signed-off-by Vladimir Zapolskiy <[email protected]>Cc woglinde <[email protected]>---
recipes/e2fsprogs/e2fsprogs.inc | 3 +--1 files changed, 1 insertions(+), 2 deletions(-)recipes/e2fsprogs/e2fsprogs.inc +0
-0@@ -14,8 +14,7 @@ INC_PR = "r23"inherit autotools
#if uclibc ntpl is merged into trunk we can enable tls for armv4 again
recipes/e2fsprogs/e2fsprogs.inc +1
-2-EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('ARM_ABI', d, 1) == 'oabi' and \ - bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \ +EXTRA_OECONF = "${@['','--disable-tls'][bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 ]} \Quoted 3 lines
--enable-elf-shlibs \
--enable-dynamic-e2fsck --disable-nls --sbindir=${base_sbindir} \
--disable-libuuid --disable-libblkid --disable-fsck"Sorry,
Quoted 4 lines
but you are wrong here the
_gituclibc recipe and the hopefully soon comming out new uClibc will have tls support, but not for all archs. We will change the .inc then.
Does _git uclibc go with nptl currently? I perform a test with armv4t/gcc-4.4.2/uclibc-0.9.30.3
eabi version, and found the described compilation problem, that shows that oabi check is not
so relevant.
Definitely the compilation problem cause is evaluated by invalid configuration from the recipe
for eabi/uclibc platform.
With best wishes,
Vladimir