xtensa-toolchain-build
xtensa-toolchain-build copied to clipboard
gdb 12.x fails to build with xtensa_dc233c.tar.gz
The changes introduced in upstream gdb in commit https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=345bd07cce33565f1cd66acabdaf387ca3a7ccb3 clash with the changes brought by the overlay on gdb/xtensa-config.c, causing a build failure:
xtensa-tdep.o: In function xtensa_gdbarch_init(gdbarch_info, gdbarch_list*)': xtensa-tdep.c:(.text+0x1cd2): undefined reference to
xtensa_tdep'
xtensa-tdep.c:(.text+0x1ce9): undefined reference to xtensa_tdep' xtensa-tdep.c:(.text+0x1cf2): undefined reference to
xtensa_tdep'
xtensa-tdep.c:(.text+0x1cfc): undefined reference to xtensa_tdep' xtensa-tdep.c:(.text+0x1d12): undefined reference to
xtensa_tdep'
xtensa-tdep.o:xtensa-tdep.c:(.text+0x1d19): more undefined references to `xtensa_tdep' follow
collect2: error: ld returned 1 exit status
Makefile:1903: recipe for target 'gdb' failed