Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-28 Thread H.J. Lu via Gcc
On Thu, Oct 28, 2021 at 6:43 AM Florian Weimer wrote: > > * H. J. Lu: > > > On Wed, Oct 27, 2021 at 11:52 PM Florian Weimer wrote: > >> > >> * H. J. Lu via llvm-dev: > >> > >> > 1. Some binaries which require new ELF features, like DT_RELR, only > >> > work with the new glibc binary. They crash

Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-28 Thread Florian Weimer via Gcc
* H. J. Lu: > On Wed, Oct 27, 2021 at 11:52 PM Florian Weimer wrote: >> >> * H. J. Lu via llvm-dev: >> >> > 1. Some binaries which require new ELF features, like DT_RELR, only >> > work with the new glibc binary. They crash at run-time with the older >> > glibc binaries. >> > 2. Somes binaries c

Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-28 Thread H.J. Lu via Gcc
On Wed, Oct 27, 2021 at 11:52 PM Florian Weimer wrote: > > * H. J. Lu via llvm-dev: > > > 1. Some binaries which require new ELF features, like DT_RELR, only > > work with the new glibc binary. They crash at run-time with the older > > glibc binaries. > > 2. Somes binaries compiled with the new l

Re: [llvm-dev] [PATCH] Add GNU_PROPERTY_1_GLIBC_2_NEEDED

2021-10-27 Thread Florian Weimer via Gcc
* H. J. Lu via llvm-dev: > 1. Some binaries which require new ELF features, like DT_RELR, only > work with the new glibc binary. They crash at run-time with the older > glibc binaries. > 2. Somes binaries compiled with the new language features, like C2X > printf specifiers, only generate correct