From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F571C433E0 for ; Tue, 2 Feb 2021 20:22:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CFD3C64F60 for ; Tue, 2 Feb 2021 20:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233077AbhBBUWi (ORCPT ); Tue, 2 Feb 2021 15:22:38 -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