Hello Mr. Jordi,
>When the executable instantiates a given class defined in the
>C++ library, I get the following message :
>
>BUG IN DYNAMIC LINKER ld.so: dl-runtime.c: 67: fixup: Assertion
>`((reloc->r_info) & 0xff) == 22' failed!
>
>The toolchain is arm-linux-gcc-2.95.2-2 with arm-linux-glibc-2.1.3-2
>and arm-linux-binutils-2.10-1.
Could you show some sample source? Now I'm working with newer tools:
gcc-2.95.3, binutils-2.11.2, and latest glibc on CVS (its ARM and
SPARC targets had been broken since 2002-01-20 or so, attached patch
is required), and want to check your problem.
However, my machine is Chalice CATS (SA-1110 & DEC 21285 on ATX-like
board), it's not good reference hardware for most ARM people.
Regards,
mpsuzuki
diff -Burb glibc-current.orig/sysdeps/arm/dl-machine.h
glibc-current/sysdeps/arm/dl-machine.h
--- glibc-current.orig/sysdeps/arm/dl-machine.h Fri Mar 1 18:43:35 2002
+++ glibc-current/sysdeps/arm/dl-machine.h Sat Apr 13 01:11:36 2002
@@ -425,7 +425,7 @@
if (__builtin_expect (r_type == R_ARM_RELATIVE, 0))
{
# ifndef RTLD_BOOTSTRAP
- if (map != &_dl_rtld_map) /* Already done in rtld itself. */
+ if (map != &GL(dl_rtld_map)) /* Already done in rtld itself. */
# endif
*reloc_addr += map->l_addr;
}
@@ -483,7 +483,7 @@
# ifndef SHARED
weak_extern (_dl_rtld_map);
# endif
- if (map == &_dl_rtld_map)
+ if (map == &GL(dl_rtld_map))
/* Undo the relocation done here during bootstrapping.
Now we will relocate it anew, possibly using a
binding found in the user program or a loaded library
diff -Burb glibc-current.orig/sysdeps/unix/sysv/linux/arm/Makefile
glibc-current/sysdeps/unix/sysv/linux/arm/Makefile
--- glibc-current.orig/sysdeps/unix/sysv/linux/arm/Makefile Sun Mar 24 10:55:18
2002
+++ glibc-current/sysdeps/unix/sysv/linux/arm/Makefile Sat Apr 13 01:14:03 2002
@@ -13,10 +13,10 @@
sysdep_routines += oldgetrlimit64
endif
-ifeq ($(subdir),elf)
-# extra shared linker files to link into dl-allobjs.so and libc
-sysdep-dl-routines += dl-procinfo
-sysdep_routines += dl-procinfo
-# extra shared linker files to link only into dl-allobjs.so
-sysdep-rtld-routines += dl-procinfo
-endif
+#ifeq ($(subdir),elf)
+## extra shared linker files to link into dl-allobjs.so and libc
+#sysdep-dl-routines += dl-procinfo
+#sysdep_routines += dl-procinfo
+## extra shared linker files to link only into dl-allobjs.so
+#sysdep-rtld-routines += dl-procinfo
+#endif
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.