This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: [PATCH v3] Mips support for PT_GNU_STACK



On 05.08.2019. 21:25, Joseph Myers wrote:
> On Sun, 4 Aug 2019, Dragan Mladjenovic wrote:
> If simply building new-enough GCC and glibc quietly results in a new
> kernel requirement without any special configure options being needed,
> that could be a problem - we'd need to consider carefully whether such an
> increase is desirable, or whether it's only appropriate given a suitable
> --enable-kernel option.
>

Well, inverted logic would also work for me. That we force executable 
stack (-Wa,-execsatck) for a hard-float builds that don't specify 
--enable-kernel or otherwise have an minimum kernel version of 4.8.

It doesn't change the status quo that much. Glibc would still have 
executable stack, but now it would be explicit. If user increases 
minimum kernel version up to 4.8 then he can have the usual behavior of 
executable stack depending on gcc defaults.

That way we could have the gcc configured against glibc 2.31 + glibc 
2.31 that has minimum kernel version of 4.8 with non-executable stack by 
default.

Best regards,

Dragan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]