[PATCH 0/3] Allow glibc to build with gcc that defaults to fortify, LFS, and 64-bit time_t

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Tue Sep 10 12:22:12 GMT 2024



On 09/09/24 17:25, Adhemerval Zanella wrote:
> Even though building glibc with fortify, LFS, and 64-bit time_t flags
> are not supported, and the usual way is to patch the build system to
> avoid it [1]; some systems do enable it by default (like Debian/Ubuntu),
> and failing to build with such compiler increases the requirements on
> how to proper build and tests glibc.
> 
> it also does not help newcomers when trying to build glibc, and it has
> generated some questions on libc-help, along with the bug reports.
> 
> This patch aims to detect if the compiler defaults to invalid flags to
> build glibc itself and disables it.
> 
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=31624

Sigh, for some reason I did not send the rest of the patchset...


More information about the Libc-alpha mailing list