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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8556AC3F6B0 for ; Wed, 17 Aug 2022 23:14:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238938AbiHQXN7 (ORCPT ); Wed, 17 Aug 2022 19:13:59 -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-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 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" Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7C035C25B08 for ; Wed, 17 Aug 2022 23:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3XLDvXP0KoRHewhCTWptt7kK41zwitnYZDGCkfTU0dI=; b=u+VoFqy3i8w2sm Usb27EnjFUQQAulICF6XUr9GgxrwiqGP9zKyo8OjAE7iQKkLIiXMm7KPrILV1SA7oxWsJEScQtfFG U9Vu8UvcmHRJ8yj5ijf/eXdPPZCwpHFDKCKBRxiVRjRPxGjWvX60nX9l5W++kRbmJCF/GNQ/TL7le ng8AUoRh4tAOSqsziOxDS0sAKHC+DRJRXS9zT4YMYRUOrPwk+1U0mC66+6XYA6Fo0dSOXAJ6GYPTd F5obtI1aFEXAgl9XNo4vlGSg6Od8iHSQ5BfkbaPImCbjSRIpfzLTEcC/DJxeJElKfF/KLywPNeYDu LbJVxDZHpI32dG4LLxVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOSEZ-008Lb6-Lk; Wed, 17 Aug 2022 23:13:59 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOSEW-008LYi-NQ; Wed, 17 Aug 2022 23:13:58 +0000 Received: by mail-oi1-x22b.google.com with SMTP id v125so2284896oie.0; 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=JAcvb6bUrrNqJHW6u7YwPi2E/nvJttBGxtqb3tBjdOPCvKVUBecw8Aqz+v2MeOMW/o 3ZW2pdRckitProoOfNY6FxwcGXC/hoNK4U5i04nfd8avcpt6l2wqNl9blbLzasWvQqWS tMlx2GsWESRvv6iRp0MJwsYqYX5NdWoXz9Q3b6G6zv+wXdIqbmrG3Z1dlRU8VvqIPews 6gB11Rtok6/Fh/jU1JlINNTI02mVnsm9kIW6dhJ6teq3V3iensSFHhhus5Tylev7yo7v 2fnJ2Z+7kMo00zHWfkCTnOGlLdqWjHAkrwaOyDx2zFryP5l/MzU6z9Oy5n5nTo0lF5RJ oA6Q== X-Gm-Message-State: ACgBeo0yiymTyIuRf9xk4+MjVNHh7asWgremZYTt2DnlF75eKYj6Zp8V BX9x5fBZ9vnUA0rhl5WhD5UxvGzauLE1eZQopC4= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_161356_809531_0FEF19FB X-CRM114-Status: GOOD ( 16.65 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org 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 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 _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um