Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7509

Build Failure on FreeBSD 10.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 6.06/00, 6.04/04
    • 6.04/02
    • Build System
    • None
    • FreeBSD 10.1 (64 bit)
      building with CMake, FreeBSD clang version 3.4.1

    Description

      Hi,

      when building like described in "Environment", i get the following error:

      Linking CXX shared library ../lib/libCore.so
      /usr/bin/ld: CMakeFiles/BaseTROOT.dir/base/src/TROOT.cxx.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
      CMakeFiles/BaseTROOT.dir/base/src/TROOT.cxx.o: could not read symbols: Bad value
      CC: error: linker command failed with exit code 1 (use -v to see invocation)

      I guess this just needs a small fix in a cmake file, but I did not find out where yet. If someone could give me a hint, I'm willing to try to fix/test it.

      Best,
      Johannes

      Attachments

        Activity

          People

            mato Pere Mato Vila
            jolange Johannes Lange
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: