tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lang/llvm not buildable on NetBSD/macppc
This is on NetBSD-current and pkgsrc -current from yesterday (or so),
trying to build llvm for rust:
[ 80%] Built target LLVMCFGuard
Consolidate compiler generated dependencies of target LLVM
[ 80%] Linking CXX shared library ../../lib/libLLVM-13.so
../../lib/libLLVMPowerPCCodeGen.a(PPCInstrInfo.cpp.o): in function `llvm::PPCInstrInfo::generateLoadForNewConst(unsigned int, llvm::MachineInstr*, llvm::Type*, llvm::SmallVectorImpl<llvm::MachineInstr*>&) const':
PPCInstrInfo.cpp:(.text._ZNK4llvm12PPCInstrInfo23generateLoadForNewConstEjPNS_12MachineInstrEPNS_4TypeERNS_15SmallVectorImplIS2_EE+0x24c): relocation truncated to fit: R_PPC_REL24 against symbol `llvm::MachineFunction::getDataLayout() const' defined in .text._ZNK4llvm15MachineFunction13getDataLayoutEv section in ../../lib/libLLVMCodeGen.a(MachineFunction.cpp.o)+8000
It seems to compile with -fPIC according to .work.log, so I'm not sure what
goes wrong where. Help?
Martin
Home |
Main Index |
Thread Index |
Old Index