Upgrading autoconf and automake

Simon Marchi simark@simark.ca
Tue Nov 24 18:21:14 GMT 2026


On 11/23/26 9:35 PM, Pietro Monteiro via Gdb wrote:
> 
> 
> On 2026-11-17 09:59, Tom Tromey wrote:
>>>>>>> Pietro Monteiro <pietro@sociotechnical.xyz> writes:
>>
>>> I decided to try upgrading autoconf and automake to the latest
>>> available versions, respectively 2.73 and 1.19*.
>>
>> Thank you for doing this.
>>
>>> What kind of testing should be done? Are other people able to help
>>> here, specially for targets that don't use the GNU toolchain?
>>
>> In the binutils-gdb tree, the hosts matter more than the targets.
>>
>> I don't think there are many things built for the target.  Maybe just
>> gdbserver, which has only been ported to a handful of platforms (and
>> some of those ports are probably dead).
>>
>> I would suggest trying a Linux build, a mingw build (these can be done
>> on a Linux machine with cross toolchains), and ideally an AIX build
>> (there's a machine in the compile farm).
> 
> I can't build neither gdb 18.1 nor master on the cfarm AIX host (cfarm119). It has gcc 13 installed. Do I need a newer version?

Apparently on AIX we need to build with -pthread for those types to be
visible:

https://sourceware.org/bugzilla/show_bug.cgi?id=33605

I just did a successful build with:

export PATH=/opt/freeware/bin:/opt/cfarm/bison-latest/bin:/opt/cfarm/make-latest/bin:/opt/cfarm/m4-latest/bin:$PATH
../../src/binutils-gdb/configure --disable-sim --with-gmp=/opt/cfarm CXXFLAGS="-g -O2 -pthread"
gmake all-gdb

Note that on this machine, it is best to create a directory with your
name in /scratch and work in that for anything big.

I tested with your autoconf 2.73 patch, seems fine.

Simon


More information about the Gdb mailing list