All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: glibc_2.9 compile failed for armv5te
Date: Fri, 16 Oct 2009 08:29:56 +0200	[thread overview]
Message-ID: <4AD812E4.6030304@dresearch.de> (raw)
In-Reply-To: <19c1b8a90910140958v561e4d04pd48cf3260145b916@mail.gmail.com>

Khem Raj wrote:
> On Wed, Oct 14, 2009 at 5:31 AM, Steffen Sledz <sledz@dresearch.de> wrote:
>> Phil Blundell schrieb:
>>> On Wed, 2009-10-14 at 11:33 +0200, Steffen Sledz wrote:
>>>> Since a few days a clean build of glibc_2.9 failed for hipox machine
>>>> (armv5te) with this error (details see attached logfile):
>>>>
>>>> | ../ports/sysdeps/arm/eabi/setjmp.S: Assembler messages:
>>>> | ../ports/sysdeps/arm/eabi/setjmp.S:45: Error: internal_relocation
>>>> (type: OFFSET_IMM) not fixed up
> 
> usually such error means that a undefined define is being used in assembly
> like in this case LDR a3, [a3, #RTLD_GLOBAL_RO_DL_HWCAP_OFFSET]
> 
> you should trace why RTLD_GLOBAL_RO_DL_HWCAP_OFFSET is not being defined
> correctly

Sorry, but i'm not really able to trace this. My knowledge in
assembler and tricky glibc build tooling (and the time i'm able to
invest) is limited.

The mentioned symbol seems to be defined in a file named
rtld-global-offsets.sym. It contains these lines:

 #define SHARED 1

 #include <ldsodefs.h>

 #define rtld_global_ro_offsetof(mem) offsetof (struct rtld_global_ro,
mem)

 RTLD_GLOBAL_RO_DL_HWCAP_OFFSET  rtld_global_ro_offsetof (_dl_hwcap)

But it's not clear to me, how this is involved in the build process. :(

Steffen





  reply	other threads:[~2009-10-16  6:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14  9:33 glibc_2.9 compile failed for armv5te Steffen Sledz
2009-10-14 10:32 ` Phil Blundell
2009-10-14 12:31   ` Steffen Sledz
2009-10-14 16:58     ` Khem Raj
2009-10-16  6:29       ` Steffen Sledz [this message]
2009-10-16 11:03 ` Steffen Sledz
2009-10-16 14:02   ` Steffen Sledz
2009-10-16 14:20     ` Roman I Khimov
2009-10-16 14:27       ` Steffen Sledz
2009-10-16 14:45     ` Phil Blundell
2009-10-16 14:51       ` Steffen Sledz
2009-10-16 20:54         ` Khem Raj
2009-10-16 21:07           ` Andrea Adami
2009-10-19  8:46             ` Steffen Sledz
2009-10-19 10:04               ` Andrea Adami
2009-10-19 10:26                 ` Steffen Sledz

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=4AD812E4.6030304@dresearch.de \
    --to=sledz@dresearch.de \
    --cc=openembedded-devel@lists.openembedded.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 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.