[oe] external-toolchain-csl and libtool 2.4

Pierluigi Passaro pierluigi.passaro at phoenixsoftware.it
Fri Oct 22 21:31:08 UTC 2010


Khem Raj wrote:
> On Thu, Oct 21, 2010 at 4:02 PM, Pierluigi Passaro
> <pierluigi.passaro at phoenixsoftware.it> wrote:
>   
>> Hi all,
>> LIBTOOL_HAS_SYSROOT feature has been recently enabled on Angstom 2010.x
>> distro.
>>
>> However, using CodeSourcery toolchain, this feature lead to use CSL sysroot
>> as search path, that is generally different from
>> ${STAGING_DIR_TARGET}${libdir} folder used for packages.
>>     
>
> hmmm yes I see the problem. Right now its left upto the compile to provide
> the sysroot which works well with internal toolchain but will not work with
> external toolchains or the compilers which dont support --print-sysroot option
>
> I will come up with a patch so specify the sysroot for libtool so that it
> does not rely upon the compiler to compute it.
>
>   
I'm not expert of libtool mechanisms but please let me know I can 
provide any support.
>> At present I worked around the problem with the attached patch, but I was
>> wondering if this could be a misconfiguration or a bug.
>>
>> Any suggestion will be appreciated.
>>
>>     
>
> With libtool 2.4 I dont see a reason to disable sysroot. The variable is only
> provided to keep libtool 2.2.6 functional as same time. So when using 2.4 please
> do not disable the sysroot feature.
>
>   
I agree with you, I will just keep the patch for personal use, until 
libtool will not rely on CSL compiler to compute sysroot.
>> Regards
>> Gigi
>>
>> --
>> Ing. Pierluigi Passaro
>> Viale Don Luigi Sturzo 34
>> 30174 Venezia Mestre
>> Cel: +39 348 355 4119
>> Tel: +39 041 862 3373
>> Fax: +39 041 862 3173
>> Web: www.phoenixsoftware.it
>> P.IVA 03884060272
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>     
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>   




More information about the Openembedded-devel mailing list