pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc stable - Rust Build Fails
Am 16.07.24 um 15:16 schrieb Nathan Gregg - NOAA Affiliate:
Hi Benny,
Thanks for the assist! Please see the following to link to full output
from the command. Please let me know if you need anything else.
https://drive.google.com/file/d/1WiSpQd50-4p6jG2ZqdeTpYH5g1bOvREY/view?usp=sharing <https://drive.google.com/file/d/1WiSpQd50-4p6jG2ZqdeTpYH5g1bOvREY/view?usp=sharing>
There are plenty of errors like this one in the log:
/usr/bin/ld:
/apps/pkgsrc/lang/rust/work/rustc-1.76.0-src/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-98875b63f148d624.so:
undefined reference to `LLVMInitializeLoongArchAsmParser@LLVM_17'
If you have used pkgsrc for a while, maybe your LLVM package is out of
date? Try
cd lang/llvm && make replace
If that doesn't help, as a workaround, you can try building with the
bundled LLVM. Add the following line to your mk.conf:
PKG_OPTIONS.rust+= rust-internal-llvm
Then do a "make clean && make package-install".
--
Benny
Home |
Main Index |
Thread Index |
Old Index