Re: [PATCH] Fix spurious glibc version dependency with -z mark-plt on non-Linux

2024-07-09 Thread Samuel Thibault
H.J. Lu, le mar. 09 juil. 2024 09:01:35 +0800, a ecrit: > On Tue, Jul 9, 2024, 8:55 AM Samuel Thibault <[1]samuel.thiba...@gnu.org> > wrote: > > This change fixes this by adding the version dependency only on x86_64 > Linux. > > > That is wrong.  Your patch checks the > building system,

Re: [PATCH] Fix spurious glibc version dependency with -z mark-plt on non-Linux

2024-07-08 Thread H.J. Lu
Please open a binutils bug and CC me. H.J. On Tue, Jul 9, 2024, 9:01 AM H.J. Lu wrote: > > On Tue, Jul 9, 2024, 8:55 AM Samuel Thibault > wrote: > >> 916730425594 ("elf: Add elf_backend_add_glibc_version_dependency") >> introduced adding an extra GLIBC_2.36 version dependency for x86_64. But

Re: [PATCH] Fix spurious glibc version dependency with -z mark-plt on non-Linux

2024-07-08 Thread H.J. Lu
On Tue, Jul 9, 2024, 8:55 AM Samuel Thibault wrote: > 916730425594 ("elf: Add elf_backend_add_glibc_version_dependency") > introduced adding an extra GLIBC_2.36 version dependency for x86_64. But > on x86_64 GNU/Hurd, there has never been a glibc 2.36 port, and thus the > GLIBC_2.36 version is no