Thank you!

I applied that patch on top of the OpenWRT patched gcc-linaro-4.8-2014.04 and now everything has NOEXECSTACK out of the box! And I this works without having to add the gentoo hardening patch individually to the MIPS assembler files of uClibc. Which simplifies things greatly.

On 02/10/14 00:59, Bernhard Reutner-Fischer wrote:
On 1 October 2014 16:34, Andrew McDonnell <[email protected]> wrote:
(Sorry I didnt get back for a while)

After quite a journey I managed to work out how patch OpenWRT BB to build
using uClibc snapshot 2014097 and sourceware binutils 20140918.

For a MIPS target, all the symptoms remain:

Do you use a plain gcc?

You might want to look at
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02430.html
(for example).

HTH,

Thank you very much for your help and patience.

I will be submitting this patch to OpenWRT.

--Andrew

--


http://blog.oldcomputerjunk.net
https://launchpad.net/~andymc73
https://github.com/andymc73
Twitter: @pastcompute
GPG: http://www.andrewmcdonnell.net/gpg.html

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to