* Re: Include PaX / GRSecurity
@ 2014-09-08 17:23 Stath, Paul
0 siblings, 0 replies; 2+ messages in thread
From: Stath, Paul @ 2014-09-08 17:23 UTC (permalink / raw)
To: yocto
Jens Lecius <incnews@jenslucius.de> write:
> I am trying to include the GRSecurity & PaX patches for the kernel in a Yocto build.
>
> The patch is applied to the kernel correctly, but when the build begins
> I get the following error:
> | Makefile:686: *** Your gcc installation does not support plugins. If
> the necessary headers for plugin support are missing, they should be
> installed. On Debian, apt-get install gcc-<ver>-plugin-dev. If you
> choose to ignore this error and lessen the improvements provided by this
> patch, re-run make with the DISABLE_PAX_PLUGINS=y argument.. Stop.
> Any ideas how to solve this? (Compile is on an Intel machine crosscompile for ARM)
> Thanks,
> Jens
By default, the gcc compiler built by Yocto is not configured with plug-in support.
To resolve this, I added a bbappend file for the gcc-cross recipe in my custom layer, which simply contained:
EXTRA_OECONF += "--enable-plugin"
This added the "--enable-plugin" flag to the do_configure task when configuring/building the gcc-cross compiler.
Note: Where you add the "--enable-plugin" configure option will depend on which compiler needs plugin support.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Include PaX / GRSecurity
2014-09-08 12:14 ` Bruce Ashfield
@ 2014-09-08 12:31 ` Jens Lucius
0 siblings, 0 replies; 2+ messages in thread
From: Jens Lucius @ 2014-09-08 12:31 UTC (permalink / raw)
To: yocto
I am trying to include the GRSecurity & PaX patches for the kernel in a
Yocto build.
The patch is applied to the kernel correctly, but when the build begins
I get the following error:
| Makefile:686: *** Your gcc installation does not support plugins. If
the necessary headers for plugin support are missing, they should be
installed. On Debian, apt-get install gcc-<ver>-plugin-dev. If you
choose to ignore this error and lessen the improvements provided by this
patch, re-run make with the DISABLE_PAX_PLUGINS=y argument.. Stop.
Any ideas how to solve this? (Compile is on an Intel machine
crosscompile for ARM)
Thanks,
Jens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-08 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-08 17:23 Include PaX / GRSecurity Stath, Paul
-- strict thread matches above, loose matches on Subject: below --
2014-09-07 8:51 Kernel features Ilya Dmitrichenko
2014-09-07 14:17 ` Bruce Ashfield
2014-09-08 5:50 ` Ilya Dmitrichenko
2014-09-08 12:14 ` Bruce Ashfield
2014-09-08 12:31 ` Include PaX / GRSecurity Jens Lucius
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.