[OE-core] uninative stdc++ abi

Andre McCurdy armccurdy at gmail.com
Fri Mar 4 23:55:46 UTC 2016


On Fri, Mar 4, 2016 at 3:23 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Sat, Mar 5, 2016 at 6:33 AM, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>>
>> +# https://wiki.debian.org/GCC5
>> +# We may see binaries built with gcc5 run or linked into gcc4 environment
>> +# so use the older libstdc++ standard for now until we don't support gcc4
>> +# on the host system.
>> +BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0"
>>
>> Is this the right way to try and fix this? Any better ideas?
>
> yes thats the best option we have given the myriad of build OSes we
> have to support.

An alternative would be to configure our uninative gcc5 libstdc++ with:

EXTRA_OECONF_append = " --disable-libstdcxx-dual-abi
--with-default-libstdcxx-abi=gcc4-compatible"

Not sure if that's better though. Just a different approach to achieve
the same thing.

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list