Date: Thu, 22 Feb 2024 08:20:40 +0000 From: Nuno Teixeira <eduardo@freebsd.org> To: Mark Millard <marklmi@yahoo.com> Cc: FreeBSD ARM List <freebsd-arm@freebsd.org> Subject: Re: rust-1.76.0: build fails, bootstrap issue (aarch64) Message-ID: <CAFDf7UJuuea0otwiFFjytt11NfYmEQVjFXRTnAdMp=-z=498Lw@mail.gmail.com> In-Reply-To: <97A81410-BBC2-4131-B47D-34E725120A03@yahoo.com> References: <CAFDf7UKkb9gbfO3fN%2BEM=PZQFfY06BKmLkieH5ngQYzdRXQ3ZA@mail.gmail.com> <CAFDf7U%2BkBO65kY=6NFdc%2BcH3jy53f5rm=3e-r=%2BYRW_vU40_PQ@mail.gmail.com> <97A81410-BBC2-4131-B47D-34E725120A03@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Mark, Thanks for confirmation. I've opened an PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277220 Cheers, Mark Millard <marklmi@yahoo.com> escreveu (quinta, 22/02/2024 =C3=A0(s) 02:= 51): > > On Feb 21, 2024, at 04:55, Nuno Teixeira <eduardo@freebsd.org> wrote: > > > (...) > > > > Same error on 14.0-R > > > > Nuno Teixeira <eduardo@freebsd.org> escreveu (quarta, 21/02/2024 =C3=A0= (s) 12:10): > >> > >> Hello all, > >> > >> Could anyone do a rust-1.76.0 build on aarch64? > >> > >> It seems that it can't bootstrap. > >> Following error log is from current 81dc3a4 (yesterday). > >> > >> I also waiting from result from 14.0 on same osversion (poudriere). > >> > >> =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= .toml > >> --verbose --verbose --frozen > >> error: failed to run `rustc` to learn about target-specific informatio= n > >> > >> 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: 'rust= c > >> -Cllvm-args=3D"..." with --help' > >> rustc -Cllvm-args=3D"..." with: Did you mean '--print-all-options=3Df= alse'? > >> 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 <module> > >> bootstrap.main() > >> File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstra= p/bootstrap.py", > >> line 1125, in main > >> bootstrap(args) > >> File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstra= p/bootstrap.py", > >> line 1092, in bootstrap > >> build.build_bootstrap() > >> File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstra= p/bootstrap.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/bootstra= p/bootstrap.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= .toml > >> --verbose --verbose --frozen > >> *** Error code 1 > > I can confirm that my attempted poudriere-devel based build on an > aarch64 main [so: 15] got the same errors. > > > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > --=20 Nuno Teixeira FreeBSD Committer (ports)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJuuea0otwiFFjytt11NfYmEQVjFXRTnAdMp=-z=498Lw>