Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8671671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:00:18+00:00 2026-06-12T19:00:18+00:00

I am working on an embedded powerpc (e500v2) platform. I am cross compiling compiling

  • 0

I am working on an embedded powerpc (e500v2) platform. I am cross compiling compiling with gcc 4.6.3 and eglibc 2.13. There is a swig library that is compiled and loaded on the target. When its loaded in python I am getting this error in a traceback:

ImportError: /opt/load/lib/libISSDcn.so: R_PPC_REL24 relocation at 0x0ddc99c0 for symbol `longjmp' out of range

I have struggles with this library before, I am migrating from python 2.5 on our target to 2.7. When I initially attempted to compile this library I was getting either relocation errors or operand out of range errors at compile time depending on which flags I used. I switched to gcc 4.6.3 and now it builds, but I am getting this error when its loaded.

I am trying to understand the error, but so far I am in the dark on exactly what it means and how to fix it. I get that a symbol can’t be found for some reason, but I don’t understand why, or how to fix it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:00:20+00:00Added an answer on June 12, 2026 at 7:00 pm

    The R_PPC_REL24 relocation is used for 24 bit relative offsets. Relocations of this type should not appear in dynamic relocation tables (these are meant for references inside a loadable object, not between them, as libraries can be loaded to addresses more than 16 MiB apart).

    By default, the compiler generates these relocs whenever possible, as this is significantly smaller and faster code than using full 32 bit addresses, however for dynamic linking, full addresses need to be used for externally visible symbols and PIC/GOT entries generated.

    Check that the -fPIC flag was used for building the library, and that the linker was also notified that it is building a shared object (typically, via -shared or -Bshared).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working with an embedded platform that has 16MB of RAM only. And
I'm working on an embedded project that currently uses C in Linux and uClibc.
I'm working on an embedded project (PowerPC target, Freescale Metrowerks Codewarrior compiler) where the
I'm working on embedded platform (Broadcom's bcm5358u processor with MIPS core), where I need
I'm working with an embedded Linux deployment and am using a cross compiler tool
I'm working on an embedded project that has no file system, and our kludge
I am working on an embedded linux device that requires custom java code to
I'm working on an embedded Linux project. Our build process makes an image that
I am working on embedded linux, Is there any open source 2D renderer available
I am working on embedded linux platform with limited system resources . I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.