Re: Kernel Cross Compiling [update]
From: Herbert Poetzl
Date: Mon Feb 23 2004 - 15:42:29 EST
On Mon, Feb 23, 2004 at 11:42:31AM -0800, Jim Wilson wrote:
> On Sat, 2004-02-21 at 19:53, Herbert Poetzl wrote:
> > Here is an update to the Kernel Cross Compiling thread
> > I started ten days ago ...
>
> If you want gcc to be fixed so the inhibit_libc builds work for linux
> targets, then I suggest opening an FSF gcc bugzilla bug report. Sending
> mail to me or to the linux kernel mailing list is unlikely to accomplish
> this.
hmm, sorry, I didn't want to tantalize you with mails,
I just thought you would be interested in them ...
my apologies here, will avoid further mails to your account
my primary goal isn't to get this fixed by the gcc folks,
I want to have a simple and working solution, which seems
to be at hand for the toolchains, to cross compile the
linux kernel for testing purposes. the changes so far are
not very intrusive IMHO, and I can live with a few patches.
(btw. currently Dan Kegel has a lot more patches to gcc in
his toolchain than I do)
> FYI David Mosberger sent me a comment in private mail pointing out that
> if you are trying to bootstrap linux on a new target, then requiring a
> glibc port before the kernel port is a problem. I consider this a good
> reason to make this feature work.
sounds reasonable ... at least to me ;)
> However, my recommendation still stands. In general, I do not recommend
> building inhibit_libc crosses for linux targets, even though such
> crosses are likely to work fine for building a kernel. As a gcc
> maintainer, it makes my job harder when people are building the compiler
> different ways, because I may get bug reports that I can't reproduce or
> understand. Also, there is a risk that a kernel-only cross compiler
> will accidentally be used for some other purpose, resulting in a bug
> report that wastes the time of the gcc maintainers.
originally I had the weird? opinion, that gcc (or it's
build system) does support the cross target to exactly
do this (building an initial gcc, which can be used to
compile other stuff, like (g)libc and such) ...
that this looks like some kind of hack is neither my fault
nor does it justify messing around with 'unbuildable'
(g)libcs to get a kernel cross compile working ...
best,
Herbert
> --
> Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/