Hello
Andrew Pinski <apin...@marvell.com> writes: >> - Investigated why cross-build gdbserver needs GMP and MPFR (and is thus > failing to build) in tcwg-gnu-build jobs. Submitted Gerrit review > request to fix it. > > This seems to be related to my change to the toplevel makefiles. Are > you just building gdbserver only or gdb too? What are the configure > options that is being passed here? Indeed it is related. We build GDB and gdbserver but do so as separate builds, so in practice we do build gdbserver only. The fix I am applying is to use the '--disable-gdb' configure flag. >From my commit message: This became necessary since binutils-gdb commit 991180627851 ("Use toplevel configure for GMP and MPFR for gdb"), which made the top-level configure script require GMP and MPFR to build GDB. Later, commit 5fb0e3085771 ("configure: remove dependencies on gmp and mpfr when gdb is disabled") removed this requirement when the --disable-gdb option is passed. As for the configure options, they are: .../binutils-gdb.git~gdb-13-branch/configure SHELL=/bin/bash \ --with-gnu-ld --enable-plugins --enable-tui \ --with-pkgversion=Linaro_GDB-2023.03.17 --disable-gas \ --disable-binutils --disable-elfcpp --disable-ld --disable-gold \ --disable-gprof --with-python=python3 --disable-shared \ --enable-static --build=aarch64-unknown-linux-gnu \ --host=aarch64-unknown-linux-gnu --prefix=/some/prefix/usr \ --disable-gdb The last one was added just now. -- Thiago _______________________________________________ linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org