From nobody Thu Feb 22 07:06:26 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TgPMb0R22z5C3XL for ; Thu, 22 Feb 2024 07:06:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-23.consmr.mail.gq1.yahoo.com (sonic311-23.consmr.mail.gq1.yahoo.com [98.137.65.204]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TgPMY4JXzz4Msh for ; Thu, 22 Feb 2024 07:06:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=VqaRSPIO; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.204 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708585602; bh=x15etsGSHrbYZ6vPD3vxubojvlBebrAzHg9uLgS+4Fc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=VqaRSPIOEMRaiB88Uq+NF1YWuHwP1pyI+a5FTqlI16U5ZbtnLvzgE3w1GxkzGZuE7bXgwoxTP1cfFGYBWE1N3h+Aajsbw4pZmahitCOcD/fOOHebPcVSK0ZX/DXWZHs/H3QixKszO1mzmcNAj2CLaNi6GUI5fmatPpORhGwBr1mTRlESfxZPGxK9a5tr1He1uU2Sq0EpR/Ewb+UF3vEaeC/Uxfvx11hV4WVfVozREkxv6R5Gy7oaggZ1pWR2+6CYGlVyVyP9skafDd+nbsstoUk90/pg76krPH4lHFpX7pnER/n1/rslJwo8b6N8e83FU9caxwEChoZo6N31nfWHGA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708585602; bh=zM+j6WsFDSNi+R0JsH/d/mu1ZD7toBmt3HFlriC9Nuv=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=QE9yf3l5LiMo9d/KjJDV4+GOBI0KdzITDrRmSSt4+Qge7TlTBQ5bdjNHDLMtMQj2zWstA3Zq6WdEhAmtcMQHvGna1JlPbVwCCQztRmTfHAiypd+BDej5xyqwXu1aV3vmuWFF3vyzEjODZCwwjRHEZg3/WepnYddH+lFTJYzF9RB+BwQGSG04/gyow4sjy442zZGUGO/BTCkXx1K4Jzg+i/ARdHT2K8zYHt8eWFoFZG4pTsLH+Grytpp2vqMmepEd6CeZTxbKoLl937e/4Fuxb/LYwGJKOijN6kk0ytG+jwNLEm9/EDx+NJ60SWaNn/oZjI9CB1uSwFWQ/mrOcqOP8w== X-YMail-OSG: jo2kFv8VM1lBhAeH1zU7BJyjLgnLmB.le44rg0yufBlxzxQafpVA68w3jbFQ98h naIt1gnewDzWq.yhEqHr7m57k3QXfgMvweONlsO1AIDoRRUEZCnxTtZ5u156ddyb0ft_6NqEqGLa XSwkaGx7.35eYsP.MqgWnu6R4UiNW9Q7e2CwdQoBLR6WeQTtFBkX_7TsS4ATB74_OJq8p8HtkBFT ugfYpastyq4g.nMHs7DThWmgoEOFCP84pBpvBe9zb3XlgWbOyoS2h7p5U7FJrRkrXIPnewFGM5hO W.bDGrz70Ml8fIvp_OTMchBp4vxMHiOJWSM5SejYr4LoH.YWTdZhVsepxpCXJon_2CtH1Lc7MPLC 3XWGkyrVEbCIXsVSYlImMuTQpC3Qx_pjWrhooVJHjNh956FkwhvI9A2JH5aP97XVe89iRbr830gT us1NNLXlhTBsjjeT49q2dJf3HdpeTU2vWoCqQK5MYa1HrFGAbgLxu_tN4tLyykLp9TQVCzjgCo_M qRfDlLI3cugzoCKAoGG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cHw951HtWWH04HT_hAl6WmJXhTnlrvi7pkcMkeY5BMqO5YSjzi7AJui3egkjito aNmHhLTE17clVhbRrZCZvYz4FA3_w9HjNaeWu8BuBwlDtXdBsrxc06aeCmUyiC4xPN99t2trEM8g jQTVz_7eTEncs30dTmOf8EPkpBjKkbMp5M4Da.dDw0iy1PQPWwrIZjEYUWt7EbXNOQ9kNqyawCoW XMCyOsbuK4EyVkYqT00RH5xxrG1UppHJF3HRvUSUe4yAUNv0mlozQ1JzxRr4TQMmNIN1xqPM19zW bmsCLPMPUrBdvoU74Yn3k9DGny0jyqmJsCM0dkoW.jy60emHw7EZceK0.QEWc2j6ffx6yl9DI4Bj ifHnFTm8zyvAXEzl_3ifM8tiU.CjNWSPFSIPOwF6KUNFTvD0pbTCMKQw4SWwL5a20HGPzul_ZTxQ Nu5LVng8YYTccJhSn_PO3f7m7mUVlD6DKWS0Z0juCfg6ybGyQqIj9QNgCXdD9_8Jzc.3rWDxyBkz 1AQrVvIUsFxzqSZgCOzxNKjHBwXEHSQyQi4qCun1mIlXFbTmDRvmhCkK8gggJGgBXhxASHJJLS34 FSAdAiAjrVzhpcZySQfAR0JtR_EEnJ68PKnb3NnQzvwEpg6mnr2FyiRxSYhg5hgf_uUwgIWcQVql rSkk3Il3Pt6SAbLaqf3ojBZ8ipkP.gMKHdQSx4qWcyMuAzrPLQhGUMF5WbnoRBLPsEe0PoWbeSg- - X-Sonic-MF: X-Sonic-ID: d9dd4642-5838-4a97-b35f-4bcd02aed09c Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Thu, 22 Feb 2024 07:06:42 +0000 Received: by hermes--production-gq1-5c57879fdf-vxz7c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4b4d689839502d509d6fbf162b608621; Thu, 22 Feb 2024 07:06:37 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: rust-1.76.0: build fails, bootstrap issue (aarch64) [armv7 okay] From: Mark Millard In-Reply-To: <307B3379-4F13-46FF-9AEE-914C50EEF48E@yahoo.com> Date: Wed, 21 Feb 2024 23:06:26 -0800 Cc: FreeBSD ARM List , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: <97A81410-BBC2-4131-B47D-34E725120A03@yahoo.com> <307B3379-4F13-46FF-9AEE-914C50EEF48E@yahoo.com> To: Nuno Teixeira X-Mailer: Apple Mail (2.3774.400.31) X-Rspamd-Queue-Id: 4TgPMY4JXzz4Msh X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.86 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.86)[-0.856]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[yahoo.com:+]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.204:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.204:from] On Feb 21, 2024, at 20:28, Mark Millard wrote: > On Feb 21, 2024, at 18:51, Mark Millard wrote: >=20 >> On Feb 21, 2024, at 04:55, Nuno Teixeira wrote: >>=20 >>> (...) >>>=20 >>> Same error on 14.0-R >>>=20 >>> Nuno Teixeira escreveu (quarta, 21/02/2024 = =C3=A0(s) 12:10): >>>>=20 >>>> Hello all, >>>>=20 >>>> Could anyone do a rust-1.76.0 build on aarch64? >>>>=20 >>>> It seems that it can't bootstrap. >>>> Following error log is from current 81dc3a4 (yesterday). >>>>=20 >>>> I also waiting from result from 14.0 on same osversion (poudriere). >>>>=20 >>>> =3D=3D=3D> Building for rust-1.76.0 >>>> Building bootstrap >>>> running: /wrkdirs/usr/ports/lang/rust/w >>>> ork/bootstrap/bin/cargo build >>>> --manifest-path >>>> = /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/Cargo.tom= l >>>> --verbose --verbose --frozen >>>> error: failed to run `rustc` to learn about target-specific = information >>>>=20 >>>> Caused by: >>>> process didn't exit successfully: >>>> `/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc - = --crate-name >>>> ___ --print=3Dfile-names -C linker=3Dcc -Wrust_2018_idioms >>>> -Wunused_lifetimes --crate-type bin --crate-type rlib --crate-type >>>> dylib --crate-type cdylib --crate-type staticlib --crate-type >>>> proc-macro --print=3Dsysroot --print=3Dsplit-debuginfo = --print=3Dcrate-name >>>> --print=3Dcfg` (exit status: 1) >>>> --- stderr >>>> rustc -Cllvm-args=3D"..." with: Unknown command line argument >>>> '-generate-arange-section'. Try: 'rustc -Cllvm-args=3D"..." with >>>> --help' >>>> rustc -Cllvm-args=3D"..." with: Did you mean '--print-all-options'? >>>> rustc -Cllvm-args=3D"..." with: Unknown command line argument >>>> '-mergefunc-use-aliases'. Try: 'rustc -Cllvm-args=3D"..." with = --help' >>>> rustc -Cllvm-args=3D"..." with: Did you mean '--rng-seed'? >>>> rustc -Cllvm-args=3D"..." with: Unknown command line argument >>>> '-preserve-alignment-assumptions-during-inlining=3Dfalse'. Try: = 'rustc >>>> -Cllvm-args=3D"..." with --help' >>>> rustc -Cllvm-args=3D"..." with: Did you mean = '--print-all-options=3Dfalse'? >>>> rustc -Cllvm-args=3D"..." with: Unknown command line argument >>>> '-import-cold-multiplier=3D0.1'. Try: 'rustc -Cllvm-args=3D"..." = with >>>> --help' >>>> rustc -Cllvm-args=3D"..." with: Did you mean '--sort-timers=3D0.1'? >>>> Traceback (most recent call last): >>>> File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/x.py", = line >>>> 50, in >>>> bootstrap.main() >>>> File = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstra= p.py", >>>> line 1125, in main >>>> bootstrap(args) >>>> File = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstra= p.py", >>>> line 1092, in bootstrap >>>> build.build_bootstrap() >>>> File = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstra= p.py", >>>> line 880, in build_bootstrap >>>> run(args, env=3Denv, verbose=3Dself.verbose, cwd=3Dself.rust_root) >>>> File = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstra= p.py", >>>> line 187, in run >>>> raise RuntimeError(err) >>>> RuntimeError: failed to run: >>>> /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build >>>> --manifest-path >>>> = /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/Cargo.tom= l >>>> --verbose --verbose --frozen >>>> *** Error code 1 >>=20 >> I can confirm that my attempted poudriere-devel based build on an >> aarch64 main [so: 15] got the same errors. >=20 > I started an armv7 poudriere jail build of lang/rust v1.76 and > it is building okay so far: >=20 > . . . > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0 > =3D=3D=3D> Building for rust-1.76.0 > Building bootstrap > running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build = --manifest-path = /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/Cargo.tom= l --verbose --verbose --frozen > Compiling libc v0.2.150 > Compiling proc-macro2 v1.0.60 > Compiling memchr v2.5.0 > Compiling cfg-if v1.0.0 > Compiling quote v1.0.26 > Compiling unicode-ident v1.0.0 > Compiling typenum v1.15.0 > . . . > [ 48% 1572/3236] Building CXX object = lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/EPCGenericDylibManager.c= pp.o The armv7 build finished: [03:02:51] [01] [02:29:06] Finished lang/rust | rust-1.76.0: Success The official builders' logs show for rust 1.76.0 : i386 built fine: = http://beefy17.nyi.freebsd.org/data/main-i386-default/p3229bb06d7d7_sb2417= 67f8e/logs/rust-1.76.0.log amd64 built fine: = http://beefy18.nyi.freebsd.org/data/main-amd64-default/p3229bb06d7d7_sb241= 767f8e/logs/rust-1.76.0.log (but beefy18 now is not responding so I can not double check that) (Warning the log files are large. Display in a web browser may not be = reasonable.) Looks like the problem is aarch64 specific in some way. =3D=3D=3D Mark Millard marklmi at yahoo.com