This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] Mips support for PT_GNU_STACK
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Dragan Mladjenovic <dmladjenovic at wavecomp dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos at redhat dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, "Maciej W . Rozycki" <macro at linux-mips dot org>, Faraz Shahbazker <fshahbazker at wavecomp dot com>
- Date: Mon, 5 Aug 2019 19:25:15 +0000
- Subject: Re: [PATCH v3] Mips support for PT_GNU_STACK
- Ironport-sdr: oAN31EjKfqqGlvoDs+F4iJsNetsgBSnUAoshN4cPyomUL1sa56rn5Do4+M6SUFcZeH135PuX5t Oy4VO0+UU3zqGNQqH0db2gkv06WlOU4AjEaEVytQBQAvF4gh/NfOgnznDTOfBu1GToSdLwvptV QbuG787I75RFdzAaFdXDiMILQ53MKqnu/QEK/2Fs0wcANY+/KIcqFWpVzGZaNktVnDTmXp0RRi xp0BrPFdzZK+69FmStSpxRmpwBzSDmzHD4xCtQZIX5/UEKr06eXlLT5vxf7Zuyu9G8b3TDbcPn SN8=
- Ironport-sdr: 1vnX0oeilPUz51RNpwHv4jm/wY77wj0i8iYk+xQK0TRunU1zt+uIdULLnGMh7w2x+epVGIFpsn i55QJucLmn00dIoO+vKLMiEV8QxDvkr8eLt+Qgxrnn/j+wCLy+Qb3wJxjFdMhzoVCNhiymXXYe V1tww4b5+xEcAPNK33LY8K0ZVThaZUZ8p03sMNYQ0n+ZPSW81zzkB/XmOKS6WqUFf8jgnHR6HY ZhnGocqrofi8ojLF5GR3oJkrS2m1t1dXCw9M+jlXXlQ3EfhLuo5DcaS4NEusXLPozNpk0icC/i eG0=
- References: <1564936138-30899-1-git-send-email-dmladjenovic@wavecomp.com>
On Sun, 4 Aug 2019, Dragan Mladjenovic wrote:
> In order to allow for the tool-chain to safely use PT_GNU_STACK by
> default, this patch bumps the minimum kernel version to 4.8 for the
> hard-float builds done with GNU.stack enabled tool-chain.
I think this explanation needs expanding. What is meant by "GNU.stack
enabled tool-chain"? How do you control whether a toolchain you build is
such a toolchain or not?
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.
Certainly the new feature needs a NEWS entry in any case.
> It would be nice if this could be back-ported as far back as glibc's
> policy allows.
I don't think this sort of new feature is suitable for backporting at all,
and an increase to the minimum kernel version certainly isn't.
--
Joseph S. Myers
joseph@codesourcery.com