[PATCH v1 00/35] Require GNU C --at least GCC 5 or Clang 4-- in headers

Collin Funk collin.funk1@gmail.com
Sun Nov 9 23:57:22 GMT 2025


"H.J. Lu" <hjl.tools@gmail.com> writes:

>> > I would like to avoid dropping old compiler support if possible. Guix
>> > uses GCC 4 for bootstrapping [2]. If Gnulib drops support for it, I
>> > assume it will make their lives harder.
>>
>> Would it be okay to raise the minimum to GCC 4?  That would already
>> remove many hundreds of lines of code.
>>
>>
>
> For installed headers, we should keep supporting the old compilers.

Adding onto this, there is also other compilers to consider.

Oracle Developer Studio works on systems using glibc, for example. I
don't know the status of tcc and pcc currently, but at some point they
did work. If they don't currently, it shouldn't be too much work [1].

Collin

[1] https://inbox.sourceware.org/libc-alpha/20251030201151.M137083@dcvr/


More information about the Libc-alpha mailing list