[MacPorts] #34171: root: add cling variant
MacPorts
noreply at macports.org
Sun Apr 29 09:37:40 PDT 2012
#34171: root: add cling variant
--------------------------------------+-------------------------------------
Reporter: Deil.Christoph@… | Owner: mattiafrancescomoro@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: root
--------------------------------------+-------------------------------------
Comment(by Deil.Christoph@…):
Thanks to ticket #34214 the clang header files are now installed by
Macports.
I now see the same build error you mention in ticket #34214 for ROOT
5.32.02 and a different error for ROOT SVN trunk r44006:
{{{
$ ./configure --with-llvm-config=/opt/local/bin/llvm-config-mp-3.1 --with-
clang --enable-cling --with-cc=/opt/local/bin/clang-mp-3.1 --with-
cxx=/opt/local/bin/clang++-mp-3.1 --with-ld=/opt/local/bin/clang++-mp-3.1
...
$ make
...
/opt/local/bin/clang++-mp-3.1 -dynamiclib -single_module
-Wl,-dead_strip_dylibs -install_name @rpath/libCling.so -O2 -m64 -mmacosx-
version-min=10.7 -o lib/libCling.so cint/cling/lib/Interpreter/ASTDumper.o
cint/cling/lib/Interpreter/ASTNodeEraser.o
cint/cling/lib/Interpreter/ASTUtils.o
cint/cling/lib/Interpreter/CIFactory.o
cint/cling/lib/Interpreter/ChainedConsumer.o
cint/cling/lib/Interpreter/DeclExtractor.o
cint/cling/lib/Interpreter/DynamicLookup.o
cint/cling/lib/Interpreter/ExecutionContext.o
cint/cling/lib/Interpreter/IncrementalParser.o
cint/cling/lib/Interpreter/Interpreter.o
cint/cling/lib/Interpreter/InvocationOptions.o
cint/cling/lib/Interpreter/ValuePrinter.o
cint/cling/lib/Interpreter/ValuePrinterInfo.o
cint/cling/lib/Interpreter/ValuePrinterSynthesizer.o
cint/cling/lib/Interpreter/VerifyingSemaConsumer.o
cint/cling/lib/MetaProcessor/InputValidator.o
cint/cling/lib/MetaProcessor/MetaProcessor.o -ldl
-L/opt/local/libexec/llvm-3.1/lib -lclangFrontend -lclangSerialization
-lclangDriver -lclangCodeGen -lclangParse -lclangSema -lclangAnalysis
-lclangRewrite -lclangAST -lclangLex -lclangBasic -lclangEdit
-lLLVMHexagonCodeGen -lLLVMHexagonDesc -lLLVMHexagonInfo
-lLLVMHexagonAsmPrinter -lLLVMPTXCodeGen -lLLVMPTXDesc -lLLVMPTXInfo
-lLLVMPTXAsmPrinter -lLLVMMBlazeCodeGen -lLLVMMBlazeDesc -lLLVMMBlazeInfo
-lLLVMMBlazeAsmPrinter -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo
-lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info
-lLLVMMSP430AsmPrinter -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo
-lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMMipsCodeGen
-lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter -lLLVMARMCodeGen
-lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMPowerPCCodeGen
-lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter
-lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMX86CodeGen
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86Desc
-lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMDebugInfo -lLLVMJIT
-lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts
-lLLVMInstCombine -lLLVMLinker -lLLVMTransformUtils -lLLVMAnalysis
-lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMArchive -lLLVMBitReader
-lLLVMCore -lLLVMSupport -L/opt/local/libexec/llvm-3.1/lib -lpthread -lffi
-lm
ld: library not found for -lclangFrontend
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [lib/libCling.so] Error 1
rm core/utils/src/rootcling_tmp.cxx core/utils/src/LinkdefReader_tmp.cxx
core/utils/src/Scanner_tmp.cxx core/utils/src/SelectionRules_tmp.cxx
core/utils/src/VariableSelectionRule_tmp.cxx
core/utils/src/ClassSelectionRule_tmp.cxx core/utils/src/XMLReader_tmp.cxx
core/utils/src/BaseSelectionRule_tmp.cxx core/utils/src/RClStl_tmp.cxx
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34171#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list