pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust 1.42 fails to compile on NetBSD 9.0/amd64
I just tried to to compile Firefox, but the build fails in lang/rust with
Compiling rustc-main v0.0.0
(/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/src/rustc)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-m64" "-L"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-netbsd/lib"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/rustc_binary-7efa4bc68b28d8f1.rustc_binary.8uc3hi89-cgu.0.rcgu.o"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/rustc_binary-7efa4bc68b28d8f1.rustc_binary.8uc3hi89-cgu.1.rcgu.o"
"-o" "/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/rustc_binary-7efa4bc68b28d8f1"
"-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-L"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps"
"-L" "/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/release/deps"
"-L" "/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/build/backtrace-sys-e4976ee11da44d80/out"
"-L" "/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/build/rustc_llvm-aeb0a2867f6f0dd5/out"
"-L" "/usr/pkg/lib" "-L" "/usr/lib" "-L" "/usr/pkg/lib" "-L"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-netbsd/lib"
"-L" "/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps"
"-lrustc_driver-41e03884bc4fdbec" "-L"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-netbsd/lib"
"-ltest-bc65aaf012d47b82" "-Wl,--start-group" "-L"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-netbsd/lib"
"-lstd-b5cbfb99b40bfce2" "-Wl,--end-group" "-Wl,-Bstatic"
"/export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-sysroot/lib/rustlib/x86_64-unknown-netbsd/lib/libcompiler_builtins-00562ffe40e1501d.rlib"
"-Wl,-Bdynamic" "-lLLVM-9" "-lstdc++" "-lutil" "-lrt" "-lutil"
"-lexecinfo" "-lpthread" "-lrt" "-lgcc_s" "-lc" "-lm" "-lrt"
"-lpthread" "-lutil" "-lrt" "-lutil" "-Wl,-rpath,/usr/pkg/lib"
= note: ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to `llvm::install_fatal_error_handler(void
(*)(void*, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, bool), void*)'
ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to
`llvm::DiagnosticLocation::getAbsolutePath[abi:cxx11]() const'
ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to
`llvm::DiagnosticInfoOptimizationBase::getMsg[abi:cxx11]() const'
ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to
`llvm::TargetRegistry::lookupTarget(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&)'
ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to
`llvm::report_fatal_error(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool)'
ld: /export/wd0/pkgtemp/lang/rust/work/rustc-1.42.0-src/build/x86_64-unknown-netbsd/stage0-rustc/x86_64-unknown-netbsd/release/deps/librustc_driver-41e03884bc4fdbec.so:
undefined reference to
`llvm::Triple::normalize[abi:cxx11](llvm::StringRef)'
My last successful build of Firefox was 72.0.1 in mid-January. Either
Firefox or Rust (or maybe occasionally LLVM?) refused to cooperate
since then...
--
Joern Clausen
https://www.oe-files.de/photography/
Home |
Main Index |
Thread Index |
Old Index