[Openmp-dev] [OpenMP-dev] OMPT tests failing on OSX
Joachim Protze via Openmp-dev
openmp-dev at lists.llvm.org
Tue Jul 3 11:25:27 PDT 2018
Just to make sure. Was your suggestion to completely remove the option, or
just drop it on osx?
At least on Ubuntu systems I made the experience that this option is needed
to overwrite the default linker behavior which will not load the tool,
because the application does not call any of the functions provided by this
In our case the OpenMP runtime will use dlsym to find the ompt_start_tool
Is there a better way to portably tell the linker to link this library
Jeff Hammond via Openmp-dev <openmp-dev at lists.llvm.org> schrieb am Di., 3.
Juli 2018, 02:05:
> Why don't you verify that it works when that flag is omitted and then
> submit a patch upstream?
> On Mon, Jul 2, 2018 at 5:02 PM, Simone Atzeni <simone at cs.utah.edu> wrote:
>> I was wondering because for our tool Archer (OpenMP data race detector)
>> we run the OMPT tests to make sure that we are using the correct OpenMP
>> version and those two failures make fail our Travis CI.
>> It would be great if it could be fixed.
>> On Jul 2, 2018, at 5:58 PM, Jeff Hammond <jeff.science at gmail.com> wrote:
>> The fix appears to be "don't use that option", as demonstrated by
>> https://github.com/pytorch/pytorch/issues/3436. I have not verified
>> this, although I am a Mac user and can do so if necessary.
>> On Mon, Jul 2, 2018 at 4:41 PM, Simone Atzeni via Openmp-dev <
>> openmp-dev at lists.llvm.org> wrote:
>>> On Mac two OMPT tests (see below) fail because the linking option
>>> "--no-as-needed” is not recognized (using LLVM/Clang 6.0.1)
>>> Does anyone know a workaround for this?
>>> Failing Tests (2):
>>> libomp :: ompt/loadtool/tool_available/tool_available.c
>>> libomp :: ompt/loadtool/tool_not_available/tool_not_available.c
>>> Openmp-dev mailing list
>>> Openmp-dev at lists.llvm.org
>> Jeff Hammond
>> jeff.science at gmail.com
> Jeff Hammond
> jeff.science at gmail.com
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmp-dev