[oe] [PATCH] e2fsprogs: disable tls build with uclibc toolchain

Vladimir Zapolskiy vzapolskiy at gmail.com
Sun May 23 17:05:33 UTC 2010


On Sun, May 23, 2010 at 6:25 PM, Henning Heinold
<heinold at inf.fu-berlin.de> wrote:
> On Sat, May 22, 2010 at 05:52:08PM +0400, Vladimir Zapolskiy wrote:
>> This patch removes dependency on oabi toolchain, because eabi uclibc
>> toolchain anyway does not have tls support.
>>
>> Signed-off-by: Vladimir Zapolskiy <vzapolskiy at gmail.com>
>> Cc: woglinde <heinold at inf.fu-berlin.de>
>> ---
>>  recipes/e2fsprogs/e2fsprogs.inc |    3 +--
>>  1 files changed, 1 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes/e2fsprogs/e2fsprogs.inc b/recipes/e2fsprogs/e2fsprogs.inc
>> index 119efb0..0eeedcd 100644
>> --- a/recipes/e2fsprogs/e2fsprogs.inc
>> +++ b/recipes/e2fsprogs/e2fsprogs.inc
>> @@ -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.
>
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




More information about the Openembedded-devel mailing list