linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "David Burg" <david.burg@nero.com>
To: <linuxppc-dev@lists.linuxppc.org>
Subject: R_PPC_REL24 relocation out of range
Date: Fri, 20 Jul 2001 15:30:09 +0200	[thread overview]
Message-ID: <002a01c11120$1895f130$2502a8c0@cwx053a> (raw)


Hello,

I'm making cross-compilation from x86 to powerpc and I got such nice error
while executing :
dlopen: ./libf.so: R_PPC_REL24 relocation at 0x6fdb6458 for symbol
`L_OFFSET_TABLE_' out of range

With dynamic linked libraries. Making a search on the internet, I have seen
someone got the same trouble :

http://lists.linuxppc.org/listarcs/linuxppc-dev/200003/msg00025.html

I try this simple program and got the error with the cross-compiler (a
powerpc-linux-gcc 2.95.2 with matching g++ and ld behind). This web page was
of previous year, so I bet there exist a fix now but I can't find it.

I allready use -fpic -fPIC flags to my g++ calls. Note that the bug happen
when cross-compiling the libraries but not when localy compiling the
libraries.



Best regards,

David Burg.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-07-20 13:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-20 13:30 David Burg [this message]
2001-07-20 15:56 ` R_PPC_REL24 relocation out of range David Burg
     [not found] <A5D247E9DC04C08EC1256832004AFECD.004AFF0FC1256832@kehl.dalim.de>
1999-11-23 16:31 ` Stephane GEORGES
1999-11-23 16:45   ` Andreas Tobler
  -- strict thread matches above, loose matches on Subject: below --
1999-11-23 13:03 Stephane GEORGES
1999-11-23 13:35 ` Andreas Tobler
1999-11-23 14:47   ` Michael Schmitz

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='002a01c11120$1895f130$2502a8c0@cwx053a' \
    --to=david.burg@nero.com \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).