GCC 9 linker error, missing GOMP_loop_nonmonotonic_dynamic_next

FX fxcoudert@gmail.com
Tue May 7 08:47:00 GMT 2019


Update on this issue:

>> Those are certainly exported from my GCC 9 libgomp.so.1.0.0 (at least on
>> Linux but I don't see how it could not be elsewhere).

I can confirm they are present.

The issue I am having is indeed due to GCC 9 trying to link against the wrong library: it turns out that LLVM’s libomp also ships a libgomp.dylib, as a symlink to libomp.dylib (and same thing with static libraries). This is what is interfering here.

So, quick questions:

 - are LLVM’s libomp and GCC’s libgomp supposed to be 100% compatible?
 - if not, why is LLVM symlinking its library under another name?

Thanks,
FX


More information about the Gcc mailing list