Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp90026pxf; Wed, 10 Mar 2021 00:57:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaWz71oOFzBiWHAxXC/M7fUUwAUJdEHwQuAwGIQeTLOHFWmI6Q5M5h+MV09VJXhOg8p4qB X-Received: by 2002:a50:fe06:: with SMTP id f6mr2065809edt.349.1615366660098; Wed, 10 Mar 2021 00:57:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615366660; cv=none; d=google.com; s=arc-20160816; b=vTVTVLbvw/fd1dQVnJ/UxkK/Uj+T44e3WTxLMbj0v1SKthh0xPIiLYpY1sgN14yigJ ulw824gGcQ2pVgDOkwaXJanAU1v3G0blpAj4bHLCduW3nxitCpDYSiOfdmT7J2vyVhfd Qnbi+VQztZuWxGaFqA1rclS7ke+16Ih0xkez4Cax5EORbKWXYbHSXqjC0WM8X7RY4VdA 3aDi6Dx4sYCKdUen7wR30CcdgJfCiekE0kvQ8PB22vBEoi28SIJWrJeVxukePwEdkLpc SWxWjVc1zbGgN59OkjLamSDbr7v09vgFMf2j0smPeJneBM5ANoNoanjJ8XQHyzElcmxJ Hqrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=dQAPVOk8rR7k4uY1OJ89rBL6WrZS2GMKWG/ZE8HXWeQ=; b=iravbmSwaz6ZdDqcqzKmmSovXcH4gAZ3xcM2T09T69/SaEAwi2EIjaiP5WxutafmGQ 0+ajIs1N8ZQRzm7ytwMKVsMvX2ebtVaWYC3BQjqwzZZS47+R5djtaqNVbqVhJB+jLK9y jLFS/ZIdNMsN5VDa9jh8ONt/tlqu7Mgpqf5Ux5XmoBxxZNCqR+soJWnHo7OYwwAAYlpO O1GnMjbEtoP2gm5NGCq5cDEIwsaq+qLS/PlcmCSFweta7/h3jgZ/1ssL9jBAGOCTAgsQ WLWK/CYJfxBp+hrtzfKLd8YeVpfyBN2xEf1tBS7TCUIrmQRmWB5Q522h1/YE0XgvlLmS NzzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si5082621ejr.694.2021.03.10.00.57.18; Wed, 10 Mar 2021 00:57:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232457AbhCJIxg (ORCPT + 99 others); Wed, 10 Mar 2021 03:53:36 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:53844 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhCJIxa (ORCPT ); Wed, 10 Mar 2021 03:53:30 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 5B2821C0B80; Wed, 10 Mar 2021 09:53:28 +0100 (CET) Date: Wed, 10 Mar 2021 09:53:28 +0100 From: Pavel Machek To: linux-kernel@vger.kernel.org Cc: Amy Parker , linux-gcc@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: Alternative compilers to GCC/Clang Message-ID: <20210310085328.GA21872@duo.ucw.cz> References: <20210202053307.GB28542@1wt.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline In-Reply-To: <20210202053307.GB28542@1wt.eu> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Hello! My name's Amy. I'm really impressed by the work done to make > > Clang (and the LLVM toolchain overall) able to compile the kernel. > > Figured I might as well donate my monkey hours to helping make it run > > on other compilers as well. I haven't been able to find any that use > > the same arguments structure as GCC and Clang (read: you can pass it > > in as CC=3Dcompilername in your $MAKEOPTS). Any compilers along that > > route anyone here has worked with that I could work with? >=20 > If you're interested, you should have a look at TCC (tiny CC) : >=20 > https://repo.or.cz/tinycc.git >=20 > It compiles extremely fast, implements some subsets of gcc (a few > attributes for example), but is far from being able to compile a kernel > (at least last time I checked). Its speed makes it very convenient for > development. I made some efforts to make haproxy support it (and provided > some fixes to tcc) as it compiles the whole project in 0.5 second instead > of ~10 seconds with a modern gcc. It could probably compile a kernel in > 15-20 seconds if properly supported, and this could be particularly handy > for development and testing. For the record, yes, something that compiles kernel fast would be very very nice. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYEiJCAAKCRAw5/Bqldv6 8p11AKCDwTTMrx+W0hdAZUHUMPePkUqsMwCfecQRePV2o724Cd/lGV4I13rQfKA= =wTkl -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z--