Skip to content

Nvbit tool compilation failure #157

@Saichand-Samudrala

Description

@Saichand-Samudrala

Hi,

I am trying to compile an Nvbit tool on the Jetson Orin Nano developer kit. The following is the setup.

Setup:

Package: nvidia-jetpack
Version: 6.2.1+b38
Priority: standard
Section: metapackages
Source: nvidia-jetpack (6.2.1)
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-jetpack-runtime (= 6.2.1+b38), nvidia-jetpack-dev (= 6.2.1+b38)
Homepage: Jetson - Embedded AI Computing Platform | NVIDIA Developer
Download-Size: 29.3 kB
APT-Manual-Installed: yes
APT-Sources: https://repo.download.nvidia.com/jetson/common r36.4/main arm64 Packages
Description: NVIDIA Jetpack Meta Package

Kernel: 5.15.148-tegra

L4T 36.4.4

CUDA 12.8

GCC 11.4

Using the following Nvbit tool framework from: (https://github.com/NVlabs/NVBit/releases/tag/v1.7.5)
Steps:

Download the framework
cd nvbit-Linux-aarch64-1.7.5/nvbit_release_aarch64/tools/record_reg_vals
make

Error:
nvcc -ccbin=g++ -D_FORCE_INLINES -dc -c -std=c++11 -I../../core -Xptxas -cloning=no -Xcompiler -Wall -arch=all -O3 -Xcompiler -fPIC record_reg_vals.cu -o record_reg_vals.o
nvcc warning : Support for offline compilation for architectures prior to ‘<compute/sm/lto>_75’ will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
record_reg_vals.cu(55): error: dynamic initialization is not supported for a managed variable
static attribute((managed)) ChannelDev channel_dev;
^

1 error detected in the compilation of “record_reg_vals.cu”.
make: *** [Makefile:73: record_reg_vals.o] Error 1

Please help me resolve the error. Let me know if you need more information.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions