[OE-core] [PATCH] alsa-lib: Unbreak native build when using TCLIBC=uclibc

Khem Raj raj.khem at gmail.com
Tue Nov 29 22:58:00 UTC 2011


On Mon, Nov 21, 2011 at 12:48 PM, Phil Blundell <philb at gnu.org> wrote:
> On Mon, 2011-11-21 at 12:23 -0800, Khem Raj wrote:
>> A recent change introduced EXTRA_OECONF_append_libc-uclibc = "
>> --with-versioned=no " this change has a side effect when
>> building alsa-lib-native using TCLIBC=uclibc the override
>> kicks in uninvited and hence build the native package without symbol
>> version information. This mean libasound.so which is needed by other
>> packages from build host e.g. libSDL.so does not have required symbols
>> and linking with libSDL fails, one such case ends in SDL support
>> in qemu-native being silently disabled.
>>
>> We make sure that override is only enabled for target recipe
>
> This seems like the wrong solution to the problem.  Shouldn't you be
> inhibiting the libc-uclibc OVERRIDE at source for native builds
> (assuming the host system isn't using uClibc)?
>
> It also seems as though there ought to be a more generic place to encode
> the knowledge that uClibc doesn't do symbol versioning.  Having to hack
> it into EXTRA_OECONF for every recipe seems... suboptimal.
>

I have posted another patch which is broader in impact and solves
these kind of problems
here http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/013375.html

Thanks
-Khem




More information about the Openembedded-core mailing list