Re: [PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-22 Thread Jonathan Wakely via Gcc-patches
On 22/09/20 09:40 +, JonY via Libstdc++ wrote: On 9/22/20 8:50 AM, Jonathan Wakely wrote: I don't see a patch, or any previous email to the libstdc++ list. Please resend with the patch, CCing libstdc++@ Thanks. Resent for the record. Thanks. I've been told it might not be appropr

Re: [PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-22 Thread JonY via Gcc-patches
On 9/22/20 8:50 AM, Jonathan Wakely wrote: > > I don't see a patch, or any previous email to the libstdc++ list. > > Please resend with the patch, CCing libstdc++@ > > Thanks. > > > Resent for the record. I've been told it might not be appropriate because some targets cannot link yet and the

Re: [PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-22 Thread Jonathan Wakely via Gcc-patches
On 16/09/20 12:11 +, JonY via Libstdc++ wrote: On 9/13/20 3:37 PM, JonY wrote: On 9/10/20 2:23 PM, JonY wrote: Do a link test instead of just a grep. The linker can support multiple targets, but not all targets can use it. Cygwin/MinGW ld can support ELF but the PE format for Windows itsel

Re: [PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-16 Thread JonY via Gcc-patches
On 9/13/20 3:37 PM, JonY wrote: > On 9/10/20 2:23 PM, JonY wrote: >> Do a link test instead of just a grep. The linker can >> support multiple targets, but not all targets can use it. >> >> Cygwin/MinGW ld can support ELF but the PE format for Windows itself >> does not support such a feature. Atta

Re: [PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-13 Thread JonY via Gcc-patches
On 9/10/20 2:23 PM, JonY wrote: > Do a link test instead of just a grep. The linker can > support multiple targets, but not all targets can use it. > > Cygwin/MinGW ld can support ELF but the PE format for Windows itself > does not support such a feature. Attached patch OK? > > I'm not confident

[PATCH] libstdc++: use a link test to test for -Wl,-z,relro

2020-09-10 Thread JonY via Gcc-patches
Do a link test instead of just a grep. The linker can support multiple targets, but not all targets can use it. Cygwin/MinGW ld can support ELF but the PE format for Windows itself does not support such a feature. Attached patch OK? I'm not confident with regenerating configure due to some unrela