[OE-core] gcc version mismatch in sdk generation

Khem Raj raj.khem at gmail.com
Tue Aug 9 02:33:28 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/08/2011 06:52 PM, James Limbouris wrote:
> On Tuesday, 9 August 2011 9:40 AM, Khem Raj wrote:
>> On Mon, Aug 8, 2011 at 6:33 PM, James Limbouris 
>> <james at digitalmatter.com.au> wrote:
>>> On Tue Aug 9 01:25:55 CEST 2011, Richard Purdie wrote:
>>>> On Mon, 2011-08-08 at 05:02 +0000, James Limbouris wrote:
>>>>> Hi,
>>>>> 
>>>>> In oe-core, with Angstrom 2010.x, generating an sdk with:
>>>>> 
>>>>> bitbake meta-toolchain-qte
>>>>> 
>>>>> is giving me a toolchain with gcc-4.6.1 binaries in the i686 
>>>>> sysroot, but gcc-4.5.4 runtime libraries in the arm (target)
>>>>> sysroot. The sdk can't link until a symlink is installed to
>>>>> trick it into using the 4.5.4 libraries.
>>>>> 
>>>>> I've checked the preferred versions, but they seem to be set 
>>>>> consistently in the disto's conf file, at least as far as I
>>>>> can see.
>>>>> 
>>>>> 'bitbake -s | grep gcc' gives: gcc
>>>>> :4.5-r39.1+svnr176640 gcc-cross
>>>>> :4.5-r39.2+svnr176640 gcc-cross-canadian-arm
>>>>> :4.5-r39.0+svnr176640 gcc-cross-initial
>>>>> :4.5-r39.0+svnr176640 gcc-cross-intermediate
>>>>> :4.5-r39.0+svnr176640 gcc-crosssdk
>>>>> :4.5-r39.0+svnr176640 gcc-crosssdk-initial
>>>>> :4.5-r39.0+svnr176640 gcc-crosssdk-intermediate
>>>>> :4.5-r39.0+svnr176640 gcc-runtime
>>>>> :4.5-r39.1+svnr176640 gcc-runtime-nativesdk
>>>>> :4.6.1+svnr175454-r5 :4.5-r39.1+svnr176640 gccmakedep 
>>>>> 1:1.0.2-r3 libgcc :4.5-r39.1+svnr176640 libgcc-nativesdk 
>>>>> :4.6.1+svnr175454-r3     :4.5-r39.1+svnr176640
>>>> 
>>>> The nativesdk and crosssdk versions need to match at the very
>>>> least.
>>>> 
>>>> Cheers,
>>>> 
>>>> Richard
>>> 
>>> Yes - that's what is so confusing. They seem to match in the
>>> Angstrom conf:
>> 
>> 
>> what does SDKGCCVERSION contain ?
>> 
> 
> Hi,
> 
> Here are edited highlights from bitbake -e | grep -i GCC:
> 

Can you try attached patch ? this is for meta-angstrom

Thx

- -Khem


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5AnHcACgkQuwUzVZGdMxSX3gCgiMm/l2eOjT992lsqKaxnfuno
QVUAniNpa6BtGGrOjwjxfGFSdYCoHMWm
=EeKC
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-angstrom-2010.x.conf-Pin-PREFERRED_VERSION_gcc-cross.patch
Type: text/x-diff
Size: 1204 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20110808/041ec01d/attachment-0002.bin>


More information about the Openembedded-core mailing list