[Bug 281600] lang/rust failing to build on risc-v (again)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 281600] lang/rust failing to build on risc-v (again)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Sep 2025 14:19:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281600
--- Comment #51 from void@f-m.fm ---
(In reply to Ed Maste from comment #50)
> Rust is using the 12 ABI as of https://github.com/rust-lang/libc/
> commit/4bafe6b1df5ca3edac9ebc2d63d811d84a972a08 (Nov 2024).
A syscall error is still present without COMPAT_FREEBSD11:
[00:07:52] error: could not compile `libc` (build script)
[00:07:53]
[00:07:53] Caused by:
[00:07:53] process didn't exit successfully:
`CARGO=/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo
CARGO_CRATE_NAME=build_script_build
CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/lang/rust/work/rustc-1.89.0-src/vendor/libc-0.2.172
CARGO_MANIFEST_PATH=/wrkdirs/usr/ports/lang/rust/work/rustc-1.89.0-src/vendor/libc-0.2.172/Cargo.toml
CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI
bindings to platform libraries like libc.
[00:07:53] ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc'
CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=libc CARGO_PKG_README=README.md
CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc'
CARGO_PKG_RUST_VERSION=1.63 CARGO_PKG_VERSION=0.2.172 CARGO_PKG_VERSION_MAJOR=0
CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=172 CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps:'
/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc --crate-name
build_script_build --edition=2021
/wrkdirs/usr/ports/lang/rust/work/rustc-1.89.0-src/vendor/libc-0.2.172/build.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat
--crate-type bin --emit=dep-info,link -C embed-bitcode=no --cfg
'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)'
--check-cfg 'cfg(feature, values("align", "const-extern-fn", "default",
"extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std",
"use_std"))' -C metadata=f19e8b5709599e43 -C extra-filename=-29b083f089ead23a
--out-dir
/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/build/libc-29b083f089ead23a
-C strip=debuginfo -L
dependency=/wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/deps
--cap-lints warn -Zallow-features= -C linker=cc -Wrust_2018_idioms
-Wunused_lifetimes` (signal: 12, SIGSYS: bad system call)
[00:07:53] warning: build failed, waiting for other jobs to finish...
I'm running a poudriere jail builder for lang/rust now that has been built with
COMPAT_FREEBSD11 to see if rust completes.
--
You are receiving this mail because:
You are on the CC list for the bug.