Cling on Fedora 18 Beta ARM

Axel:

Thank you for the more detailed url for svn and other instructions.

I will try to get this onto my Cubieboard ARM computer Saturday and build.

I am very happy to have finally built cling, even if only on my netbook Intel Atom. I had never been able to build it before. I guess llvm source in the ROOT src is the answer!

Again, thank you for understanding that I am trying to follow your directions, but don’t always fully understand.

ROOT with cint built as downloaded and following your instructions. I just used ./configure

After it finished, I moved to another directory, copies src, make a new obj and
./configure --build=debug --enable-cling --with-llvm-config=/usr/local/bin
and it did not work, stopping at rootclingtmp.cxx

but I realize from looking at LastKnownGoodLLVMSvnRelease.txt that r 165095 is too far in the future, it being 150xxx.

But I compiled test and ran Tetris successfully.

Hi,

So all solved? Or is there something else we can help you with?

Axel

Axel:

Well installing ROOT with cint worked. But I would still like to compile cling on ARM.

Is that not now possible? Perhaps I want too much, but I would like to learn to use cling, with and without ROOT.

But I am happy that I have a working ROOT from source.

Thank you for your help.

Hi,

To build cling stand-alone please follow the steps here:
root.cern.ch/drupal/content/clin … structions

To build ROOT 6 you simply do

svn co https://root.cern.ch/svn/root/trunk src
mkdir build
cd build
../src/configure
make -j4
# repeat this in any new terminal to select this ROOT build:
. bin/thisroot.sh
root -l

Cheers, Axel.

I checked out the svn trunk as you described. It stopped at this:

g++ -Wall -fsigned-char -fPIC -Iinclude -pthread -I/home/dbrunk/src/core/textinput/src -I/home/dbrunk/src/core/textinput/src -o core/textinput/src/textinput/TerminalDisplayWin.o -c /home/dbrunk/src/core/textinput/src/textinput/TerminalDisplayWin.cpp
Generating dictionary core/base/src/G__Base1.cxx…

big edit

/LinkDef1.h
In file included from input_line_6:1:
In file included from include/Rtypes.h:30:
include/Rtypeinfo.h:32:10: fatal error: ‘typeinfo’ file not found
#include
^
Error: Error loading the default header files.make: ***
[core/base/src/G__Base1.cxx] Error 1

ending with this error, trying to build ROOT 5.99 on ARM.

I have these files in /root/bin

memprobe rlibmap rmkdepend rootcint rootcling root-config
setxrd.csh setxrd.sh thisroot.csh thisroot.sh

And ./rootcling
Usage: ./rootcling [-v][-v0-4] [-cint|-reflex|-gccxml] [-l] [-f] [out.cxx] [-c] file1.h[+][-][!] file2.h[+][-][!]…[LinkDef.h]
For more extensive help type: ./rootcling -h

It appears that rootcling can run, and it is linked to rootcint.

This is the only way I have been able to compile cling on ARM, but then the rest of
ROOT isn’t compiled. With the 5.34-patch source, cling will not compile
but ROOT will compile with cint, that is ./configure --enable-cling etc
just stops with errors.

Simple question: how do I get the required header?
Now I have at least compiled cling on ARM.