You are not logged in.

#1 2025-02-12 15:05:00

mayank96sinha
Member
Registered: 2016-09-16
Posts: 2

[solved] Problem with cuda package (cuda-gdb)

For some reason, cuda-gdb installed with the cuda package

sudo pacman -S cuda cuda-tools

doesn't have the python configuration whereas normal gdb does.

Output of `gdb --configuration`

This GDB was configured as follows:
   configure --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
	    --enable-targets=all
	    --with-auto-load-dir=$debugdir:$datadir/auto-load
	    --with-auto-load-safe-path=$debugdir:$datadir/auto-load
	    --with-expat
	    --with-gdb-datadir=/usr/share/gdb (relocatable)
	    --with-jit-reader-dir=/usr/lib/gdb (relocatable)
	    --without-libunwind-ia64
	    --with-lzma
	    --without-babeltrace
	    --without-intel-pt
	    --with-xxhash
	    --with-python=/usr (relocatable)
	    --with-python-libdir=/usr/lib (relocatable)
	    --with-debuginfod
	    --with-curses
	    --with-guile
	    --without-amd-dbgapi
	    --enable-source-highlight
	    --enable-threading
	    --enable-tui
	    --with-system-readline
	    --with-separate-debug-dir=/usr/lib/debug (relocatable)
	    --with-system-gdbinit=/etc/gdb/gdbinit

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)

GNU Readline library version: 8.2	(system)

Output of cuda-gdb --configuration:

This CUDA-GDB was configured as follows:
   configure --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
	    --with-auto-load-dir=$debugdir:$datadir/auto-load
	    --with-auto-load-safe-path=$debugdir:$datadir/auto-load
	    --with-expat
	    --with-gdb-datadir=/bin/share/gdb (relocatable)
	    --with-jit-reader-dir=no
	    --without-libunwind-ia64
	    --without-lzma
	    --without-babeltrace
	    --without-intel-pt
	    --without-mpfr
	    --without-xxhash
	    --without-python
	    --without-python-libdir
	    --without-debuginfod
	    --without-guile
	    --disable-source-highlight
	    --enable-threading
	    --with-separate-debug-dir=no

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)

Can anyone help me make cuda-gdb install with correct flags?

Last edited by mayank96sinha (2025-02-12 15:29:53)

Offline

#2 2025-02-12 15:30:36

mayank96sinha
Member
Registered: 2016-09-16
Posts: 2

Re: [solved] Problem with cuda package (cuda-gdb)

The issue is with python package. cuda-gdb doesn't support python3.13 yet. Using python3.12 solved the issue.

Offline

Board footer

Powered by FluxBB