public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eric G Ortego" <ericortego@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Multi target cross emerge wrapper
Date: Fri, 10 Mar 2006 12:02:49 -0600	[thread overview]
Message-ID: <6f3edef40603101002x61ca7b86v981ea5d31e770740@mail.gmail.com> (raw)
In-Reply-To: <1141679606.10616.166.camel@onyx>

On 3/6/06, solar <solar@gentoo.org> wrote:
> Hey I've been playing around with mega x-compiling all last week.
> I mass merged every cross compiler crossdev can build at this time.
> http://tinderbox.x86.dev.gentoo.org/cross-x86/
> I've actually got a crontab setup that will auto merge new cross
> compilers as they become available.

I am building from  powerpc-unknown-linux-gnu-3.4.4 and so far I have
had crossdev build only:
arm-creole-linux-uclibc-3.4.5
i386-creole-linux-gnu-3.4.5
i386-creole-linux-uclibc-3.4.5

> I've got a little script to also automate much of the process of
> figuring out what is the right x-compiler settings and what
> variables should be set.
> I'd appreciate it if a few of you could take it for a spin and give
> me feedback.

I altered it to change the location of ROOT & PKGDIR and
It has been working well for me.

Mabe i am misunderstanding its purpose but when I tried to use
cmerge --libc --target i386-creole-linux-gnu

It was unable to build glibc for that target.
It looks like its trying to x-compile
cross-i386-creole-linux-gnu/glibc-2.3.6-r3 instead of sys-libs/glibc.
Though I don't think that matters much.

Calculating dependencies  ...done!
>>> emerge (1 of 1) cross-i386-creole-linux-gnu/glibc-2.3.6-r3 to
/var/distros/creole-linux-glibc/i386/

Ive have also tried:
cmerge --target i386-creole-linux-gnu sys-libs/glibc
and get an identical error

This is the error ...

checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later.  This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files.  To use kernel headers not from /usr/include/linux, use the
configure option --with-headers.

Must mean that glibc needs virtual/os-headers so I tried to built them
for that target...

cmerge --target i386-creole-linux-gnu virtual/os-headers sys-libs/glibc

Yay! It worked!

> It has a few quarks with merging virtuals and so on but thats not easy
> to solve as long as portage itself depends on /etc/make.profile
> symlinks.

I've had some success getting around make.profile by making a broken symlink.
rm /etc/make.profile && ln -s /etc/make.profile /etc/make.profile
At the moment Portage doesn't seem to mind but I suppose that could change...

-- 
gentoo-embedded@gentoo.org mailing list



      reply	other threads:[~2006-03-10 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 21:13 [gentoo-embedded] Multi target cross emerge wrapper solar
2006-03-10 18:02 ` Eric G Ortego [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=6f3edef40603101002x61ca7b86v981ea5d31e770740@mail.gmail.com \
    --to=ericortego@gmail.com \
    --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