Skip to contentSkip to conversation

unset MACHINE before building bintutils-cross

DISCUSSION Koen Kooi 2 participants 3 messages Oct 24, 2006

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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

Hi,

There's a subtle bug in OE/binutils which will pickup $MACHINE from your shell environment and mess up binutils. In my case binutils thought is was built for 'arm:hx4700' instead of 'arm', making glibc-intermediate fail during configure.
A big thanks to Holger for pointing me in the right direction.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFPdbRMkyGM64RGpERApeeAKCEQWiKUJXEnOAdX9JLKKDc5WN7YgCgotNX Wb05qgGop5uc9eWEyhKqe8c=
=2l8o
-----END PGP SIGNATURE-----

author
#1 lore raw

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

Koen Kooi schreef:

Quoted 6 lines

Hi,

There's a subtle bug in OE/binutils which will pickup $MACHINE from your shell environment and mess up binutils. In my case binutils thought is was built for 'arm:hx4700' instead of 'arm', making glibc-intermediate fail during configure.
A big thanks to Holger for pointing me in the right direction.

The above is a bit confusing, to trigger the bug you need to do:

export MACHINE=hx4700 ; bitbake glibc

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFPdiJMkyGM64RGpERAjiGAJ49af3agd5y0DQktyjVFufZqyXkXACeNvia lDaDm4PMoSvyo9jxatrF4F4=
=wws3
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 3 lines · Koen Kooi

The above is a bit confusing, to trigger the bug you need to do:

export MACHINE=hx4700 ; bitbake glibc

Maybe take a look at bug 1110? Or is that bug invalid?