macOS build fails when using --enable-debug
Host environment
- 
Operating system: macOS Sonoma 14.3 
- 
OS/kernel version: 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64 x86_64 
- 
Architecture: x86_64 
- 
QEMU flavor: all 
- 
QEMU version: master last commit bd2e1231 
- 
QEMU command line: N/A ./configure --enable-debug make -j12
Description of problem
the build fails because a symbol can't be found:
ld: Undefined symbols:
  _lasi_82596_init, referenced from:
      _machine_HP_common_init_tail in hw_hppa_machine.c.oSteps to reproduce
- on macOS 14.3 in build folder
- ../configure --enable-debug
- make -j12
Additional information
the default build with
../configure
make -j12succeeds normally.