[oe] Openembedded-devel Digest, Vol 43, Issue 98

Chris Larson clarson at kergoth.com
Tue Feb 23 18:19:01 UTC 2010


It's worth noting here that TARGET_CC_ARCH += "${LDFLAGS}" is a hack,
not an ideal solution.   The preferred way of solving this is
reviewing the buildsystem in question to determine how best to make it
obey all of our bitbake variables, rather than injecting one into
another that it happens to already obey.

On Tue, Feb 23, 2010 at 11:15 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On Tue, Feb 23, 2010 at 5:47 AM, Jay Snyder
> <jay.snyder at tycoelectronics.com> wrote:
>>>
>>>
>>> try the following:
>>> TARGET_CC_ARCH += "${LDFLAGS}"
>>> This should resolve your problems if you build your executable from
>>> within your OE buildsystem.
>>> In very rare cases (e.g. when you build some programs outside of OE
>>> but use OE to package all) it could be useful to use the following:
>>> INSANE_SKIP_objc = "True"
>>> AFAIK that sould not be commonly used, but it worked for me.
>>>
>>> majo
>>>
>>
>> Updating my GCC recipe with a "git pull" worked (the INSANE_SKIP_obj line
>> got added sometime recently).
>>
>> The TARGET_CC_ARCH += "${LDFLAGS}"  fix is the first thing that I try when i
>> get this problem, and usually fixes it, although there are some packages
>> that required patching Makefile.ac files throughout the project.
>
> if you have a list of packages that would be helpful. Generally
> packages should respect
> LDFLAGS if they dont then probably they should be fixed.
>
>     As I
>> just stated in another reply, when I get beyond the current project time
>> crunch (coming up on a release deadline), I will submit my recipe patches
>> for inclusion in the OE git repository.
>
> Thats nice.
>
>>
>> Thanks,
>> Jay
>>
>> _______________________________________________
>> 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
>



-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-devel mailing list