[oe] Question: is 'gcc' supposed to replace the libstdc++.la installed by 'gcc-cross'?

Khem Raj raj.khem at gmail.com
Mon May 17 16:49:20 UTC 2010


On Mon, May 17, 2010 at 2:38 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 17-05-10 07:55, Khem Raj wrote:
>> On (17/05/10 07:44), Koen Kooi wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hi,
>>>
>>> I just noticed that after doing 'bitbake gcc' the old libstdc++ gets
>>> replaced and the new one has:
>>>
>>> dependency_libs='
>>> /OE/angstrom-dev/sysroots/armv6-angstrom-linux-gnueabi/usr/lib/libstdc++.la'
>>>
>>> instead of the expected '-lm'. It now refers to itself :(
>>
>> hmmm target gcc should not have staged libstdc++ if it was already staged
>> by gcc-cross but the problem is casued by
>> gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch it passed the native libdir which
>> is build_libdir even for target library builds using -rpath. I am currently
>> looking into the reason. If possible we can get rid of that patch.
>
> I'm getting a build failure with 'gcc' now failing to find libstc++.la.
> I'm trying a build from scratch now to rule out any packaged-staging
> problems (>1 recipes installing the same file, pstage removing it prior
> to build).

I could not build a console-image as I ran out of disk space. Have you
considered removing
-g3 from default angstrom builds.

-Khem




More information about the Openembedded-devel mailing list