pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rust: use system libunwind
On 1/15/24 06:25, Adam Ciarciński wrote:
Module Name: pkgsrc-wip
Committed By: Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By: adam
Date: Mon Jan 15 13:25:19 2024 +0100
Changeset: 4435fd3d9a1cb0f77c2ac3bc00a651986f8e9f10
Modified Files:
rust175/options.mk
Log Message:
rust: use system libunwind
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4435fd3d9a1cb0f77c2ac3bc00a651986f8e9f10
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust175/options.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diffs:
diff --git a/rust175/options.mk b/rust175/options.mk
index a92c7d88f1..d1204912cc 100644
--- a/rust175/options.mk
+++ b/rust175/options.mk
@@ -41,9 +41,10 @@ PKG_OPTIONS_LEGACY_OPTS+= rust-llvm:rust-internal-llvm
.if empty(PKG_OPTIONS:Mrust-internal-llvm)
# External LLVM must be >= 15, ref. RELEASES.md
BUILDLINK_API_DEPENDS.llvm+= llvm>=15
+.include "../../lang/libunwind/buildlink3.mk"
.include "../../lang/llvm/buildlink3.mk"
CONFIGURE_ARGS+= --enable-llvm-link-shared
-#CONFIGURE_ARGS+= --llvm-libunwind=system
+CONFIGURE_ARGS+= --llvm-libunwind=system
CONFIGURE_ARGS+= --llvm-root=${BUILDLINK_PREFIX.llvm}
.endif
FYI, this does not work on Lubuntu 23.10. Tail of the build output below.
Removing
CONFIGURE_ARGS+= --llvm-libunwind=system
fixes the build.
===
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C"
PATH="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/.cwrapper/bin:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/.buildlink/bin:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/.gcc/bin:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/.tools/bin:/home/bacon/Pkgsrc/pkg/bin:/home/bacon/Pkgsrc/pkg/bin:/home/bacon/Pkgsrc/pkg/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/bacon/Pkgsrc/pkg/bin:/home/bacon/Pkgsrc/pkg/bin"
VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustciGiG69/list"
"-Wl,--no-undefined-version" "-m64" "/tmp/rustciGiG69/symbols.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.00.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.01.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.02.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.03.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.04.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.05.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.06.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.07.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.08.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.09.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.10.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.11.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.12.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.13.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.14.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.std.20d0122ca182c1f9-cgu.15.rcgu.o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.42nu0ne0uus9i0kv.rcgu.rmeta"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/std-332a9c262c07cdcc.4o6xms2byjghilr1.rcgu.o"
"-Wl,--as-needed" "-L"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps"
"-L"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/release/deps"
"-L"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-9759d073f2f26727/out"
"-L"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib"
"-Wl,-Bstatic"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libpanic_unwind-4fcc1b6499b0a41b.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libobject-bcdf079bb57ce576.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libmemchr-c34929fe109b1843.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libaddr2line-7882f09625e65fe5.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libgimli-5bc0e2dbd6ad9aca.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-720e01426455f276.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libstd_detect-9c831a3c4dc9c2b3.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libhashbrown-4d03e5662f092227.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_alloc-ead363fb14adbd26.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libminiz_oxide-8b5104886866b15c.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libadler-3bd57375896b5450.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libunwind-d82b42748e11cba3.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcfg_if-3fded376348e70c7.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liblibc-ae9f45677063d650.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liballoc-ae7881a5ce1b581e.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-e7e91f9e38782d6c.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcore-4432853a6da2a875.rlib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-604f7be089975ee9.rlib"
"-Wl,-Bdynamic" "-lunwind" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl"
"-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib"
"-o"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libstd-332a9c262c07cdcc.so"
"-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
"-Wl,-z,origin" "-Wl,-rpath,/home/bacon/Pkgsrc/pkg/lib"
= note: /usr/bin/ld: cannot find -lunwind: No such file or directory
collect2: error: ld returned 1 exit status
Building [====================> ] 28/35: std
Did not run successfully: exit status: 1
LD_LIBRARY_PATH="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/release/deps:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib:/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc"
"--crate-name" "std" "--edition=2021" "library/std/src/lib.rs"
"--error-format=json"
"--json=diagnostic-rendered-ansi,artifacts,future-incompat"
"--diagnostic-width=83" "--crate-type" "dylib" "--crate-type" "rlib"
"--emit=dep-info,link" "-C" "prefer-dynamic" "-C" "opt-level=3" "-C"
"embed-bitcode=no" "--cfg" "feature=\"addr2line\"" "--cfg"
"feature=\"backtrace\"" "--cfg" "feature=\"compiler-builtins-c\""
"--cfg" "feature=\"gimli-symbolize\"" "--cfg" "feature=\"miniz_oxide\""
"--cfg" "feature=\"object\"" "--cfg" "feature=\"panic_unwind\"" "--cfg"
"feature=\"std_detect_dlsym_getauxval\"" "--cfg"
"feature=\"std_detect_file_io\"" "--cfg"
"feature=\"system-llvm-libunwind\"" "-Zunstable-options" "--check-cfg"
"names()" "--check-cfg" "values()" "-C" "metadata=332a9c262c07cdcc" "-C"
"extra-filename=-332a9c262c07cdcc" "--out-dir"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps"
"--target" "x86_64-unknown-linux-gnu" "-L"
"dependency=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps"
"-L"
"dependency=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/release/deps"
"--extern"
"priv:addr2line=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libaddr2line-7882f09625e65fe5.rlib"
"--extern"
"alloc=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liballoc-ae7881a5ce1b581e.rlib"
"--extern"
"priv:cfg_if=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcfg_if-3fded376348e70c7.rlib"
"--extern"
"priv:compiler_builtins=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-604f7be089975ee9.rlib"
"--extern"
"core=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcore-4432853a6da2a875.rlib"
"--extern"
"priv:hashbrown=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libhashbrown-4d03e5662f092227.rlib"
"--extern"
"libc=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liblibc-ae9f45677063d650.rlib"
"--extern"
"priv:miniz_oxide=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libminiz_oxide-8b5104886866b15c.rlib"
"--extern"
"priv:object=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libobject-bcdf079bb57ce576.rlib"
"--extern"
"priv:panic_abort=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libpanic_abort-5d1c452a9fabea58.rlib"
"--extern"
"priv:panic_unwind=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libpanic_unwind-4fcc1b6499b0a41b.rlib"
"--extern"
"priv:rustc_demangle=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-720e01426455f276.rlib"
"--extern"
"priv:std_detect=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libstd_detect-9c831a3c4dc9c2b3.rlib"
"--extern"
"priv:unwind=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libunwind-d82b42748e11cba3.rlib"
"-Z" "unstable-options" "--cfg=bootstrap"
"-Csymbol-mangling-version=legacy" "-Zunstable-options"
"-Zunstable-options" "--check-cfg=values(bootstrap)"
"--check-cfg=values(stdarch_intel_sde)"
"--check-cfg=values(no_fp_fmt_parse)"
"--check-cfg=values(no_global_oom_handling)" "--check-cfg=values(no_rc)"
"--check-cfg=values(no_sync)" "--check-cfg=values(freebsd12)"
"--check-cfg=values(freebsd13)"
"--check-cfg=values(backtrace_in_libstd)"
"--check-cfg=values(target_env,\"libnx\")"
"--check-cfg=values(target_arch,\"asmjs\",\"spirv\",\"nvptx\",\"xtensa\")"
"-Zmacro-backtrace" "-Clink-args=-Wl,-z,origin"
"-Clink-args=-Wl,-rpath,/home/bacon/Pkgsrc/pkg/lib"
"-Csplit-debuginfo=off" "-Cprefer-dynamic" "-Zinline-mir"
"-Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/1.75.0/\")"
"-Z" "binary-dep-depinfo" "-L"
"native=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-9759d073f2f26727/out"
"--cfg" "backtrace_in_libstd" "-Wrust_2018_idioms" "-Wunused_lifetimes"
"-Wsemicolon_in_expressions_from_macros" "-Dwarnings" "--sysroot"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-sysroot"
"-Z" "force-unstable-if-unmarked"
-------------
error: could not compile `std` (lib) due to previous error
Caused by:
process didn't exit successfully:
`/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/bootstrap/debug/rustc
--crate-name std --edition=2021 library/std/src/lib.rs
--error-format=json
--json=diagnostic-rendered-ansi,artifacts,future-incompat
--diagnostic-width=83 --crate-type dylib --crate-type rlib
--emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C
embed-bitcode=no --cfg 'feature="addr2line"' --cfg 'feature="backtrace"'
--cfg 'feature="compiler-builtins-c"' --cfg 'feature="gimli-symbolize"'
--cfg 'feature="miniz_oxide"' --cfg 'feature="object"' --cfg
'feature="panic_unwind"' --cfg 'feature="std_detect_dlsym_getauxval"'
--cfg 'feature="std_detect_file_io"' --cfg
'feature="system-llvm-libunwind"' -Zunstable-options --check-cfg
'names()' --check-cfg 'values()' -C metadata=332a9c262c07cdcc -C
extra-filename=-332a9c262c07cdcc --out-dir
/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps
--target x86_64-unknown-linux-gnu -L
dependency=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps
-L
dependency=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/release/deps
--extern
'priv:addr2line=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libaddr2line-7882f09625e65fe5.rlib'
--extern
alloc=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liballoc-ae7881a5ce1b581e.rlib
--extern
'priv:cfg_if=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcfg_if-3fded376348e70c7.rlib'
--extern
'priv:compiler_builtins=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-604f7be089975ee9.rlib'
--extern
core=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcore-4432853a6da2a875.rlib
--extern
'priv:hashbrown=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libhashbrown-4d03e5662f092227.rlib'
--extern
libc=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/liblibc-ae9f45677063d650.rlib
--extern
'priv:miniz_oxide=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libminiz_oxide-8b5104886866b15c.rlib'
--extern
'priv:object=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libobject-bcdf079bb57ce576.rlib'
--extern
'priv:panic_abort=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libpanic_abort-5d1c452a9fabea58.rlib'
--extern
'priv:panic_unwind=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libpanic_unwind-4fcc1b6499b0a41b.rlib'
--extern
'priv:rustc_demangle=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-720e01426455f276.rlib'
--extern
'priv:std_detect=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libstd_detect-9c831a3c4dc9c2b3.rlib'
--extern
'priv:unwind=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libunwind-d82b42748e11cba3.rlib'
-Z unstable-options --cfg=bootstrap -Csymbol-mangling-version=legacy
-Zunstable-options -Zunstable-options '--check-cfg=values(bootstrap)'
'--check-cfg=values(stdarch_intel_sde)'
'--check-cfg=values(no_fp_fmt_parse)'
'--check-cfg=values(no_global_oom_handling)' '--check-cfg=values(no_rc)'
'--check-cfg=values(no_sync)' '--check-cfg=values(freebsd12)'
'--check-cfg=values(freebsd13)'
'--check-cfg=values(backtrace_in_libstd)'
'--check-cfg=values(target_env,"libnx")'
'--check-cfg=values(target_arch,"asmjs","spirv","nvptx","xtensa")'
-Zmacro-backtrace -Clink-args=-Wl,-z,origin
-Clink-args=-Wl,-rpath,/home/bacon/Pkgsrc/pkg/lib -Csplit-debuginfo=off
-Cprefer-dynamic -Zinline-mir
'-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/1.75.0/")' -Z
binary-dep-depinfo -L
native=/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-9759d073f2f26727/out
--cfg backtrace_in_libstd` (exit status: 1)
command did not execute successfully: cd
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src" && env -u
MAKEFLAGS -u MFLAGS AR_x86_64_unknown_linux_gnu="ar"
CARGO_INCREMENTAL="0" CARGO_PROFILE_RELEASE_DEBUG="0"
CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="false"
CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="false"
CARGO_TARGET_DIR="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-std"
CC_x86_64_unknown_linux_gnu="cc"
CFG_COMPILER_HOST_TRIPLE="x86_64-unknown-linux-gnu"
CFG_DISABLE_UNSTABLE_FEATURES="1" CFG_RELEASE_CHANNEL="stable"
CFLAGS_x86_64_unknown_linux_gnu="-O2 -ffunction-sections -fdata-sections
-fPIC -m64 -O2 -I/home/bacon/Pkgsrc/pkg/include -I/usr/include
-I/home/bacon/Pkgsrc/pkg/include/python3.11"
CXXFLAGS_x86_64_unknown_linux_gnu="-O2 -ffunction-sections
-fdata-sections -fPIC -m64 -O2 -I/home/bacon/Pkgsrc/pkg/include
-I/usr/include -I/home/bacon/Pkgsrc/pkg/include/python3.11"
CXX_x86_64_unknown_linux_gnu="c++" LIBC_CHECK_CFG="1"
RANLIB_x86_64_unknown_linux_gnu="ar s"
REAL_LIBRARY_PATH="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib"
REAL_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
RUSTBUILD_NATIVE_DIR="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/native"
RUSTC="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/bootstrap/debug/rustc"
RUSTC_BOOTSTRAP="1" RUSTC_BREAK_ON_ICE="1"
RUSTC_ERROR_METADATA_DST="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/tmp/extended-error-metadata"
RUSTC_FORCE_UNSTABLE="1" RUSTC_HOST_FLAGS="--cfg=bootstrap
-Zunstable-options --check-cfg=values(bootstrap)"
RUSTC_INSTALL_BINDIR="bin"
RUSTC_LIBDIR="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib"
RUSTC_LINT_FLAGS="-Wrust_2018_idioms -Wunused_lifetimes
-Wsemicolon_in_expressions_from_macros -Dwarnings"
RUSTC_REAL="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc"
RUSTC_SNAPSHOT="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc"
RUSTC_SNAPSHOT_LIBDIR="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/lib"
RUSTC_STAGE="0"
RUSTC_SYSROOT="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/x86_64-unknown-linux-gnu/stage0-sysroot"
RUSTC_VERBOSE="1"
RUSTDOC="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/bootstrap/debug/rustdoc"
RUSTDOCFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy
-Zunstable-options -Zunstable-options --check-cfg=values(bootstrap)
--check-cfg=values(stdarch_intel_sde)
--check-cfg=values(no_fp_fmt_parse)
--check-cfg=values(no_global_oom_handling) --check-cfg=values(no_rc)
--check-cfg=values(no_sync) --check-cfg=values(freebsd12)
--check-cfg=values(freebsd13) --check-cfg=values(backtrace_in_libstd)
--check-cfg=values(target_env,\"libnx\")
--check-cfg=values(target_arch,\"asmjs\",\"spirv\",\"nvptx\",\"xtensa\")
-Dwarnings -Wrustdoc::invalid_codeblock_attributes --crate-version
1.75.0\t(82e1608df\t2023-12-21)\t(built\tfrom\ta\tsource\ttarball)
-Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/1.75.0/\")
-Zcrate-attr=warn(rust_2018_idioms)"
RUSTDOC_REAL="/path/to/nowhere/rustdoc/not/required"
RUSTFLAGS="--cfg=bootstrap -Csymbol-mangling-version=legacy
-Zunstable-options -Zunstable-options --check-cfg=values(bootstrap)
--check-cfg=values(stdarch_intel_sde)
--check-cfg=values(no_fp_fmt_parse)
--check-cfg=values(no_global_oom_handling) --check-cfg=values(no_rc)
--check-cfg=values(no_sync) --check-cfg=values(freebsd12)
--check-cfg=values(freebsd13) --check-cfg=values(backtrace_in_libstd)
--check-cfg=values(target_env,\"libnx\")
--check-cfg=values(target_arch,\"asmjs\",\"spirv\",\"nvptx\",\"xtensa\")
-Zmacro-backtrace -Clink-args=-Wl,-z,origin
-Clink-args=-Wl,-rpath,/home/bacon/Pkgsrc/pkg/lib -Csplit-debuginfo=off
-Cprefer-dynamic -Zinline-mir
-Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/1.75.0/\")"
RUST_COMPILER_RT_ROOT="/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/src/llvm-project/compiler-rt"
RUST_TEST_THREADS="8" WINAPI_NO_BUNDLED_LIBRARIES="1"
__CARGO_DEFAULT_LIB_METADATA="bootstrapstd"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo"
"build" "--target" "x86_64-unknown-linux-gnu" "--release"
"-Zcheck-cfg=names,values,output" "-Zbinary-dep-depinfo" "-j" "8" "-v"
"--frozen" "--features" " panic-unwind system-llvm-libunwind backtrace
compiler-builtins-c" "--manifest-path"
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/library/sysroot/Cargo.toml"
"--message-format" "json-render-diagnostics"
expected success, got: exit status: 101
Traceback (most recent call last):
File
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/./x.py", line
50, in <module>
bootstrap.main()
File
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/src/bootstrap/bootstrap.py",
line 1145, in main
bootstrap(args)
File
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/src/bootstrap/bootstrap.py",
line 1121, in bootstrap
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
File
"/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/src/bootstrap/bootstrap.py",
line 187, in run
raise RuntimeError(err)
RuntimeError: failed to run:
/home/bacon/Pkgsrc/pkgsrc/lang/rust/work/rustc-1.75.0-src/build/bootstrap/debug/bootstrap
-v build --stage 2 -j 8
*** Error code 1
Stop.
bmake[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/lang/rust
*** Error code 1
Stop.
bmake: stopped in /home/bacon/Pkgsrc/pkgsrc/lang/rust
Home |
Main Index |
Thread Index |
Old Index