Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2024 12:55:48 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD ARM List <freebsd-arm@freebsd.org>
Subject:   Re: rust-1.76.0: build fails, bootstrap issue (aarch64)
Message-ID:  <CAFDf7U%2BkBO65kY=6NFdc%2BcH3jy53f5rm=3e-r=%2BYRW_vU40_PQ@mail.gmail.com>
In-Reply-To: <CAFDf7UKkb9gbfO3fN%2BEM=PZQFfY06BKmLkieH5ngQYzdRXQ3ZA@mail.gmail.com>
References:  <CAFDf7UKkb9gbfO3fN%2BEM=PZQFfY06BKmLkieH5ngQYzdRXQ3ZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(...)

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.to=
ml
> --verbose --verbose --frozen
> error: failed to run `rustc` to learn about target-specific information
>
> 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-na=
me
> --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=3Dfal=
se'?
>   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/bootstrap/=
bootstrap.py",
> line 1125, in main
>     bootstrap(args)
>   File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/=
bootstrap.py",
> line 1092, in bootstrap
>     build.build_bootstrap()
>   File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/=
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/bootstrap/=
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.to=
ml
> --verbose --verbose --frozen
> *** Error code 1
>
> Thanks,
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)



--=20
Nuno Teixeira
FreeBSD Committer (ports)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BkBO65kY=6NFdc%2BcH3jy53f5rm=3e-r=%2BYRW_vU40_PQ>