public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] crossdev & ports questions
Date: Fri, 8 Oct 2010 08:56:20 +0200	[thread overview]
Message-ID: <OFA9F86894.408801A3-ONC12577B6.002599E7-C12577B6.00261E2B@transmode.se> (raw)
In-Reply-To: <201010072310.58661.vapier@gentoo.org>

Mike Frysinger <vapier@gentoo.org> wrote on 2010/10/08 05:10:58:
>
> On Monday, September 20, 2010 16:00:25 Mike Frysinger wrote:
> > On Monday, September 20, 2010 15:00:25 Joakim Tjernlund wrote:
> > > I am fiddling with crossdev again and I wonder if there a way to
> > > pass different configure options to gcc/binutils vs. glibc?
> > > Doing export EXTRA_ECONF="--with-cpu=e300c2" applies
> > > to all and glibc bombs with subarch not supported error.
> >
> > you'd have to use per-package env manually:
> > /etc/portage/env/$CATEGORY/$PN
> >
> > but crossdev likes to clobber this file for you.  so i guess i should
> > extend crossdev with --env-xxx options so people can add their own.
>
> ive added --[bklg]env options to current crossdev git if you want to try out
> the 99999999 ebuild for me

Tried it with:
TARGET="powerpc-4.4.4_softfloat-linux-gnu"
export EXTRA_ECONF="--without-long-double-128 --with-dwarf2 --without-fp --with-fp=soft --disable-64-bit-bfd"


    crossdev \
	-s3 \
	--genv EXTRA_ECONF="--with-cpu=e300c2 --without-long-double-128 --with-dwarf2 --without-fp --with-fp=soft --disable-64-bit-bfd" \
	--ex-gdb \
	--libc 2.11.2 \
	--binutils 2.20.1-r1 \
	--gcc 4.4.4-r2 \
	--kernel 2.6.30-r1 \
	--target ${TARGET} \

Got this:
>>> Emerging (1 of 1) cross-powerpc-4.4.4_softfloat-linux-gnu/gcc-4.4.4-r2
!!! INVALID ACCEPT_KEYWORDS: x86
 * gcc-4.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                     [ ok ]
 * gcc-4.4.4-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * gcc-4.4.4-patches-1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...         [ ok ]
 * gcc-4.4.4-piepatches-v0.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
 * gcc-4.4.3-specs-0.2.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...         [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/gcc: line 8: --without-long-double-128: command not found
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/gcc: line 8: --without-long-double-128: command not found
 * CPV:  cross-powerpc-4.4.4_softfloat-linux-gnu/gcc-4.4.4-r2
 * REPO:
 * USE:  elibc_glibc kernel_linux nocxx nossp nptl userland_GNU x86
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/gcc: line 8: --without-long-double-128: command not found

/etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/gcc holds:
# make sure multilib crap doesn't screw us over
ABI=pos
LIBDIR_pos="lib"
CFLAGS_pos=
CPPFLAGS_pos=
CXXFLAGS_pos=
LDFLAGS_pos=
EXTRA_ECONF=--with-cpu=e300c2 --without-long-double-128 --with-dwarf2 --without-fp --with-fp=soft --disable-64-bit-bfd

This too:
>>> Emerging (1 of 1) cross-powerpc-4.4.4_softfloat-linux-gnu/glibc-2.11.2
!!! INVALID ACCEPT_KEYWORDS: x86
 * glibc-2.11.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * glibc-ports-2.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * glibc-2.11.2-patches-3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/glibc: line 8: 2.11.2: command not found
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/glibc: line 8: 2.11.2: command not found
 * CPV:  cross-powerpc-4.4.4_softfloat-linux-gnu/glibc-2.11.2
 * REPO:
 * USE:  crosscompile_opts_headers-only elibc_glibc kernel_linux userland_GNU x86
//etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/glibc: line 8: 2.11.2: command not found

/etc/portage/env/cross-powerpc-4.4.4_softfloat-linux-gnu/glibc holds:
# make sure multilib crap doesn't screw us over
ABI=pos
LIBDIR_pos="lib"
CFLAGS_pos=
CPPFLAGS_pos=
CXXFLAGS_pos=
LDFLAGS_pos=
2.11.2




  reply	other threads:[~2010-10-08  7:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-20 19:00 [gentoo-embedded] crossdev & ports questions Joakim Tjernlund
2010-09-20 20:00 ` Mike Frysinger
2010-09-20 21:08   ` Joakim Tjernlund
2010-09-20 22:39     ` Mike Frysinger
2010-10-08  3:10   ` Mike Frysinger
2010-10-08  6:56     ` Joakim Tjernlund [this message]
2010-10-08  7:52       ` Joakim Tjernlund
2010-10-08  8:46         ` Mike Frysinger

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=OFA9F86894.408801A3-ONC12577B6.002599E7-C12577B6.00261E2B@transmode.se \
    --to=joakim.tjernlund@transmode.se \
    --cc=gentoo-embedded@lists.gentoo.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