This is the mail archive of the
mailing list for the GDB project.
Re: [RFC 2/2] Move gdb's xmalloc and friends to new file
- From: Alan Hayward <Alan dot Hayward at arm dot com>
- To: Pedro Alves <palves at redhat dot com>, Tom Tromey <tom at tromey dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, nd <nd at arm dot com>
- Date: Wed, 3 Jul 2019 16:18:28 +0000
- Subject: Re: [RFC 2/2] Move gdb's xmalloc and friends to new file
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan dot Hayward at arm dot com;
- References: <firstname.lastname@example.org> <email@example.com> <FA1651F0-3805-4466-8246-6439983AF3B9@arm.com> <firstname.lastname@example.org> <email@example.com> <43591E27-A08D-4138-BB6E-C09BFEA03524@arm.com>
> On 18 Jun 2019, at 10:30, Alan Hayward <Alan.Hayward@arm.com> wrote:
>> On 17 Jun 2019, at 19:37, Pedro Alves <firstname.lastname@example.org> wrote:
>> On 6/17/19 6:43 PM, Tom Tromey wrote:
>>>>>>>> "Alan" == Alan Hayward <Alan.Hayward@arm.com> writes:
>>> Alan> Looks like this breaks the building of alloc-ipa.o when using Make 3.81
>>> Alan> I’ve tried this on a few different machines.
>>> My first thought is that maybe we should simply declare 3.81
>>> unsupported. It was apparently released in 2006:
>>> ... so it is quite ancient.
>>> Is there some compelling reason to keep supporting it?
>> I think it depends more on what distributions ship than what
>> the release date was. E.g., if you look around the last couple
>> stable releases of popular stable distros (e.g., ubuntu, debian, fedora),
>> which GNU Make version did they ship? If the GNU Make version shipped
>> by default is not 4.x, is there an easy optional rpm/deb package
>> for GNU Make 4.x available?
>> This was the same kind of investigation that led to the GCC 4.8
>> minimum requirement.
>> Also, looking around the GCC compile farm machine (including the
>> /opt/ dirs) for what is available may be a good hint/proxy for
>> determining whether bumping the requirement could cause trouble
>> for people.
> Glibc requires 4.0:
> Changes to build and runtime requirements:
> GNU make 4.0 or later is now required to build glibc.
> GCC still allows 3.8:
> GNU make version 3.80 (or later)
I’ve done a little more digging into as many machines as I could find:
Ubuntu 16.04, 18.04 - make 4.1
Ubuntu 14.04 - make 4.0
Fedora 27 - make 4.2.1
Redhat 7.5, Centos 7.5, Centos 6 - make 3.82
Redhat 5.8, 6.9 - make 3.81
OpenSuse 42.2 - 4.2.1
Also: https://software.opensuse.org/package/make confirms a mix of 4.21 and
3.82 as the versions in various latest distros.
I’ve tried building using make 3.82, and it works for me.
Make 3.82 was released in 2010.
Any objection upping the minimum make version to 3.82 ?
If so I can raise a patch to add a statement to the NEWS file (similar to
the one that already exists).