On Fri, 14 May 1999, Dave Baukus wrote:
> I'm attempting to recompile some shared libraries and I get the following error
> message when I attempt to execute a command that links to the rebuild
> shared library:
>
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/arm/dl-machine.h: 450: elf_machine_rel:
> Assertion `! "unexpected dynamic reloc type"' failed!
>
> If I use the rawhide precompiled library then the program loads and executes;
> so its not really a ld.so bug.
>
> The particular library and program I'm playing w/ is libtercap.so.2.0.8
> and some version of getty.
>
> I'm running a 2.2.2 kernel on an ebsa285.
> I'm cross-compiling w/ binutils 2.9.1.0.21-1 and egcs 1.1.1-8.
>
You should add a -fPIC to your compiler options. If that's ok, do a
arm-linux-objdump --reloc /usr/lib/gcc-lib/libgcc.a | grep R_ARM_PC24
^^use your tool^^ ^^add your path here^^
If there's any output, you should get yourself a working libgcc.a.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]