I suppose I should summarize what this problem was in case it's useful
to anyone else searching the archives.
A buggy cross-build process did not create libc.so.
The static linker didn't find libc.so so it silently used libc.a
instead.
Libc.a is not built with -fPIC so the load problem showed up.
On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote:
> The generated asm makes the reference as:
> bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4]
>
> And for this, gas generates:
> R_PPC_REL24 __pthread_mutex_lock
Nope, you're looking at the wrong asm. unl
On Wed, Mar 29, 2006 at 04:51:59PM -0500, Daniel Jacobowitz wrote:
> On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote:
> > The generated asm makes the reference as:
> > bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4]
> >
> > And for this, gas generates:
> > R_P
On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote:
> The generated asm makes the reference as:
> bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4]
>
> And for this, gas generates:
> R_PPC_REL24 __pthread_mutex_lock
>
> Can anyone help clarify what is / shoul
I'm confused...
While working with tools for a PowerPC 8xx I've run into a problem
loading SO's:
/bin/hello.x: error while loading shared libraries:
/lib/libgcc_s.so.1: R_PPC_REL24 relocation at 0x0ff6c384 for symbol
`__pthread_mutex_lock' out of range
I'm using gcc-4.0.2+ (i686-pc-linux-gnu x pow