From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6D0wJ7Twv2FzdQEAgWs5BA (envelope-from ) for ; Mon, 20 Dec 2021 03:55:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KP7FIrTwv2E4ZQAAbx9fmQ (envelope-from ) for ; Mon, 20 Dec 2021 02:55:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40117140D9 for ; Mon, 20 Dec 2021 03:55:48 +0100 (CET) Received: from localhost ([::1]:58150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz8q2-0005fe-4u for larch@yhetil.org; Sun, 19 Dec 2021 21:55:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz8pj-0005eb-2L for help-guix@gnu.org; Sun, 19 Dec 2021 21:55:27 -0500 Received: from [2607:f8b0:4864:20::82a] (port=42738 helo=mail-qt1-x82a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz8pg-0001gv-VS for help-guix@gnu.org; Sun, 19 Dec 2021 21:55:26 -0500 Received: by mail-qt1-x82a.google.com with SMTP id z9so8513890qtj.9 for ; Sun, 19 Dec 2021 18:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NEkKKxMyWySGDPIucdWl7dXj4R2p4+DbP668kD3VXU4=; b=croqiFgXsfjjjfXc+cklnDKWZdvVzq2IBGTEz+xGuDeyUXHfxN8bb9KCg/k32lt+yT HrQ7MWN62d2DEhX/TnangzhDpVBkjQekouH358eQMHToS3LXy7R4FG28wsjzyn8Vq8WS yLMyXgeChcL6Daz6H9f+hz8TayvZrNP0eVMbUtqqiTsbxf4lB+FH9CPWxTTWhuKkVyeE 26wDp9JXbLX160KAnxMk/ZK2Yfaou76XzFdedAzYIMSSlG0rAIpBjkXBacx8WcXcxQKj dfIGClctb/3sKKkFyY4jxjMpUnBAbQ7o7Plfurxx4UAM2O8O/G9poGM+3r2V7yvGfrUj 3ZJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=NEkKKxMyWySGDPIucdWl7dXj4R2p4+DbP668kD3VXU4=; b=j9gFyoo8QH3NZPskSF8cHtv0msLf3qLEh6pyqck8fcC/mWbrj9lEVMxtHBHbEXY3Kn Yk3PsdX8L51N+Pv62BSoHMlTTlV/6xY6qzk/3AueIqTezJBfzr7wu8ZOU7yxh/Vlrqz9 akZCUPRh6ZPE0jx/f5OB0sj2wGLvcrrlV07Gev7LCEY6iru7ZgB8eu6ELNSj7lXUQzqX zHMc0Wnrtf9SYV74Z+DXqaDDdYqxMvwEnUbYSzhlN8ilyqzGlxQqSmYII+KemZA6govh ms5X44A8x7+LWq8XTY8PqcPCyUM7Gte7hK+F0PAnlR2abAMxWc5fslULn9H2RVqRs+yj 1A9A== X-Gm-Message-State: AOAM533T5gRpHQkdRXRt4DcUIfOSlksl4thtDtwrTRqj+znllUEHXi8S T24CA6yvjN8qB1j4g0thFTpeYAxGPec= X-Google-Smtp-Source: ABdhPJw7xrLTQDnkpi0PwQgha4nYF00J/TdlMrnZmF9m0llGlEGu8tpNCnQUD+4HYjbUpui9suU2tg== X-Received: by 2002:ac8:5946:: with SMTP id 6mr10758638qtz.373.1639968922652; Sun, 19 Dec 2021 18:55:22 -0800 (PST) Received: from hurd (dsl-10-133-19.b2b2c.ca. [72.10.133.19]) by smtp.gmail.com with ESMTPSA id t30sm10172772qkj.125.2021.12.19.18.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Dec 2021 18:55:22 -0800 (PST) From: Maxim Cournoyer To: phodina via Subject: Re: Aarch64 build of rust-1.39.0 fails References: <03dH3EelmiQdYTJqTSLQYf_eB7j9uheDFeDNQS66yUacJ7XXjRyHwLU23SQzAhvT0I1xQ1m40P2DPKa5S7SbfQrAsqGCjzg-niw-rOLgo50=@protonmail.com> Date: Sun, 19 Dec 2021 21:55:21 -0500 In-Reply-To: <03dH3EelmiQdYTJqTSLQYf_eB7j9uheDFeDNQS66yUacJ7XXjRyHwLU23SQzAhvT0I1xQ1m40P2DPKa5S7SbfQrAsqGCjzg-niw-rOLgo50=@protonmail.com> (phodina via's message of "Thu, 16 Dec 2021 13:14:13 +0000") Message-ID: <87k0g02deu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::82a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639968948; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NEkKKxMyWySGDPIucdWl7dXj4R2p4+DbP668kD3VXU4=; b=EIJIHg1WaF0IX2rYRszXJMrBDiUQrk0pEuGEQDMHC+41cF6E2yLWy5fCoRUvvsqPUBTWE6 xzTVREFefgj5SGM1NivCwwTzxJTFciTNOJyMl4D0y+gOC93jvnqLoSyxu4An4N9JSkIfAQ ThfEbevENjZ4s5Je9joFY1v7va7uCPEGeEKUKuohGpva3X4SDldG+ktXjR8JuIxz03S70t UmzZrYoRMIsLVJzZ2RdI4R0BS0g4sNkz1LxR2lqXiSKl+NlsEi6De6trhJC4xvWbKMQCen h85/6nR2KSu1JJ2fT3MZ873J33s7YR92Oc+9bBZfM+LuvRICOxDu9CWH69HLEw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639968948; a=rsa-sha256; cv=none; b=K93LabTbR9bBKGjj3sTrwB7KGLkJQVMWkx7IDJCELAQT5Jr0fAAB+fY1nnLzMNfgLOBuXY QrwyfIl0L9CrbADUxhT7IWpNo7jEdSPVD7PPuNpoKqfH0SLORbjP5cR37rpUjniGAbkoti c0/aQwISzN6ro9ay4Mix19q4H8W1H1cCDR6rLjuOLAByp8FvUjF9HbsWZ+1dVCf461ZU/4 aITZgEYebvRIfszlTfuy6V5T2Rqro3KTDQ1nHl4nHAK9nHH+QTjsAm+UNhhMuiYSxx1qSk AKE4+Kd2vCPjCCrLBRFpHGAYKgASsE6e3f575Jv3rKQXisKSY9cVKI/msv5c2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=croqiFgX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=croqiFgX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 40117140D9 X-Spam-Score: -2.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: PF3hSs4JLfHU Hi, phodina via writes: > Hi, > > I checked the build server and there were no substitutes [1] for > rust-1.39.0 for the Aarch64 system. > > When building natively (Pinebook Pro) there is this problem: > > $ uname -a > Linux valhalla 5.14.9-gnu #1 SMP PREEMPT 1 aarch64 GNU/Linux > ~/guix$ guix build rust -K > ... >> /tmp/guix-build-rust-1.39.0.drv-0/mrustc/bin/mrustc > rustc-1.39.0-src/src/libcore/lib.rs -o output/libcore.rlib > --crate-name core --crate-type rlib -C > emit-depfile=3Doutput/libcore.rlib.d --crate-tag 0_0_0 -g --cfg > debug_assertions -O -L output --edition 2018 > rustc-1.39.0-src/src/libcore/slice/mod.rs:67: warn:0:Unexpected > attribute allow_internal_unstable on associated item > rustc-1.39.0-src/src/libcore/str/mod.rs:2173: warn:0:Unexpected > attribute allow_internal_unstable on associated item > In file included from output/libcore.rlib.c:7: > output/libcore.rlib.c: In function > =E2=80=98ZRQG2ch4core50_0_03ffi10VaListImpl0g2cb05clone5Clone0gb30g=E2=80= =99: > output/libcore.rlib.c:219717:10: warning: passing argument 1 of > =E2=80=98__builtin_va_copy=E2=80=99 from incompatible pointer type > [-Wincompatible-pointer-types] > 219717 | va_copy(var3, arg0); > | ^~~~ > | | > | struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g ** > output/libcore.rlib.c:219717:10: note: expected =E2=80=98__va_list *=E2= =80=99 but > argument is of type =E2=80=98struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g= **=E2=80=99 > output/libcore.rlib.c:219717:16: error: incompatible type for argument 2 = of =E2=80=98__builtin_va_copy=E2=80=99 > 219717 | va_copy(var3, arg0); > | ^~~~ > | | > | struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g * > output/libcore.rlib.c:219717:16: note: expected =E2=80=98__va_list=E2=80= =99 but > argument is of type =E2=80=98struct s_ZRG2ch4core50_0_03ffi10VaListImpl0g= *=E2=80=99 > C Compiler failed to execute - error code 256 > Process exited with non-zero exit status 1 > BUILD FAILED > make: *** [minicargo.mk:82: output/libstd.rlib] Error 1 > error: in phase 'build': uncaught exception: > %exception #<&invoke-error program: "make" arguments: ("-f" > "minicargo.mk" "output/rustc" "-j6" > "RUSTC_TARGET=3Daarch64-unknown-linux-gnu" "RUSTC_VERSION=3D1.39.0" > "MRUSTC_TARGET_VER=3D1.39" "OUTDIR_SUF=3D") exit-status: 2 term-signal: #f > stop-signal: #f> > phase `build' failed after 1006.4 seconds > command "make" "-f" "minicargo.mk" "output/rustc" "-j6" > "RUSTC_TARGET=3Daarch64-unknown-linux-gnu" "RUSTC_VERSION=3D1.39.0" > "MRUSTC_TARGET_VER=3D1.39" "OUTDIR_SUF=3D" failed with status 2 This is not a Rust but a (known) mrustc issue, which is used to bootstrap Rust starting at version 1.39.0. It currently only supports x86_64, although the author is interested in enabling support for other architectures (a WIP). Thanks, Maxim