[OE-core] [PATCH v2] python3: security: disable -pie and -fpie from Python3 compilation.
Khem Raj
raj.khem at gmail.com
Fri Aug 7 03:05:15 UTC 2015
On Thu, Aug 6, 2015 at 3:48 AM, Topi Kuutela <topi.kuutela at intel.com> wrote:
> If security_flags.inc is 'required' to the image, -pie and -fpie options
> are added to CFLAGS. These are not compatible with -shared GCC option but
> cause linker errors which are not reported by bitbake.
what error do you run into ? can you also add that here
>
> Signed-off-by: Topi Kuutela <topi.kuutela at intel.com>
> ---
> meta/conf/distro/include/security_flags.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
> index 3724972..ff600fa 100644
> --- a/meta/conf/distro/include/security_flags.inc
> +++ b/meta/conf/distro/include/security_flags.inc
> @@ -82,6 +82,7 @@ SECURITY_CFLAGS_pn-python-imaging = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-pycurl = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-smartpm = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-python-numpy = "${SECURITY_NO_PIE_CFLAGS}"
> +SECURITY_CFLAGS_pn-python3 = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-tcl = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-tiff = "${SECURITY_NO_PIE_CFLAGS}"
> SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NO_PIE_CFLAGS}"
> --
> 2.4.3
>
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki
> Business Identity Code: 0357606 - 4
> Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list