On Sat, Jul 25, 2020 at 9:01 AM H.J. Lu wrote: > > On Fri, Jul 24, 2020 at 1:04 PM Aaron Merey via Gcc-patches > wrote: > > > > On Tue, Jul 21, 2020 at 2:11 PM Aaron Merey wrote: > > > > > > On Tue, Jul 21, 2020 at 11:20 AM Tom Tromey wrote: > > > > > > > > Simon> Since it's debuginfo.m4 that is using PKG_CHECK_MODULES, can you put the include > > > > Simon> of pkg.m4 in debuginfo.m4, instead of in {binutils,gdb}/configure.ac? > > > > > > > > Simon> Otherwise, from GDB's point of view I think it looks good, unless > > > > Simon> Tom has some things to add. > > > > > > > > I'm happy with it. Thanks for persevering. > > > > > > Great. I can push to binutils-gdb but not gcc. Should I just push to > > > binutils-gdb for now or wait until the patch can be applied to both > > > repos at once? > > > > I'm going to go ahead and push to binutils-gdb. Since these changes > > should not affect gcc there shouldn't be any conflicts. > > > > This caused: > > https://sourceware.org/bugzilla/show_bug.cgi?id=26301 > It is quite normal to have debuginfod headers without libdebuginfod on multilib OSes. Restore AC_CHECK_LIB to check if libdebuginfod exists. And always define HAVE_LIBDEBUGINFOD to 0 or 1 for binutils/dwarf.c:#if HAVE_LIBDEBUGINFOD binutils/dwarf.c:#if HAVE_LIBDEBUGINFOD binutils/dwarf.c:#if HAVE_LIBDEBUGINFOD binutils/dwarf.h:#if HAVE_LIBDEBUGINFOD binutils/objdump.c:#if HAVE_LIBDEBUGINFOD binutils/objdump.c:#endif /* HAVE_LIBDEBUGINFOD */ binutils/readelf.c:#if HAVE_LIBDEBUGINFOD binutils/readelf.c:#endif /* HAVE_LIBDEBUGINFOD */ gdb/top.c:#if HAVE_LIBDEBUGINFOD OK for master? -- H.J.