Closed sriravic closed 5 years ago
Yes, this is a known new issue with the latest ISPC (v1.11.0) and OSPRay. I've done some initial explorations and haven't been able to get it working locally.
The current workaround is to use ISPC v1.10.0 until we can figure out these PIC related problems.
Thank you. That fixed the problem. Should I close this issue or keep it open for tracking purposes?
Let’s leave this open until the ISPC issues are ironed out, so this gets tracked in a public place.
Thanks for reporting this, though!
CCing @aneshlya
Just out of curiosity: did you manually enforce usage of ispc v1.11? Because we have
set(ISPC_VERSION_WORKING "1.10.0" "1.9.2" "1.9.1")
in ospcommon/cmake/ispc.cmake
, thus that version should not have been picked up automatically by CMake configure.
I didn't enforce it directly but rather my setup just had version 1.11 in the path to search for the ispc executable. I'm not sure why CMake didn't report this.
This is ISPC problem. We have a fix for it.
The issue is fixed in ISPC master. It will be available in the next ISPC release.
Fantastic, thanks @dbabokin!
We now detect if an incompatible ISPC is being used during CMake build configuration in v2.0.0-alpha
.
I see that you have list of compatible versions here: https://github.com/ospray/ospray/blob/master/components/ospcommon/cmake/ispc.cmake#L18
What about adding 1.12.0 to it?
When trying to compile the latest pulled code on a Ubuntu 18.04 system with clang-8 and the latest ispc1.11, build fails with the following error.
I checked the ispc flags and they are indeed built with
--pic
flags. I'm not sure what else is going wrong here.