Problems with ppc64le

Hi,
I have some problems to compile root on ppc64le (IBM S824L machine).

I’m using the last available version on git (47506d799348ee4606f2d8372a176636a84fe26c) and the gcc version 5.1.1 20150422 (Red Hat 5.1.1-1) (GCC) on Fedora LE.


The first problem is related to cling. At startup, and for any command the output is the following

error: signed char was disabled in PCH file but is currently enabled

| Welcome to ROOT 6.05/01 root.cern.ch |
| © 1995-2014, The ROOT Team |
| Built for linuxppc64gcc |
| From heads/master@v6-05-01-162-g47506d7, Jun 12 2015, 22:01:52 |

Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

root [0] 1+1
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling7runtime6gClingE’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::runtime::gCling
Maybe you need to load the corresponding shared library?


The second problem is related to Minuit. It seems that Minuit is not present and when I’ll try to compile Minuit2 I get the following error:

g++ -shared -Wl,-soname,libEve.so -m64 -Wl,-E -O -DNDEBUG -o lib/libEve.so graf3d/eve/src/TEvePathMark.o graf3d/eve/src/TEveTreeTools.o graf3d/eve/src/TEveMacro.o graf3d/eve/src/TEveJetConeEditor.o graf3d/eve/src/TEveCaloLegoEditor.o graf3d/eve/src/TEvePlot3D.o graf3d/eve/src/TEveFrameBoxGL.o graf3d/eve/src/TEveBox.o graf3d/eve/src/TEvePolygonSetProjected.o graf3d/eve/src/TEveVSD.o graf3d/eve/src/TEveCaloData.o graf3d/eve/src/TEveTrackPropagator.o graf3d/eve/src/TEveRGBAPaletteOverlay.o graf3d/eve/src/TEveArrow.o graf3d/eve/src/TEvePad.o graf3d/eve/src/TEveVector.o graf3d/eve/src/TEveSceneInfo.o graf3d/eve/src/TEveProjectionBases.o graf3d/eve/src/TEveShapeEditor.o graf3d/eve/src/TEveScalableStraightLineSet.o graf3d/eve/src/TEveBoxSetGL.o graf3d/eve/src/TEvePlot3DGL.o graf3d/eve/src/TEveLineEditor.o graf3d/eve/src/TEveVSDStructs.o graf3d/eve/src/TEveGeoShapeExtract.o graf3d/eve/src/TEveTrans.o graf3d/eve/src/TEveGridStepperEditor.o graf3d/eve/src/TEveJetCone.o graf3d/eve/src/TEveTrackProjectedGL.o graf3d/eve/src/TEveEventManager.o graf3d/eve/src/TEvePointSetArrayEditor.o graf3d/eve/src/TEveViewerListEditor.o graf3d/eve/src/TEveTriangleSetEditor.o graf3d/eve/src/TEveParamList.o graf3d/eve/src/TEveTrackGL.o graf3d/eve/src/TEveRGBAPaletteEditor.o graf3d/eve/src/TEveScene.o graf3d/eve/src/TEveTriangleSetGL.o graf3d/eve/src/TEveStraightLineSetGL.o graf3d/eve/src/TEveGeoNode.o graf3d/eve/src/TEveTriangleSet.o graf3d/eve/src/TEveGeoShape.o graf3d/eve/src/TEveLine.o graf3d/eve/src/TEveElementEditor.o graf3d/eve/src/TEveBoxSet.o graf3d/eve/src/TEvePolygonSetProjectedGL.o graf3d/eve/src/TEveQuadSetGL.o graf3d/eve/src/TEveFrameBox.o graf3d/eve/src/TEveGValuators.o graf3d/eve/src/TEveWindow.o graf3d/eve/src/TEveDigitSet.o graf3d/eve/src/TEveGeoPolyShape.o graf3d/eve/src/TEveCalo.o graf3d/eve/src/TEveProjections.o graf3d/eve/src/TEveQuadSet.o graf3d/eve/src/TEveProjectionAxes.o graf3d/eve/src/TEveProjectionManager.o graf3d/eve/src/TEveRGBAPalette.o graf3d/eve/src/TEveStraightLineSet.o graf3d/eve/src/TEveElement.o graf3d/eve/src/TEveTrackProjected.o graf3d/eve/src/TEveUtil.o graf3d/eve/src/TEveCaloLegoOverlay.o graf3d/eve/src/TEveArrowGL.o graf3d/eve/src/TEvePointSet.o graf3d/eve/src/TEveBoxGL.o graf3d/eve/src/TEveChunkManager.o graf3d/eve/src/TEveGeoNodeEditor.o graf3d/eve/src/TEveCaloLegoGL.o graf3d/eve/src/TEveTrack.o graf3d/eve/src/TEveCalo2DGL.o graf3d/eve/src/TEveTrackEditor.o graf3d/eve/src/TEveSecondarySelectable.o graf3d/eve/src/TEveProjectionManagerEditor.o graf3d/eve/src/TEveWindowManager.o graf3d/eve/src/TEveTrackPropagatorEditor.o graf3d/eve/src/TEveGedEditor.o graf3d/eve/src/TEveDigitSetEditor.o graf3d/eve/src/TEveTextEditor.o graf3d/eve/src/TEveManager.o graf3d/eve/src/TEveDigitSetGL.o graf3d/eve/src/TEveJetConeGL.o graf3d/eve/src/TEveTransEditor.o graf3d/eve/src/TEveGridStepper.o graf3d/eve/src/TEveSelection.o graf3d/eve/src/TEveArrowEditor.o graf3d/eve/src/TEveWindowEditor.o graf3d/eve/src/TEveProjectionAxesGL.o graf3d/eve/src/TEveShape.o graf3d/eve/src/TEveCalo3DGL.o graf3d/eve/src/TEveCompound.o graf3d/eve/src/TEveViewer.o graf3d/eve/src/TEveBrowser.o graf3d/eve/src/TEveTextGL.o graf3d/eve/src/TEveLegoEventHandler.o graf3d/eve/src/TEveStraightLineSetEditor.o graf3d/eve/src/TEveCaloVizEditor.o graf3d/eve/src/TEveText.o graf3d/eve/src/TEveLineGL.o graf3d/eve/src/TEveProjectionAxesEditor.o graf3d/eve/src/G__Eve.o -Llib -lCore -ldl -Llib -lGeom -lGeomPainter -lGraf3d -lGui -lGpad -lGraf -lHist -lPhysics -lGed -lEG -lTree -lTreePlayer -lRGL -lRIO -lRint -lMathCore -Llib -lFTGL -Llib -lGLEW -lGLU -lGL -lXpm -lXext -lX11 -lm
==> lib/libEve.so done

Generating PCH for core/base core/thread io/io math/mathcore net/net math/matrix hist/hist tree/tree graf2d/graf graf2d/gpad graf3d/g3d gui/gui math/minuit hist/histpainter tree/treeplayer tree/treeviewer math/physics graf2d/postscript core/rint math/smatrix math/smatrix hist/spectrum hist/spectrumpainter gui/fitpanel graf2d/x11 graf2d/x11ttf graf3d/gl graf2d/asimage graf2d/asimage graf2d/fitsio bindings/pyroot math/genvector math/genvector math/mathmore math/minuit2 tmva/tmva tmva/tmvagui math/genetic

error: signed char was disabled in PCH file but is currently enabled
root [0]
Processing hsimple.C…
IncrementalExecutor::executeFunction: symbol ‘_ZN5cling7runtime6gClingE’ unresolved while linking [cling interface function]!
You are probably missing the definition of cling::runtime::gCling
Maybe you need to load the corresponding shared library?
Makefile:695: recipe for target ‘tutorials/hsimple.root’ failed
make: *** [tutorials/hsimple.root] Error 1


The third error is related to the Fortran compiler. It seems that the compiler is g77, and even if I’ll try to change the compiler (e.g. gfortran) I’ll get some compiler errors.

Thanks for your help
Cheers,
Andrea

Hi Andrea,

Could you move to a cmake build? root.cern.ch/drupal/content/building-root-cmake
Please note that in any case, at the moment, ppc64le is only partially supported.
You can follow the progress of the ppc64le builds of ROOT here: cdash.cern.ch/index.php?project=ROOT

Cheers,
Danilo