Closed foxtran closed 3 days ago
Looks like it is a bug in MacOS command-line tools:
Have you updated command-line tools recently? You can change older version of it by export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX??.sdk, where you replace ?? with other versions.
No, I did not. I will try with MacOSX13.3.sdk; hope, it will help.
The another solution is to pass -Wl,-ld_classic
to CXX/C/Fortran compilers as I found but I do not test it yet.
With -Wl,-ld_classic
, it works. Unfortunately, usage of MacOSX13.3.sdk did not help :(
I have tried to compile OpenQP with OpenMP support on MacOS with the following steps: 1.
2.
At the second step, linker fails with the following message:
Some info about system:
clang:
GCC: