Skip to content

Do not link GaudiGoogleProfiling against tcmalloc and profiler

Marco Clemencic requested to merge fix-centos8-compilation into master

libtcmalloc.so and libprofiler.so must be LD_PRELOADed to make the GaudiGoogleProfiling auditor work correctly.

For some reason they were linked and the required symbols also declared as undefined at link time, which seems to cause a segmentation fault at exit of listcomponent libGaudiGoogleProfiling.so on CentOS8 (like some global initialization of libprofiler.so is tripping on one of the undefined symbols).

This fixes https://sft.its.cern.ch/jira/browse/SPI-2010

Merge request reports