Control: found -1 11.2.152~11.2.2-3
Control: found -1 11.3.109~11.3.1-4
Control: retitle -1 nvidia-cuda-gdb: cuda-gdb 'Segmentation fault' at startup 
if libpython2.7 is installed

On 22/10/2021 19.11, Tim Trant wrote:
"gdb /usr/bin/cuda-gdb" and "strings /usr/bin/cuda-gdb" suggest that there's a 
hidden
use of libpython2.7.so.1 which is failing.

cuda-gdb is (after some patching) built against python3, but nvidia has
made changes that attempt to dlopen the libpythonX.Y.so.1, but only for 2.Y.
So if libpython2.7 is installed, it will crash, since 2.7 and 3.x do not
seem to be binary compatible. If it is not installed, python support
will simply not work.

In experimental (based on gdb 10.1) it does at least not segfault, but
python seems to work neither.

At least for stable (and propagating to oldstable-backports) I'll just
build without python support ...


Andreas

Reply via email to