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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C629CC25B08 for ; Wed, 17 Aug 2022 23:14:37 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M7P3v6WGnz3c7y for ; Thu, 18 Aug 2022 09:14:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=k1YA1pS6; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::236; helo=mail-oi1-x236.google.com; envelope-from=miguel.ojeda.sandonis@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=k1YA1pS6; dkim-atps=neutral Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M7P3973KFz2xrC for ; Thu, 18 Aug 2022 09:13:57 +1000 (AEST) Received: by mail-oi1-x236.google.com with SMTP id w197so16946623oie.5 for ; Wed, 17 Aug 2022 16:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=uAFZhRG94yqKesKWZYz5Nx3zn74jTlFRVSrtAcB7opM=; b=k1YA1pS6Eajn7sFpOI3x8NusjBtYGTLlphQCfOr2iifQhQYUaZT4rFqmLD/dnKP9b0 utTJIDqQJUQkYqpDPJEQSpJJyYNfgsMs6oM0rq19CKnK4L95D5GfF+cXJl8IGJgwp3zi l8/2VaIIRMi4bLQ4ldVdetEpn6sUd8H3RC0bDOEMLSdFLYf/pm6WA4p9f3FBAmB/9mNO Ya+2NapCpC+1bkSFyYgo9K7XUiXikWQMDF89oUPh4N7c7kSVCLVYfHFf4RX2YmQD/BJ+ RHahVZppC8tmZH9/nDlRSCFUHQ2Jjbnzz15ck+oNRgTfBuH2OYcBdWAaAK8ktADD0UsG Sepw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=uAFZhRG94yqKesKWZYz5Nx3zn74jTlFRVSrtAcB7opM=; b=UF1nZaL2V+7Og3Tw67GQxywVfgP3Zu5RCfbt2DHZMKLiaQV7NT5RGB2oU4XJcfY+w7 G2t32kJAJ1IgLzfgS2ydqs9WtHuBWQr7DimB4Wd9M+pVfGFE5VNkRcnA9ZuyR55nNvMW euunyPJsZ/heO+llWAHNA3Y2oHLmPPyFMvY5liUl12JoA1/O2XmPB0ilJvwAzH/uxOD7 l0emDJrGLwCIF5xLqiwZ/ZWV/PN1oQedBomh/pUPwWhEbQc1t2FYsXVnwMAmblR16tPb ZMmksLDX8HpcYR1W/kmixXWxNhZ7or5buxREX2jTSwW5B+UzX6TDNcFty0Ka46zfDwfD pmDg== X-Gm-Message-State: ACgBeo27SfnUJ4+cqrvZVJZNxv9AfSzuAXXhRR6kllRYv516qaA15Z3K I0z+CwdQnvuq+bSvdyG2SwGW5KqgJ4lndo1P8UU= X-Google-Smtp-Source: AA6agR5Gpv9Ub/ZSzw8wXnuwWJOg7P877U0UYF+ZIWdllhEPLwf7oW+lHlQM1was0sDQQVbiYoikM6dK3ZGBH+jke3Q= X-Received: by 2002:a05:6808:4d2:b0:343:dc3:fa31 with SMTP id a18-20020a05680804d200b003430dc3fa31mr176406oie.120.1660778034487; Wed, 17 Aug 2022 16:13:54 -0700 (PDT) MIME-Version: 1.0 References: <20220802015052.10452-1-ojeda@kernel.org> <20220802015052.10452-28-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 18 Aug 2022 01:13:42 +0200 Message-ID: Subject: Re: [PATCH v8 27/31] Kbuild: add Rust support To: Arnd Bergmann Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sven Van Asbroeck , Philip Herron , Catalin Marinas , "H. Peter Anvin" , Miguel Cano , Albert Ou , Paul Mackerras , Gary Guo , Douglas Su , linux-riscv@lists.infradead.org, Finn Behrens , Will Deacon , Martin Rodriguez Reboredo , Anton Ivanov , Richard Weinberger , Masahiro Yamada , x86@kernel.org, Russell King , Arthur Cohen , Ingo Molnar , Wedson Almeida Filho , Alex Gaynor , Antonio Terceiro , Miguel Ojeda , Palmer Dabbelt , Adam Bratschi-Kaye , Dave Hansen , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Boqun Feng , linux-um@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, =?UTF-8?Q?Bj=C3=83B_6rn_Roy_Baron?= , Tiago Lam , Borislav Petkov , David Gow , Paul Walmsley , Dariusz Sosnowski , linux-arm-kernel@lists.infradead.org, Michal Marek , Greg Kroah-Hartman , Nick Desaulniers , linux-kernel@vger.kernel.org, Boris-Chengbiao Zhou , Jarkko Sakkinen , Thomas Gleixner , Daniel Xu , Johannes Berg , Linus Torvalds Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Aug 17, 2022 at 5:51 PM Arnd Bergmann wrote: > > Thanks for the explanation. My hope was that building the kernel Don't mention it! > would actually be easier here than building the more complicated > rust user space. Yeah, the kernel is complicated for them in different ways, so I assume they will decide which bits to tackle first... Hopefully I will succeed in my attempts to convince them to focus a bit on the kernel at least ;) > I tried one more step and just removed the unsupported command > line flags to see what would happen, but that did not get me any > further: Thanks! It looks like it failed when compiling the target spec generator, which is a Rust host program. If they were to attempt the GCC Rust support early on, we could make things easier for them by not compiling host programs with gccrs. By the way, feel free to remove all the `-D` flags ("denying") when playing with it since they are related to diagnostics (making lints errors that can still be bypassed if needed), in case the crash is about handling those. Cheers, Miguel