Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: Robert Varga <robert.varga@getinge.com>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] Linker error undefined reference to `_rtld_global_ro'
Date: Thu, 16 Jul 2020 12:59:13 -0700	[thread overview]
Message-ID: <8b7bd962-4d27-501d-d72d-6c72b63b2672@gmail.com> (raw)
In-Reply-To: <11273.1594823779014710167@lists.yoctoproject.org>



On 7/15/20 7:36 AM, Robert Varga wrote:
> Thank you for instructions...
> 
>     build SDK for arm64. e.g. MACHINE=qemuarm64 bitbake -cpopulate_sdk
>     core-image-sato
> 
> After long attempts I finally managed to create an SDK with qemuarm64. 
> However, I did not use the core-minimal-sato as suggested, but used the 
> same setup as in my-image.bb (which is based on the 
> core-image-full-cmdline).
> With this new SDK I then did the same experiment and compiled the 
> application, and it worked! There were no linker error messages.
> Now the question for me is, why did it compile with qemuarm64, but not 
> with my settings?
> Is there anything else I can do to isolate the issue?
> Thanks for your support so far.

Can you check if your glibc is compiled with --enable-static-pie ?
search for GLIBCPIE and its value, if its set to --enable-static-pie 
then disable it for arm with GLIBCPIE_arm = ""

and retry

> -- 
> 
> Rob
> 
> 
> 

  reply	other threads:[~2020-07-16 19:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13 11:21 Linker error undefined reference to `_rtld_global_ro' Robert Varga
2020-07-13 16:51 ` [yocto] " Khem Raj
2020-07-14  7:53   ` Robert Varga
2020-07-14 15:45     ` [yocto] " Khem Raj
2020-07-15 14:36       ` Robert Varga
2020-07-16 19:59         ` Khem Raj [this message]
2020-07-17  7:51           ` Robert Varga
2020-07-21 15:07             ` Robert Varga
2020-07-21 19:10               ` [yocto] " Khem Raj
2020-07-23 12:42                 ` Robert Varga

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=8b7bd962-4d27-501d-d72d-6c72b63b2672@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=robert.varga@getinge.com \
    --cc=yocto@lists.yoctoproject.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox