Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp727239pxb; Tue, 2 Feb 2021 16:52:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCboPgzRVRUqEdGy+xXgEqzLBPqwLQh26Ec3mAqe4hZUxt6uPm9ePivxFcPuujbZl1mjua X-Received: by 2002:a17:906:2993:: with SMTP id x19mr575774eje.409.1612313531515; Tue, 02 Feb 2021 16:52:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313531; cv=none; d=google.com; s=arc-20160816; b=YtogLpbIP/sGg5Gmi8o1oPqn41I721QFqJiGMT4wFwTR19HNWzenWCVx6QFr+wiSDK 3PKXnabC/MFwnxx+KPURefmuFAA7zTVlVlzz3nNl1g5jU7yGglorAjp3TkfZ0MpAnJwf Lw8wVkNueQC1dEaBVmLahzx24pbLOMQhr0rd82cQYwntYOr80PlQW+igPTIavnDfinYb RANezwNd1mGDIql13IaoVIYRFB/DQsEtKE9+ST1EpjyJDB4oV52fD9nH3WX19oW7j5SF pqmWpa5JbgWdJ2A5Jwp35y8oolPg1jpfpuLTnJpM5Z9j5Rifut0tdPinsiCYxIG86Fll G4Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ee3tYDfp3QeWVA1ZBYRXshE4otzH4zb09kl47xr1pHE=; b=THy9WKcuwIJ63Coo2K8JZNvTZDMtmmK6Cc49Co4wAHrK93l8aTO/JEZdv2Vk3cZtbi mmxKGK4kgjTrN8d3xNxz2ep2bzcLXIbWuUYPkWRCEWwfemi9YX4LEk19qkoZvFMbhibw ZdjpJkrtv50rl9KUTdin/qORg0G50oDWjgvDAXFqj8FlcBpY9346LzwxaPxQCfjMXd4f SQdxdKg/hx9Z09oeDoPQpQUpFZHirhJyMVCKDU6l8AeH6bg63KBR7D3zqdbvu1xbTHYZ pKnIBP7uYhdocFXSWOiQXywEWuv8AwJDHMMPxwQoE/iQKcuir3JRJwZZuzG0mEgBVQPI odJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=SDRCfxlX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m10si223244edc.111.2021.02.02.16.51.46; Tue, 02 Feb 2021 16:52:11 -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; dkim=pass header.i=@alien8.de header.s=dkim header.b=SDRCfxlX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234029AbhBBUW0 (ORCPT + 99 others); Tue, 2 Feb 2021 15:22:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbhBBUUJ (ORCPT ); Tue, 2 Feb 2021 15:20:09 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22A56C061788; Tue, 2 Feb 2021 12:19:29 -0800 (PST) Received: from zn.tnic (p200300ec2f0e1f00063087fcaf821809.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:1f00:630:87fc:af82:1809]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E5A101EC04D6; Tue, 2 Feb 2021 21:19:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1612297165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=Ee3tYDfp3QeWVA1ZBYRXshE4otzH4zb09kl47xr1pHE=; b=SDRCfxlXmSk5o5zrc2gZpWTT4s8Dc+LpNzMhgAzU+Qw8wLmLMcElN1KwJwFQ364IIFRdFw rl8olf75MSZYAIBVJ4JLoHuaGI4xz62anXU1RRuW31+nQ8Skw2Den0ZgHajsIOGIvxFWBJ sFgKhRoJmI2Al0F1rYGRLvs/qD651a8= Date: Tue, 2 Feb 2021 21:19:20 +0100 From: Borislav Petkov To: Amy Parker Cc: linux-kernel@vger.kernel.org, linux-gcc@vger.kernel.org, linux-kbuild@vger.kernel.org, Willy Tarreau Subject: Re: Alternative compilers to GCC/Clang Message-ID: <20210202201920.GA18106@zn.tnic> References: <20210202053307.GB28542@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 02, 2021 at 11:11:32AM -0800, Amy Parker wrote: > On Tue, Feb 2, 2021 at 8:26 AM Amy Parker wrote: > > > It compiles extremely fast, implements some subsets of gcc (a few > > > attributes for example), but is far from being able to compile a kernel > > > > Well, we'll see what I can do with that. :) > > Well, just installed it and tried building the kernel. Fails every file. :) > > It's definitely something to work towards - but I don't know if kernel > advancements requiring newer GCC versions will go slow enough to allow > TCC improvements to arise. This isn't just something like with Clang > where a few tweaks to files and to Clang itself did the trick. Maybe this'll help you find something to do: https://www.youtube.com/watch?v=iU0Z0vBKrtQ Yes, it would be lovely to be able to compile the kernel with tcc but it is not going to be trivial. Good luck. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette