[PATCH] Raise the minimum binutils version to 2.39

Florian Weimer fweimer@redhat.com
Mon May 12 12:43:39 GMT 2025


* Stefan Liebler:

> The recent commit 27b96e069aad17cefea9437542180bff448ac3a0 raises the minimum
> GCC version to 12.1 which was released in 2022.
>
> The current minimum bintuils version 2.25 was released end of 2014.  This patch
> now raises the minimum binutils version to 2.39 which was also released in 2022.
>
> For ARC and powerpc, the special checks/hints are not needed anymore.
>
> On s390x, the used cfi_escape for cfi_val_offset can now be ommitted.
>
> In sysdeps/[alpha|hppa|csky]/configure.ac, PIE is unsupported with this comment:
> PIE builds fail on binutils 2.37 and earlier, see:
> https://sourceware.org/bugzilla/show_bug.cgi?id=28672
> This patch keeps PIE unsupported and let the machine maintainers test and
> enable it later.
>
> In sysdeps/arm/configure.ac, there is a check whether TPOFF relocs with addends
> are assembled correctly, which is known to be broken in binutils 2.24 and 2.25.
> See: https://sourceware.org/bugzilla/show_bug.cgi?id=18383
> This patch keeps the check as is and let the machine maintainers check if it
> still required.

Could you post a rebase of this?

I changed my mind and we should raise the minimum required version.
Having at least binutils 2.38 will allow us to assume that this linker
bug is fixed:

  Bug 28743 - -z relro creats holes in the process image on GNU/Linux
  <https://sourceware.org/bugzilla/show_bug.cgi?id=28743>

Thanks,
Florian



More information about the Libc-alpha mailing list