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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8D71C77B73 for ; Sun, 21 May 2023 12:35:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7206585814; Sun, 21 May 2023 14:33:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JI2zUUeq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D27E28476F; Sun, 21 May 2023 06:59:32 +0200 (CEST) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 72319846FB for ; Sun, 21 May 2023 06:59:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=cfsworks@gmail.com Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1ae79528d4dso26226765ad.2 for ; Sat, 20 May 2023 21:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684645169; x=1687237169; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7eCKZ4NRAs50/TSLQV8l0boHTpZQmqF4Wj8tzc+xFZU=; b=JI2zUUeqhy1he5L7By0C7JoFq97gRakrexXdJZ/Dy9MB6gik8sz5x2uhVpSF8FS66K TVdna/xrE6kBumQbc2N+0I5wxa8scWBtie3+mg58b+juQJVQuTWC+50UJ86Wyep9p5tB UolKoP2sKwfMEAedHNaa/dtGI3yxAJzHs8XpjKxerWAoVp0Od3UG9tUvWslVEeEjEVzR 79mRsRFvU5yfD3541CVlhWgCm/n0NwzjLT35FonchTXq3kXPJ9sb80cT3Zleqn8/exOW VqClwc1UzK+8wYB53cDGRniht1p2XftcWb5lKxELoe/VIzkkd4OnRvCJpDEntQ7s0u60 6wIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684645169; x=1687237169; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7eCKZ4NRAs50/TSLQV8l0boHTpZQmqF4Wj8tzc+xFZU=; b=WZxydKE16a1i6JJvm3vkwWU+Vvj/hb4JMxiPGL5AK8y16y1a1jg1M+YYDJa4HhbUXL Plcg05o+7ELrKF/I29Otu7MYw8RB3qfs8jhhhugfFT9fc9rYpsD7WJU6UMXsrgV1nD0N 0nLvaZsgk+hx4oAn2Ez5BgBru7ziMyByXjCvgXA8LBFqZD/6UuMFx+okZrx5kBif9fO7 oK0LF2Hab9EG8zaYxRhYQAXmWezTGg2WJkp7ssf0Lr/eIgh7x1osl0m+EjmWiy8touM9 uxElk8uleIKDhgKD9zRbzFq06pMNc4fDyBsB0vAq4DiEGsKKuwoMUur6LiV6GxxQxe1c IAjA== X-Gm-Message-State: AC+VfDxb1cDJvaV0R7vi4FH4fEQ32veZuUggey6LfNqv6MJtbRenMR/2 HFPp9aeB7OFx0PSF7IFl6L4= X-Google-Smtp-Source: ACHHUZ4ROVEoa4o4VchGmkDkDJ1lgK6LZgIGfv4QDvOqkD6ejcPzi+KDkfNcrQOBlWhzJVHWTdC3cA== X-Received: by 2002:a17:902:f547:b0:1ac:8215:623d with SMTP id h7-20020a170902f54700b001ac8215623dmr10760039plf.0.1684645168617; Sat, 20 May 2023 21:59:28 -0700 (PDT) Received: from [10.64.107.252] (static-198-54-134-172.cust.tzulo.com. [198.54.134.172]) by smtp.gmail.com with ESMTPSA id i13-20020a170902eb4d00b001adf6b21c77sm2336844pli.107.2023.05.20.21.59.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 May 2023 21:59:28 -0700 (PDT) Message-ID: <2355e4a5-1474-5579-2171-8339226db14f@gmail.com> Date: Sat, 20 May 2023 22:59:26 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [RFC PATCH 00/10] Improve ARM target's support for LLVM toolchain Content-Language: en-US To: Heinrich Schuchardt , u-boot@lists.denx.de Cc: Alper Nebi Yasak , Andrew Scull , Ilias Apalodimas , Kever Yang , =?UTF-8?Q?Marek_Beh=c3=ban?= , Michal Simek , Nathan Barrett-Morrison , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Peng Fan , Philip Oberfichtner , Philipp Tomsich , Quentin Schulz , Simon Glass , Tom Rini References: <20230520205547.1009254-1-CFSworks@gmail.com> <23EFB5F3-C3F5-44BC-BB6D-730656F67578@gmx.de> From: Sam Edwards In-Reply-To: <23EFB5F3-C3F5-44BC-BB6D-730656F67578@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 21 May 2023 14:33:27 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 5/20/23 22:26, Heinrich Schuchardt wrote: > Hello Sam, Hi Heinrich! Good to hear from you. > I guess the documentation and the CI testing would also have to be adjusted. Ah, yeah, those are going to be big things for me to look at when this series starts to mature out of the RFC phase. CI is definitely important so that the hard-won compatibility doesn't just decay away. :) > What about non-ARM architectures? If there's a groundswell of demand for building U-Boot on LLVM, I'd be willing to collaborate with others on getting the other architectures up to parity with GNU. But since the linker scripts, relocation thunks, sections, and whatnot are all arch-specific, I'm only focusing on ARM for now (which is both the arch I need and one of the more common ones). Is there a particular arch you'd like to see next? It seems everything U-Boot supports is supported by LLVM, except for Microblaze, NIOS2, and SH. > Could you, please, describe how built with lld so that reviewers can test it. I've been building with: nice make CC='clang --target=armv7l-none-eabi' \ LTO_FINAL_LDFLAGS=-fuse-ld=lld LD=ld.lld OBJCOPY=llvm-objcopy ...though mostly at this stage I'm just hoping for folks to confirm that this patchset causes no regressions in their existing GNU environments. (Feedback from LLVM-land would be appreciated nonetheless, though!!!) > I find reviewing hard when receiving only 3 out of 10 patches. Oof sorry about that. I haven't actually joined the U-Boot mailing list yet so the other patches are probably caught in the moderation queue. I guess wait for moderation approval and see if the other 7 arrive then -- I can resend the whole series to you specifically if not. Cheers, Sam