Closed lms-ts closed 6 months ago
This was due to the glibc 2.38 update that came in with nanbield. I had a fix for it in cuda.bbclass for bitbake builds, but forgot to propagate that into the SDK environment. I've cherry-picked #1445 to the nanbield branch, so it should be fixed there now as well.
I am using the latest meta-tegra (nanbield) layer to build a custom image for a Jetson AGX Orin devkit (machine: jetson-agx-orin-devkit). When building a simple CMAKE/CUDA application via recipe, the compilation succeeds.
The recipe:
CMakeLists.txt:
example.cu is taken from here: https://gist.github.com/dpiponi/1502434#file-example-cu
When trying to build the same application via SDK with
set in local.conf the build fails.
Build Steps (within terminal):
The build seems to fail when trying to set CUDA as language with the following error message:
With mickledore this problem does not occur and building the application (and other, much more complex ones) works fine.