Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp613293imm; Fri, 13 Jul 2018 03:24:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpexfpQUN+ezdlRKUNNgIkEx0stxxnmSkkmduIdvP64oJele4z+RDzeYHPXdLbNiv/nqHBTU X-Received: by 2002:a17:902:ab95:: with SMTP id f21-v6mr5700298plr.264.1531477445985; Fri, 13 Jul 2018 03:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531477445; cv=none; d=google.com; s=arc-20160816; b=F4Yt/rV9fi/MRCUrCE5kHP12/cJaNeLHHqBkD+O2V2b4oLrWCRJYJslXs1CmEX/6b7 r8B/orqO+sZh1HXs7eNl8X9ok2j8r2nT/IvV7rurqShYm157UbLMPLxoi6Tp/Wm0pPXG hieYds+G2iPKnO4rv+iG6BiLR+5TRjsBeCYx5fM6+UJkacm8QPyNo6liHqJYR2qQUsK2 uWekcKhH7gOArP7Sh7Tr80+tfViiJRgq9tAdmbBsLgXLZ4u1KyByWKqZ1k9y3ZNH7xUW R2wdr6Gy2dwTpbZjT69dGYOD/O3+lZpj+9TXcOVQoCWqXnpEdT2jvCBTgXtWy0yqgJ1W ZatQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=vqRMCjoZvzNZV7YvNi3YDrnN3j5zeKX+OyEgZj7neAQ=; b=Ycs/AOBwVqqRDia5JXFuj2u+PRUyhGENEOrOo09EuCbOa3D1pdSrsqmjrqknFLt8Im 4guP4+9E7iPAevIVBvd9QmLKFOuQh7zTeIAv54j+PyzgnfKN0l7GUIIxSFV5j6bs8PKj Ch2qre+Yz3u7otGfZYTZ7K6o2Lb2WqKFU+DMAar9bXPeFJBriBL6XVcjITIPCmhkCwjH zUKwOVcHBsQwQRfHpzgMGar9ZlYlnw33QJjknqkf3FD9vB+TLGNjInOVoHQZ3v5JtlN7 mA0GP1ee6uV4854SXJ7x53gSjSR6aoQIPgsn3c534mzUfKCZHJsbNFJGRbgeeaXWw6MH DOQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61-v6si23200329plb.502.2018.07.13.03.23.50; Fri, 13 Jul 2018 03:24:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727454AbeGMKhR (ORCPT + 99 others); Fri, 13 Jul 2018 06:37:17 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34068 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727071AbeGMKhR (ORCPT ); Fri, 13 Jul 2018 06:37:17 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 31363406F8A3; Fri, 13 Jul 2018 10:23:15 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-149.rdu2.redhat.com [10.10.120.149]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5C1D2026D6B; Fri, 13 Jul 2018 10:23:12 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <5731b5c4-e29d-30f6-095f-4a74f52cb72d@codesourcery.com> References: <5731b5c4-e29d-30f6-095f-4a74f52cb72d@codesourcery.com> <27030.1531302693@warthog.procyon.org.uk> <20180712125152.GA5226@guoren> To: Sandra Loosemore Cc: dhowells@redhat.com, Guo Ren , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, jason@lakedaemon.net, arnd@arndb.de, c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, green.hu@gmail.com Subject: Re: [PATCH V2 00/19] C-SKY(csky) Linux Kernel Port MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11102.1531477392.1@warthog.procyon.org.uk> Date: Fri, 13 Jul 2018 11:23:12 +0100 Message-ID: <11103.1531477392@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 13 Jul 2018 10:23:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 13 Jul 2018 10:23:15 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sandra Loosemore 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