Skip to content
Snippets Groups Projects

test_LBCORE_716: Use the default linker and not the system linker

Merged Frank Winklmeier requested to merge fwinkl/Gaudi:ctest_cmakemodules into master
All threads resolved!

Do not add /usr/bin/ and /bin to the cmake.CMakeModules test environment as this potentially pulls in an incompatible linker. In general the environment provided by xenv should be the correct one.

E.g. on my centos7-gcc8 build I got the following error from the test:

/usr/bin/ld: /cvmfs/sft.cern.ch/lcg/releases/gcc/8.2.0-dedd0/x86_64-centos7-gcc62-opt/bin/../lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtbeginS.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [lib/libPkgA.so] Error 1
make[2]: *** [PkgA/CMakeFiles/PkgA.dir/all] Error 2
make[1]: *** [all] Error 2

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Marco Clemencic resolved all discussions

    resolved all discussions

  • Marco Clemencic changed milestone to %v30r5

    changed milestone to %v30r5

  • Marco Clemencic approved this merge request

    approved this merge request

  • Frank Winklmeier added 107 commits

    added 107 commits

    • 4f38ad0b...975442cc - 106 commits from branch gaudi:master
    • c18b9603 - test_LBCORE_716: Use the default linker and not the system linker

    Compare with previous version

  • Frank Winklmeier resolved all discussions

    resolved all discussions

  • Marco Clemencic approved this merge request

    approved this merge request

  • Marco Clemencic enabled an automatic merge when the pipeline for c18b9603 succeeds

    enabled an automatic merge when the pipeline for c18b9603 succeeds

  • Marco Clemencic mentioned in commit b6a5ab33

    mentioned in commit b6a5ab33

  • Please register or sign in to reply
    Loading