All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Burton, Ross" <ross.burton@intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] glibc: Enable static PIE support
Date: Thu, 1 Mar 2018 08:35:31 +0000	[thread overview]
Message-ID: <CAJTo0LacweumOd2kSTtcxuLn_wwEcG+D6R=zqNc_OqO2OMApPA@mail.gmail.com> (raw)
In-Reply-To: <20180228204607.16416-1-raj.khem@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]

Would this be the cause of glibc failing to build like this on PPC?

|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/powerpc-poky-linux.gcc-cross-initial-powerpc/../../libexec/powerpc-poky-linux.gcc-cross-initial-powerpc/gcc/powerpc-poky-linux/7.3.0/ld:
read-only segment has dynamic relocations.

The previous glibc run was all green, added this patch and it fails.

Ross

On 28 February 2018 at 20:46, Khem Raj <raj.khem@gmail.com> wrote:

> go programs when compiled with PIE fails otherwise on aarch64
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-core/glibc/glibc_2.27.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/glibc/glibc_2.27.bb
> b/meta/recipes-core/glibc/glibc_2.27.bb
> index e9d4117a47..62db3e9d02 100644
> --- a/meta/recipes-core/glibc/glibc_2.27.bb
> +++ b/meta/recipes-core/glibc/glibc_2.27.bb
> @@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
>                  --enable-bind-now \
>                  --enable-stack-protector=strong \
>                  --enable-stackguard-randomization \
> +                --enable-static-pie \
>                  ${GLIBC_EXTRA_OECONF}"
>
>  EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
> --
> 2.16.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2710 bytes --]

  parent reply	other threads:[~2018-03-01  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 20:46 [PATCH] glibc: Enable static PIE support Khem Raj
2018-02-28 21:05 ` ✗ patchtest: failure for " Patchwork
2018-03-01  8:35 ` Burton, Ross [this message]
2018-03-01  9:56   ` [PATCH] " Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJTo0LacweumOd2kSTtcxuLn_wwEcG+D6R=zqNc_OqO2OMApPA@mail.gmail.com' \
    --to=ross.burton@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.