Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] sphenix software build with root6

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: Chris Pinkenburg <pinkenburg AT bnl.gov>
  • To: "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
  • Subject: [Sphenix-software-l] sphenix software build with root6
  • Date: Wed, 30 Mar 2016 12:28:43 -0400

Hi folks,

I managed to get our software build with root6, I only had to add 5 missing std::'s in front of ostreams in some header files (not sure why gcc accepted those headers). There is now a nightly play build with this, you can set yourself up by

source /opt/sphenix/core/bin/sphenix_setup.csh -n play


For every class fed through rootcling it produces a .pcm file in the build area which has to be installed with the libraries. This is not part of our Makefiles so our build script just copies those "by hand" as a last step. If you compile it yourself, you need to remember to do this as well.

Now for the bad news - there are some issues coming from cling which prevent to run anything of our code.

Cling needs the include files and it hardcodes the include path during compilation (which point to the build directory on a local disk of rcas2100). That prevents very effectively to load any library if you are not on the build machine.

But even on the build machine things currently die with:

IncrementalExecutor::executeFunction: symbol '_ZNSsC1EOSs' unresolved while linking [cling interface function]!
You are probably missing the definition of std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string&&)
Maybe you need to load the corresponding shared library?

I can vaguely recall that there was a clang/gcc issue where clang triggered a gcc linker bug.

That's the status - if any of you are interested to bang your head against this and figure out how to get this to work, let me know. The first step would be probably to teach rootcling to use relative paths (which might just mean to read up how rootcling works).

Chris





--

*********************************************************

Christopher H. Pinkenburg ; pinkenburg AT bnl.gov

Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000

http://www.phenix.bnl.gov/~pinkenbu/

*********************************************************




  • [Sphenix-software-l] sphenix software build with root6, Chris Pinkenburg, 03/30/2016

Archive powered by MHonArc 2.6.24.

Top of Page