Thread (86 messages) 86 messages, 12 authors, 2018-07-13

Re: [PATCH V2 00/19] C-SKY(csky) Linux Kernel Port

From: David Howells <dhowells@redhat.com>
Date: 2018-07-13 10:23:18
Also in: lkml

Sandra Loosemore [off-list ref] wrote:
I'm not familiar with the Fedora tools, but to build a complete toolchain
you'll need library support as well and I'm not sure what the submission
status/plans for that are.
The idea behind the cross-gcc package in Fedora is that it's for kernel builds
and bootloader-type things only.  It builds libgcc, but doesn't use kernel
headers or a C library[*] as this enormously simplifies things.

The reasons being:

 (1) Not all arches can use the same set of C libraries (some can't use glibc
     and some don't have a uClibc port).

 (2) I can only build each individual compiler against a single C library - so
     if you have two or more incompatible environments, you're out of luck -
     I can only use one.

 (3) Building lots more compilers for individual environments would massively
     increase the build size and time.  A full cross-gcc build now takes the
     best part of a day to build.

[*] Yes, there's one exception: it builds the arm compiler against an arm
    cross-glibc - not my idea.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help