[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <437983532.241061.1663621004742.JavaMail.zimbra@nod.at>
Date: Mon, 19 Sep 2022 22:56:44 +0200 (CEST)
From: Richard Weinberger <richard@....at>
To: Randy Dunlap <rdunlap@...radead.org>,
davidgow <davidgow@...gle.com>
Cc: anton ivanov <anton.ivanov@...bridgegreys.com>,
Johannes Berg <johannes@...solutions.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
tglx <tglx@...utronix.de>, mingo <mingo@...hat.com>,
dave hansen <dave.hansen@...ux.intel.com>,
torvalds <torvalds@...ux-foundation.org>,
Brendan Higgins <brendan.higgins@...ux.dev>,
Daniel Latypov <dlatypov@...gle.com>,
linux-um <linux-um@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
kunit-dev@...glegroups.com, x86 <x86@...nel.org>
Subject: Re: [PATCH] arch: um: Mark the stack non-executable to fix a
binutils warning
----- Ursprüngliche Mail -----
> Von: "Randy Dunlap" <rdunlap@...radead.org>
>> Link:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ffcf9c5700e49c0aee42dcba9a12ba21338e8136
>> Link:
>> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107
>> Signed-off-by: David Gow <davidgow@...gle.com>
>
> Acked-by: Randy Dunlap <rdunlap@...radead.org> # build-tested
This patch causes a build error on one of my systems:
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: unrecognized option '--no-warn-rwx-segments'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
Just like in commit ffcf9c5700e4 ("x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments") you need to
test for it.
Thanks,
//richard
Powered by blists - more mailing lists