nvlink reported undefined reference

Message: 2

Jon, try to manually remove old .bc files generated for NVPTX runtime library. You may use the old ones, sometimes they are not rebuilt automatically. Also, what tests are you trying to investigate? For me, the tests from check-libomptarget-nvptx are failed.

Best regards,
Alexey Bataev

Hey,

Clean build here. CMake dependency tracking is unreliable.

Ad hoc testing based on the email thread. I don’t have a working cuda/nvptx baseline so in tree tests don’t tell me much. I hacked my host clang install until it could handle the cuda in deviceRTL and left it at that.

I’ve just sent a message to the list asking for “known working” toolchain combinations in the hope of moving to a better testing baseline. Or I guess, currently, a known-working-before-support.cu.

Regards,

Jon