I’m trying to run my first written program on the Jetson Xavier, but I keep getting an exec format error. In Nsight, I make sure that the target architecture is aarch64 and the on the host system (Ubuntu 18.04) is also aarch64, but for some reason I keep getting the following error:
/bin/sh: 1: /tmp/nsight-debug/project13: Exec format error
I’m not sure what I’m doing wrong.
From what I understand, I’m supposed to update the toolchain to GCC 6.4.1, but I don’t know how to add a new toolchain in Nsight/Eclipse. Check out the discussion about it: https://devtalk.nvidia.com/default/topic/1042391/jetson-agx-xavier/is-it-possible-to-build-kernel-module-in-xavier-solved-/
Any advice would be greatly appreciated!