From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: python-distutils_2.6.6: config/Makefile contains sysroot
Date: Sat, 09 Apr 2011 19:40:30 -0700 [thread overview]
Message-ID: <4DA1189E.5050703@gmail.com> (raw)
In-Reply-To: <BANLkTimPVgqbjMhJnBcniZgJBbRd_1D8yQ@mail.gmail.com>
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
next prev parent reply other threads:[~2011-04-10 2:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-06 22:04 python-distutils_2.6.6: config/Makefile contains sysroot Kartik Mohta
2011-04-10 2:40 ` Khem Raj [this message]
2011-04-12 0:30 ` Kartik Mohta
2011-12-29 20:40 ` Chris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DA1189E.5050703@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox