[MacPorts] #34006: llvm-3.0: build fails with ld64 errors
MacPorts
noreply at macports.org
Wed Apr 11 21:53:59 PDT 2012
#34006: llvm-3.0: build fails with ld64 errors
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: tiger | Port: llvm-3.0
-------------------------------------+--------------------------------------
llvm-3.0 build fails on Tiger PowerPC. I installed ld64 as advised in
#33987 but now get:
{{{
-lLLVMARMAsmParser -lLLVMARMAsmPrinter -lLLVMARMCodeGen -lLLVMARMDesc
-lLLVMARMDisassembler -lLLVMARMInfo -lLLVMAlphaCodeGen -lLLVMAlphaDesc
-lLLVMAlphaInfo -lLLVMAnalysis -lLLVMArchive -lLLVMAsmParser
-lLLVMAsmPrinter -lLLVMBitReader -lLLVMBitWriter -lLLVMBlackfinCodeGen
-lLLVMBlackfinDesc -lLLVMBlackfinInfo -lLLVMCBackend -lLLVMCBackendInfo
-lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMCodeGen
-lLLVMCore -lLLVMCppBackend -lLLVMCppBackendInfo -lLLVMDebugInfo
-lLLVMExecutionEngine -lLLVMInstCombine -lLLVMInstrumentation
-lLLVMInterpreter -lLLVMJIT -lLLVMLinker -lLLVMMBlazeAsmParser
-lLLVMMBlazeAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeDesc
-lLLVMMBlazeDisassembler -lLLVMMBlazeInfo -lLLVMMC -lLLVMMCDisassembler
-lLLVMMCJIT -lLLVMMCParser -lLLVMMSP430AsmPrinter -lLLVMMSP430CodeGen
-lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen
-lLLVMMipsDesc -lLLVMMipsInfo -lLLVMObject -lLLVMPTXAsmPrinter
-lLLVMPTXCodeGen -lLLVMPTXDesc -lLLVMPTXInfo -lLLVMPowerPCAsmPrinter
-lLLVMPowerPCCodeGen -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMRuntimeDyld
-lLLVMScalarOpts -lLLVMSelectionDAG -lLLVMSparcCodeGen -lLLVMSparcDesc
-lLLVMSparcInfo -lLLVMSupport -lLLVMSystemZCodeGen -lLLVMSystemZDesc
-lLLVMSystemZInfo -lLLVMTarget -lLLVMTransformUtils -lLLVMX86AsmParser
-lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Disassembler
-lLLVMX86Info -lLLVMX86Utils -lLLVMXCoreCodeGen -lLLVMXCoreDesc
-lLLVMXCoreInfo -lLLVMipa -lLLVMipo -all_load -Wl,-dead_strip
-Wl,-seg1addr -Wl,0xE0000000 -Wl,-install_name
-Wl,"@executable_path/../lib/libLLVM-3.0.dylib" -lpthread -lffi -lm
ld64: can't add line info to anonymous symbol cstring=LowerGlobalAddress:
Relocation model other than staticnot supported. from
/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/Release+Debug/lib/libLLVMCellSPUCodeGen.a(SPUISelLowering.o)
ld64: can't add line info to anonymous symbol cstring=Recycler element
size: from
/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/Release+Debug/lib/libLLVMSupport.a(Allocator.o)
ld64-62.1 failed: bl out of range (-17780084 max is +/-16M) from
__static_initialization_and_destruction_0(int, int)in
/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/Release+Debug/lib/libLLVMARMCodeGen.a(ARMBaseInstrInfo.o)
to ___cxa_atexit in /mp/lib/apple-gcc42/gcc/powerpc-apple-
darwin8/4.2.1/crt3.o in __static_initialization_and_destruction_0(int,
int)from
/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/Release+Debug/lib/libLLVMARMCodeGen.a(ARMBaseInstrInfo.o)
collect2: ld returned 1 exit status
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34006>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list