Running gdb-14.0.50

Nemo Nusquam cym224@gmail.com
Wed Mar 22 22:56:58 GMT 2023


I downloaded gdb-14.0.50.20230322 and built it with the following 
configuration script.

ABI=64 \
CFLAGS='-m64 -g3 -O0' \
CXXFLAGS='-m64 -g3 -O0' \
SHELL=/usr/bin/bash \
AR=/usr/bin/gar \
AS=/usr/bin/as \
CC=/home/build/gcc/64/bin/gcc \
CXX=/home/build/gcc/64/bin/g++ \
../gdb-14.0.50.20230322/configure \
--with-gmp-prefix=/usr/local \
--with-mpfr-prefix=/usr/local \
--host=sparcv9-sun-solaris11 \
--build=sparcv9-sun-solaris11 \
--enable-64-bit-bfd \
--enable-tui \
--with-curses \
--disable-bootstrap \
--disable-gprof \
--disable-gprofng \
--disable-gold \
--disable-gas \
--disable-sim

Despite specifying both host and build as sparcv9, when I invoke against 
a simple C binary, the following happens.

../../gdb-14.0.50.20230322/gdb/arch-utils.c:753: internal-error: 
initialize_current_architecture: Selection of initial architecture failed
A problem internal to GDB has been detected,

Is there any other option that will specify a build for sparcv9 alone.  
No other architecture will be debugged on this machine (T2000 running 
Solaris 11.3).

Thank you.
N.


More information about the Gdb mailing list