[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: R_PPC_REL24 relocation out of range



this code works on x86 so i believe it's a ppc-specific problem. using
-fPIC everywhere reduced the number of these errors but didn't eliminate
them. (i may try rebuilding libc6 with the recommended patch to see if it
helps)

these are modules that are being loaded "manually" using dlopen:

dlopen(fullname.c_str(), RTLD_NOW );

and the dlerror() output looks like:

 R_PPC_REL24 relocation at 0x6ccdd774 for symbol
`g_char_traits1ZcZt24__default_alloc_template2b1i0UiUi' out of range

this thing i'm running probably really pushes everything. the memory
footprint is about 50MB with almost everything loaded.

On Thu, 19 Jul 2001, Michael Schmitz wrote:

> > what is the story with this error? i'm seeing it at dynamic-lib-loadtime
> > in a project i build for work that has lots of dynamically loaded modules.
>
> Post the errors. This may be due to undeclared symbols, or it may be
> because of improper use of varargs (gcc emits a bogus symbol to catch this
> but it only shows up at link time).
>
> 	Michael
>

-- 
bcmidgle@sanluis.uccs.edu
Brad Midgley




Reply to: