[oe] [PATCH] sanity.bbclass: Check for the presennce of libc.a

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sun Sep 12 13:01:19 UTC 2010


2010/9/12 Philip Balister <philip at balister.org>:
> On 09/12/2010 06:36 AM, Richard Purdie wrote:
>>
>> On Sun, 2010-09-12 at 11:54 +0100, Phil Blundell wrote:
>>>
>>> On Sun, 2010-09-12 at 17:24 +0800, Holger Freyther wrote:
>>>>
>>>> The insmod.static binary links statically and requires the libc.a
>>>> to be present. On Fedora glibc-static is not installed by default
>>>> when installing development headers. Warn the user that he needs
>>>> to have that installed.
>>>
>>> Why are we building insmod.static for native anyway?  That seems a bit
>>> silly.
>>
>> It is. FWIW, Poky now patches the modutils-cross recipe so it only
>> builds the dynamically linked version to resolve exactly this issue.
>
> I'd rather just have insane check for glibc-static and not have an extra
> patch we need to carry around. I know everytime I install OE on a Fedora
> based machine, I spend a few minutes remembering why modutils-native does
> not build.

I guess you mean modutils-cross. There is no modutils-native recipe
and the modutils one does not have BBCLASSEXTEND = "native"
>
> Having a reminder to install glibc-static if needed would really help the
> new user experience for people using Fedora. I'd like to see Holger's change
> go in.
>
> Philip

A patch does not seem to be needed

>From modutils configure --help
  --disable-insmod-static      Do not create insmod.static binary (default)

Btw this is from modutils-cross-2.4.27-r9

(and ofc is the usage is not correct and the flag is not the default
behaviour it can easily be added in the conf flags)

Have fun! Frans




More information about the Openembedded-devel mailing list