Comment 6 for bug 1899199

Revision history for this message
Jonas Hahnfeld (hahnjo) wrote :

I can confirm this. I was actually involved in implementing OMPT support in the LLVM OpenMP runtime and the startup works by overwriting the weak symbol ompt_start_tool via LD_PRELOAD. The symbol is there, as seen with
 $ objdump -T /usr/lib/x86_64-linux-gnu/libomp.so.5 | grep ompt
00000000000aa4b0 w DF .text 0000000000000036 VERSION ompt_start_tool

but there is no relocation:
 $ readelf --relocs /usr/lib/x86_64-linux-gnu/libomp.so.5 | grep ompt
[no output]

This might actually be the same problem as https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/1964487 that I just reported.