Re: Linux 6.2-rc2

From: Masahiro Yamada
Date: Tue Jan 10 2023 - 13:46:57 EST


On Tue, Jan 10, 2023 at 9:32 AM SeongJae Park <sj@xxxxxxxxxx> wrote:
>
> On Tue, 3 Jan 2023 11:58:48 +0100 Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> > On Tue, 3 Jan 2023 at 03:13, Linus Torvalds
> > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > On Mon, Jan 2, 2023 at 5:45 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> > > >
> [...]
> > --- a/include/asm-generic/vmlinux.lds.h
> > +++ b/include/asm-generic/vmlinux.lds.h
> > @@ -896,7 +896,7 @@
> > * Otherwise, the type of .notes section would become PROGBITS
> > instead of NOTES.
> > */
> > #define NOTES \
> > - /DISCARD/ : { *(.note.GNU-stack) } \
> > + .note.GNU-stack : { *(.note.GNU-stack) } \
> > .notes : AT(ADDR(.notes) - LOAD_OFFSET) { \
> > BOUNDED_SECTION_BY(.note.*, _notes) \
> > } NOTES_HEADERS \
> >
> > The .note.GNU-stack has zero size, so the result should be the same.
> >
>
> This also fixes ARCH=um build error on my system.
>
> Tested-by: SeongJae Park <sj@xxxxxxxxxx>



I am able to build ARCH=um defconfig at least.

Can you provide the steps to reproduce the build error?




--
Best Regards
Masahiro Yamada