* python-distutils_2.6.6: config/Makefile contains sysroot
@ 2011-04-06 22:04 Kartik Mohta
2011-04-10 2:40 ` Khem Raj
0 siblings, 1 reply; 4+ messages in thread
From: Kartik Mohta @ 2011-04-06 22:04 UTC (permalink / raw)
To: openembedded-devel
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?
--
Kartik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python-distutils_2.6.6: config/Makefile contains sysroot
2011-04-06 22:04 python-distutils_2.6.6: config/Makefile contains sysroot Kartik Mohta
@ 2011-04-10 2:40 ` Khem Raj
2011-04-12 0:30 ` Kartik Mohta
0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2011-04-10 2:40 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python-distutils_2.6.6: config/Makefile contains sysroot
2011-04-10 2:40 ` Khem Raj
@ 2011-04-12 0:30 ` Kartik Mohta
2011-12-29 20:40 ` Chris
0 siblings, 1 reply; 4+ messages in thread
From: Kartik Mohta @ 2011-04-12 0:30 UTC (permalink / raw)
To: openembedded-devel
On Sat, Apr 9, 2011 at 10:40 PM, Khem Raj <raj.khem@gmail.com> wrote:
> you should try to figure out why binutils was build without sysroot. Check
> the configure args for binutils-cross
I guess there was some misunderstanding, the problem is that the
Makefile on the target contains references to the sysroot on the host.
--
Kartik
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: python-distutils_2.6.6: config/Makefile contains sysroot
2011-04-12 0:30 ` Kartik Mohta
@ 2011-12-29 20:40 ` Chris
0 siblings, 0 replies; 4+ messages in thread
From: Chris @ 2011-12-29 20:40 UTC (permalink / raw)
To: openembedded-devel
Kartik Mohta <kartikmohta <at> gmail.com> writes:
>
> On Sat, Apr 9, 2011 at 10:40 PM, Khem Raj <raj.khem <at> gmail.com> wrote:
> > you should try to figure out why binutils was build without sysroot. Check
> > the configure args for binutils-cross
>
> I guess there was some misunderstanding, the problem is that the
> Makefile on the target contains references to the sysroot on the host.
>
Did you ever get this issue resolved? I'm having a similar problem now trying to
build matplotlib on an embedded processor running angstrom linux (python 2.6):
<<
/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.5.3/../../../../arm-angstrom-linux-
gnueabi/bin/ld:
this linker was not configured to use sysroots
collect2: ld returned 1 exit status
error: command 'arm-angstrom-linux-gnueabi-g++' failed with exit status 1
<<
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-29 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06 22:04 python-distutils_2.6.6: config/Makefile contains sysroot Kartik Mohta
2011-04-10 2:40 ` Khem Raj
2011-04-12 0:30 ` Kartik Mohta
2011-12-29 20:40 ` Chris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.