[oe] python-distutils_2.6.6: config/Makefile contains sysroot

Khem Raj raj.khem at gmail.com
Sun Apr 10 02:40:30 UTC 2011


On 4/6/2011 3:04 PM, Kartik Mohta wrote:
> The Makefile (in /usr/lib/python2.6/config) used by distutils to
> compile modules contains the original sysroot used while compiling
> Python on the host:
>
> CC=        arm-angstrom-linux-gnueabi-gcc -march=armv7-a
> -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -mthumb-interwork
> -mno-thumb --sysroot=/home/kartikmohta/overo-oe/tmp/sysroots/armv7a-hardfp-angstrom-linux-gnueabi
> CXX=       arm-angstrom-linux-gnueabi-g++ -march=armv7-a
> -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -mthumb-interwork
> -mno-thumb --sysroot=/home/kartikmohta/overo-oe/tmp/sysroots/armv7a-hardfp-angstrom-linux-gnueabi
>
> This leads to the following error when compiling modules using distutils:
> /usr/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-gnueabi/bin/ld:
> this linker was not configured to use sysroots
>
>
> Can these sysroot arguments be removed in the do_install_append() step
> using a simple sed script?
>

you should try to figure out why binutils was build without sysroot. 
Check the configure args for binutils-cross




More information about the Openembedded-devel mailing list