Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-05 Thread Ayappan
> I would think the generic -fstack-protector testcases would already pick > this up. But apparently there doesn't exist any testcase for it! So > this failure mode wasn't detected either. Oh well. > > Not something I'll ask you to improve then! Okay. So if everything is good, can the changes b

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-05 Thread Segher Boessenkool
On Fri, Sep 05, 2025 at 12:51:09PM +0530, Ayappan wrote: > > I would think the generic -fstack-protector testcases would already pick > > this up. But apparently there doesn't exist any testcase for it! So > > this failure mode wasn't detected either. Oh well. > > > > Not something I'll ask you

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-03 Thread Ayappan
All active releases I would say. That would be GCC 13, 14 and 15 if I am not wrong. Thanks Ayappan On Mon, Sep 1, 2025 at 10:11 PM Segher Boessenkool < seg...@kernel.crashing.org> wrote: > On Mon, Sep 01, 2025 at 09:54:41PM +0530, Ayappan wrote: > > Yes, that would be really helpful. > > What re

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-03 Thread Segher Boessenkool
On Mon, Sep 01, 2025 at 09:54:41PM +0530, Ayappan wrote: > Yes, that would be really helpful.  What release branches do you want this backported to, then? I cannot (always) read minds :-) Segher > On Mon, Sep 1, 2025 at 9:31 PM Segher Boessenkool <[1] > seg...@kernel.crashing.org> wrote: > >

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-02 Thread Segher Boessenkool
On Tue, Sep 02, 2025 at 03:01:27PM +0530, Ayappan wrote: > > Wow. So this shortcoming harks back to the origin of time. > > > > Why was it not discovered before, do you think? No one ever tried it? > > > > Should we have a testcase for it? _Do_ we have a testcase for it? > > I came to know abou

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-02 Thread Ayappan
> Wow. So this shortcoming harks back to the origin of time. > > Why was it not discovered before, do you think? No one ever tried it? > > Should we have a testcase for it? _Do_ we have a testcase for it? I came to know about this recently when working with a build failure of Cpython in AIX. Re

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-02 Thread Segher Boessenkool
On Tue, Sep 02, 2025 at 10:01:54AM +0530, Ayappan wrote: > All active releases I would say. That would be GCC 13, 14 and 15 if I am not > wrong.  Wow. So this shortcoming harks back to the origin of time. Why was it not discovered before, do you think? No one ever tried it? Should we have a te

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-01 Thread Segher Boessenkool
Excellent. Thank you. Okay for trunk, as David said. Do you want backports for this? Segher On Mon, Sep 01, 2025 at 07:22:17PM +0530, Ayappan Perumal wrote: > From: Ayappan Perumal > > --- > stack-protector is not supported in GCC on AIX. This patch is to fail the > compilation if -fstack-

Re: [PATCHv3] Error out stack-protector unavailability on AIX

2025-09-01 Thread Ayappan
Yes, that would be really helpful. Thanks Ayappan On Mon, Sep 1, 2025 at 9:31 PM Segher Boessenkool < seg...@kernel.crashing.org> wrote: > Excellent. Thank you. Okay for trunk, as David said. > > Do you want backports for this? > > > Segher > > > On Mon, Sep 01, 2025 at 07:22:17PM +0530, Ayapp