x86_64-pc-linux-gnu-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2 -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/asm_defines -DM64P_PARALLEL -fPIC -I/usr/include/minizip -I/usr/include/libpng16 -I/usr/include/opencv4 -I/usr/include/SDL2 -D_REENTRANT -DNDEBUG -DDBG -I../../subprojects/md5 -I../../subprojects/xxhash -DDYNAREC -DM64P_OPENCV -MD -MP -c -o _obj/debugger/dbg_memory.o ../../src/debugger/dbg_memory.c ../../src/debugger/dbg_memory.c: In function ‘init_host_disassembler’: ../../src/debugger/dbg_memory.c:113:19: error: ‘print_insn_i386’ undeclared (first use in this function); did you mean ‘print_insn_m32c’? 113 | disassemble = print_insn_i386; | ^~~~~~~~~~~~~~~ | print_insn_m32c ../../src/debugger/dbg_memory.c:113:19: note: each undeclared identifier is reported only once for each function it appears in ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20210822-130025 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.54.0 * The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit 50361d488e9432f77d7daf0a705e939133209c36 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Aug 25 18:21:32 2021 +0000 2021-08-25 18:21:29 UTC emerge -qpvO games-emulation/mupen64plus-core [ebuild N ] games-emulation/mupen64plus-core-2.5.9-r2 USE="debugger opencv -gles2-only -lirc (-new-dynarec) -osd" CPU_FLAGS_X86="sse"
Created attachment 736015 [details] emerge-info.txt
Created attachment 736017 [details] emerge-history.txt
Created attachment 736019 [details] environment
Created attachment 736021 [details] etc.portage.tar.bz2
Created attachment 736023 [details] games-emulation:mupen64plus-core-2.5.9-r2:20210825-193633.log
Created attachment 736025 [details] temp.tar.bz2
Had a quick look because of glibc-2.34, but this isn't it. It's misdetecting binutils-libs version and not setting -DUSE_LIBOPCODES_GE_2_29 when the off-by-default USE=debugger is set. The lazy quickfix would be to `append-cppflags -DUSE_LIBOPCODES_GE_2_29` and depend on binutils-libs when USE=debugger (we don't have <2.29 anymore, so detection doesn't really matter).
Hit by this as well.
This bug is still present. I tried making an ebuild that includes the "quickfix" mentioned in a previous comment, but I couldn't get it to work (it's likely I messed something up, though). Having USE=-debugger works to compile it, but it'd be nice if I didn't have to do that in the future.