From: Mike Frysinger <vapier@gentoo.org>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] crossdev-20100620 uses wrong gcc
Date: Fri, 24 Sep 2010 12:58:40 -0400 [thread overview]
Message-ID: <201009241258.40931.vapier@gentoo.org> (raw)
In-Reply-To: <OFCAE17DE5.C92C7541-ONC12577A8.005682E0-C12577A8.0056DD9B@transmode.se>
[-- Attachment #1: Type: Text/Plain, Size: 1294 bytes --]
On Friday, September 24, 2010 11:48:48 Joakim Tjernlund wrote:
> Mike Frysinger wrote on 2010/09/24 16:30:35:
> > On Friday, September 24, 2010 04:55:27 Joakim Tjernlund wrote:
> > > Mike Frysinger wrote on 2010/09/24 04:33:05:
> > > > On Thursday, September 23, 2010 10:37:47 Joakim Tjernlund wrote:
> > > > > Trying to add support for e300c2 in glibc/ports I got another
> > > > > error. when crossdev is building cross-glibc-headers it uses the
> > > > > hosts gcc
> > > >
> > > > > instead of the cross compiler and glibc configure fails:
> > > > by design. look at toolchain-glibc_headers_compile() in
> > > > gentoo-x86/sys- libs/glibc/files/eblits/src_compile.eblit.
> > >
> > > hmm, if I were to guess one needs to add
> > > libc_cv_cc_submachine=xxx, possibly with xxx=no
> > > to toolchain-glibc_headers_compile() ?
> >
> > you need to export the cache var to skip the sanity checks, not the
> > "force a specific machine type"
>
> yeah, that was what I did(export libc_cv_cc_submachine="-mcpu=e300c2")
>
> I was aiming for a more general solution, but I can't find one short of
> actually use the cross compiler.
general solution would be to introduce a "headers" configure option to glibc
to tell it to skip all the useless compiler checks
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2010-09-24 17:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 14:37 [gentoo-embedded] crossdev-20100620 uses wrong gcc Joakim Tjernlund
2010-09-23 15:27 ` Peter Stuge
2010-09-23 17:12 ` Joakim Tjernlund
2010-09-24 2:33 ` Mike Frysinger
2010-09-24 8:55 ` Joakim Tjernlund
2010-09-24 14:30 ` Mike Frysinger
2010-09-24 15:48 ` Joakim Tjernlund
2010-09-24 16:58 ` Mike Frysinger [this message]
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=201009241258.40931.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
--cc=joakim.tjernlund@transmode.se \
/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