[MacPorts] #34171: root: add cling variant
MacPorts
noreply at macports.org
Fri Jul 13 05:05:49 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@…):
Ticket #34214 is fixed.
I tried building root_v5-34-00-patches and root_trunk with this command
(outside macports, but using the macports llvm / clang):
{{{
./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
}}}
Both ROOT versions fail when trying to create
core/utils/src/rootcling_tmp.o.
This is the command and first error for root_v5-34-00-patches:
{{{
cp /Users/deil/bin/root/root_v5-34-00-patches/core/utils/src/rootcling.cxx
core/utils/src/rootcling_tmp.cxx
bin/rmkdepend -R -fcore/utils/src/rootcling_tmp.d -Y -w 1000 -- -m64 -pipe
-Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude
-pthread -UR__HAVE_CONFIG -DROOTBUILD
-I/Users/deil/bin/root/root_v5-34-00-patches/core/utils/src
-I/opt/local/libexec/llvm-3.1/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
-g -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-common
-Woverloaded-virtual
-I/Users/deil/bin/root/root_v5-34-00-patches/cint/cling/include
'-DR__LLVMDIR="/opt/local/libexec/llvm-3.1"' '-DR__CLANG="/opt/local/bin
/llvm-config-mp-3.1"' -D__cplusplus -- core/utils/src/rootcling_tmp.cxx
/opt/local/bin/clang++-mp-3.1 -O2 -m64 -pipe -Wshadow -W -Wall
-Woverloaded-virtual -fsigned-char -fno-common -Iinclude -pthread
-UR__HAVE_CONFIG -DROOTBUILD
-I/Users/deil/bin/root/root_v5-34-00-patches/core/utils/src
-I/opt/local/libexec/llvm-3.1/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
-g -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fno-common
-Woverloaded-virtual
-I/Users/deil/bin/root/root_v5-34-00-patches/cint/cling/include
'-DR__LLVMDIR="/opt/local/libexec/llvm-3.1"' '-DR__CLANG="/opt/local/bin
/llvm-config-mp-3.1"' -o core/utils/src/rootcling_tmp.o -c
core/utils/src/rootcling_tmp.cxx
}}}
{{{
core/utils/src/rootcling_tmp.cxx:851:41: error: address expression must be
an lvalue or a function designator
if (is_operator_new) return &*iter;
^~~~~~
}}}
For root_trunk I get
{{{
make: *** No rule to make target
`/Users/deil/bin/root/root_trunk/core/utils/src/rootcling_tmp.cxx', needed
by `core/utils/src/rootcling_tmp.o'. Stop.
}}}
I can try other configure args or post full build logs if it would help.
--
Ticket URL: <https://trac.macports.org/ticket/34171#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list