Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5359432rwb; Wed, 17 Aug 2022 16:22:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR7sWezw+wpOwWfZGpeyXLQ7/p7Tj/yYXWVGx9iRpnQqQ5jsXRuPqP1GfkAGNnwYgDzDF/sO X-Received: by 2002:a05:6402:51d4:b0:43d:9c8e:2617 with SMTP id r20-20020a05640251d400b0043d9c8e2617mr287889edd.146.1660778573592; Wed, 17 Aug 2022 16:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660778573; cv=none; d=google.com; s=arc-20160816; b=xExvjIYwwaQtG9pd/NNY5UWlkDg/P6gN0y/AAaPJaPzioS+kJDtq55V3Y1aI9nW5/z QEwa9SDQ3f+9aSWe2dJ8geyHJoxlv9zAumPhQzM5/2VkukhTtss6mDv3vHMT70ykodXZ 7qX2V9b4TXEeP7Xyhtqj2qE8w4hGdFZZcfVkjKlyLUZLwWvEowl0rQEzAKRpW8DbT/9l 8CceCBEmJHDEO+kvMswlOgIWjo4x1BiyyDBfJhMnE8kQ2aaEb9sYbEXufSWhAF2pRV62 dJChUVRxU9Gk0Vqw2Nl9I0yxZNuHCA/raLoLUqhlCyGoT8VxQGhGQmvNnfx3SSCwul8Z wpAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uAFZhRG94yqKesKWZYz5Nx3zn74jTlFRVSrtAcB7opM=; b=F1AOmYxraLqPJcIvKkDRqq+BS1gi8xr0GYz+Hu7d7zi/+LYmlKKqUSgSLRb2BU1gWs 8rrcISCjC9IIYmreuuc4FkfUB27CjAASCdUHtI8G72ZdvZ+fd7VjIUFWdyAWp+/OxR/m /q+3RmzKt2EPjkJud4C2V5xFO/W2hC907+TljVdP8G7tN6TLQIvQt5UzNzpKzPY5Bu3l 5a1fmeUOJd24mD1XNN0Llr2WxhM7Ybg7KFd7fN4gSgN7wf3OVmAskTHikteHPcrX9LMq rFJyyA4ieLf1Un1gwPfu5u/S2Y8ybN8dwTXGZzAQb2qpATyG/KlhuULbD7gk21U0MDgh Yp/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k1YA1pS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020aa7cf17000000b0043da02044f2si35769edy.394.2022.08.17.16.22.26; Wed, 17 Aug 2022 16:22:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=k1YA1pS6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238746AbiHQXOA (ORCPT + 99 others); Wed, 17 Aug 2022 19:14:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233622AbiHQXNz (ORCPT ); Wed, 17 Aug 2022 19:13:55 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2779483BDD; Wed, 17 Aug 2022 16:13:55 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id o184so16912925oif.13; Wed, 17 Aug 2022 16:13:55 -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=RiyLLm276x/7CZRCX8/2ftpny0ADxc0vq9W889vlBURYq1yJzPlH+zPtMGiI0oT1Vn 3e8C/BKlr8MO9YT8Sec/e+QOjnX0rU8Re/EFwMuRZBEp2UrsYSX6tQI/MURYYS6ieD/Y wuoDRjHXFC1kGiW9XsdT6sX9+qxy4ilNLJHAHlHpEn2Lfyl712TxZL3T2GAd5OJXSVT+ DUKh+Y22iq+kx0ajfmoXVZjyq7cej9vIbbObBWlFQp20yqyMmH8ELUnB21GbnEl2oPzY BKX7Wf7Y3KDOvLOVf2aVEzktdstPjB2/mS5kJV7OeNyW/No75WhUmCDCleU8/s7A9rVO HxAg== X-Gm-Message-State: ACgBeo0KIftU54vWa5ZfjM7BIs4wzM/f/mAExkpFnNEEpSs3+LUwICcA +zPiXpbCf7dylLxWsWdesq4QsZYoSoSDmg7ZIE8= 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 Cc: Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , Sven Van Asbroeck , Catalin Marinas , Dave Hansen , Miguel Cano , Paul Mackerras , Gary Guo , Douglas Su , Borislav Petkov , linux-riscv@lists.infradead.org, Will Deacon , Martin Rodriguez Reboredo , Anton Ivanov , "H. Peter Anvin" , Masahiro Yamada , x86@kernel.org, Russell King , Ingo Molnar , Wedson Almeida Filho , Alex Gaynor , Antonio Terceiro , Adam Bratschi-Kaye , Albert Ou , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Boqun Feng , linux-um@lists.infradead.org, =?UTF-8?Q?Bj=C3=83B_6rn_Roy_Baron?= , Michal Marek , Daniel Xu , David Gow , Paul Walmsley , Dariusz Sosnowski , linux-arm-kernel@lists.infradead.org, Tiago Lam , Thomas Gleixner , Nick Desaulniers , linux-kernel@vger.kernel.org, Boris-Chengbiao Zhou , Jarkko Sakkinen , Palmer Dabbelt , Richard Weinberger , Finn Behrens , Johannes Berg , linuxppc-dev@lists.ozlabs.org, Philip Herron , Arthur Cohen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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