<div dir="ltr"><div dir="ltr">Hi,<div>To suppress optimizations so I can see parameters in normal builds</div><div>with -O3 (or -O2) optimized out, I am trying to build my application with</div><div>-O0, but this configuration, while higher -O2 and -O3 builds succeed, fails</div><div>with the following messages:</div><div><br></div><div> [  3%] Linking CXX shared library libsli.so</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter9ArraytypeE' in '/tmp/arraydatum-674e43.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter13ProceduretypeE' in '/tmp/arraydatum-674e43.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter16LitproceduretypeE' in '/tmp/arraydatum-674e43.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter13IntVectortypeE' in '/tmp/arraydatum-674e43.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter16DoubleVectortypeE' in '/tmp/arraydatum-674e43.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter14DictionarytypeE' in '/tmp/dictdatum-978310.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter10DoubletypeE' in '/tmp/doubledatum-c94ef1.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter11IntegertypeE' in '/tmp/integerdatum-3593a0.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter11IstreamtypeE' in '/tmp/iostreamdatum-3a3968.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter12XIstreamtypeE' in '/tmp/iostreamdatum-3a3968.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter11OstreamtypeE' in '/tmp/iostreamdatum-3a3968.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter8NametypeE' in '/tmp/namedatum-1437b3.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter11LiteraltypeE' in '/tmp/namedatum-1437b3.cubin'</div><div>nvlink error   : Undefined reference to '_ZN12RegexpModule9RegexTypeE' in '/tmp/sliregexp-99b2e4.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter10StringtypeE' in '/tmp/stringdatum-823e31.cubin'</div><div>nvlink error   : Undefined reference to '_ZN14SLIInterpreter10SymboltypeE' in '/tmp/symboldatum-98a922.cubin'</div><div>clang-8: error: nvlink command failed with exit code 255 (use -v to see invocation)</div><div>make[2]: *** [sli/libsli.so] Error 255</div><div>make[2]: *** Deleting file `sli/libsli.so'</div><div>make[1]: *** [sli/CMakeFiles/sli_lib.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div><div>I suspect there's something wrong with the OpenMP runtime library, but</div><div>I appreciate experts can take a look at the above.</div></div></div>