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

Re: m68k mklibs problem?



On Sat, Jun 02, 2007 at 09:40:23AM +0200, Bastian Blank wrote:
> On Fri, Jun 01, 2007 at 10:07:48AM -0500, Stephen R Marenka wrote:
> > I fired up the latest daily for m68k and ran into the following problem. 
> > | /bin/sh: symbol lookup error: /lib/libc.so.6: undefined symbol: _rtld_global
> > Is this a mklibs problem? Any ideas?
> 
> This symbol is defined in the dynlinker /lib/ld.so.1. Can you please
> compare the files in the image and the system with objdump -T?

No difference, see attached.

Thanks,

Stephen

-- 
Stephen R. Marenka     If life's not fun, you're not doing it right!
<stephen@marenka.net>
/lib/ld.so.1:     file format elf32-m68k

DYNAMIC SYMBOL TABLE:
00001d0c l    d  .text	00000000              .text
00011314 l    d  __libc_freeres_fn	00000000              __libc_freeres_fn
00011370 l    d  .rodata	00000000              .rodata
00014318 l    d  .eh_frame_hdr	00000000              .eh_frame_hdr
00014374 l    d  .eh_frame	00000000              .eh_frame
00017060 l    d  .data	00000000              .data
000176b4 l    d  __libc_subfreeres	00000000              __libc_subfreeres
000176b8 l    d  .bss	00000000              .bss
00017060 g    DO .data	000005ae  GLIBC_PRIVATE _rtld_global
0000d384 g    DF .text	000000f2  GLIBC_PRIVATE _dl_make_stack_executable
000177a8 g    DO .bss	00000004  GLIBC_2.1   __libc_stack_end
000177d4 g    DO .bss	00000004  GLIBC_2.4   __stack_chk_guard
0000f87c  w   DF .text	000000c6  GLIBC_2.0   __libc_memalign
0000f942  w   DF .text	00000018  GLIBC_2.0   malloc
00000000 g    DO *ABS*	00000000  GLIBC_2.1   GLIBC_2.1
000177a0 g    DO .bss	00000004  GLIBC_PRIVATE __libc_enable_secure
00000000 g    DO *ABS*	00000000  GLIBC_2.4   GLIBC_2.4
0000f9dc  w   DF .text	0000001c  GLIBC_2.0   calloc
0000bc3a g    DF .text	00000008  GLIBC_PRIVATE _dl_debug_state
000176b8 g    DO .bss	00000004  GLIBC_PRIVATE _dl_argv
00000000 g    DO *ABS*	00000000  GLIBC_2.0   GLIBC_2.0
00000000 g    DO *ABS*	00000000  GLIBC_PRIVATE GLIBC_PRIVATE
00017614 g    DO .data	000000a0  GLIBC_PRIVATE _rtld_global_ro
0000f95a  w   DF .text	00000082  GLIBC_2.0   realloc
00007092 g    DF .text	00000194  GLIBC_PRIVATE _dl_rtld_di_serinfo
0000c788 g    DF .text	000001fa  GLIBC_2.1   _dl_mcount
000176bc g    DO .bss	00000004  GLIBC_PRIVATE __pointer_chk_guard
000177ec g    DO .bss	00000014  GLIBC_2.0   _r_debug
00000000 g    DO *ABS*	00000000  GLIBC_2.3   GLIBC_2.3
0000f83c  w   DF .text	00000040  GLIBC_2.0   free


/mnt/lib/ld.so.1:     file format elf32-m68k

DYNAMIC SYMBOL TABLE:
00001d0c l    d  .text	00000000              .text
00011314 l    d  __libc_freeres_fn	00000000              __libc_freeres_fn
00011370 l    d  .rodata	00000000              .rodata
00014318 l    d  .eh_frame_hdr	00000000              .eh_frame_hdr
00014374 l    d  .eh_frame	00000000              .eh_frame
00017060 l    d  .data	00000000              .data
000176b4 l    d  __libc_subfreeres	00000000              __libc_subfreeres
000176b8 l    d  .bss	00000000              .bss
00017060 g    DO .data	000005ae  GLIBC_PRIVATE _rtld_global
0000d384 g    DF .text	000000f2  GLIBC_PRIVATE _dl_make_stack_executable
000177a8 g    DO .bss	00000004  GLIBC_2.1   __libc_stack_end
000177d4 g    DO .bss	00000004  GLIBC_2.4   __stack_chk_guard
0000f87c  w   DF .text	000000c6  GLIBC_2.0   __libc_memalign
0000f942  w   DF .text	00000018  GLIBC_2.0   malloc
00000000 g    DO *ABS*	00000000  GLIBC_2.1   GLIBC_2.1
000177a0 g    DO .bss	00000004  GLIBC_PRIVATE __libc_enable_secure
00000000 g    DO *ABS*	00000000  GLIBC_2.4   GLIBC_2.4
0000f9dc  w   DF .text	0000001c  GLIBC_2.0   calloc
0000bc3a g    DF .text	00000008  GLIBC_PRIVATE _dl_debug_state
000176b8 g    DO .bss	00000004  GLIBC_PRIVATE _dl_argv
00000000 g    DO *ABS*	00000000  GLIBC_2.0   GLIBC_2.0
00000000 g    DO *ABS*	00000000  GLIBC_PRIVATE GLIBC_PRIVATE
00017614 g    DO .data	000000a0  GLIBC_PRIVATE _rtld_global_ro
0000f95a  w   DF .text	00000082  GLIBC_2.0   realloc
00007092 g    DF .text	00000194  GLIBC_PRIVATE _dl_rtld_di_serinfo
0000c788 g    DF .text	000001fa  GLIBC_2.1   _dl_mcount
000176bc g    DO .bss	00000004  GLIBC_PRIVATE __pointer_chk_guard
000177ec g    DO .bss	00000014  GLIBC_2.0   _r_debug
00000000 g    DO *ABS*	00000000  GLIBC_2.3   GLIBC_2.3
0000f83c  w   DF .text	00000040  GLIBC_2.0   free


Attachment: signature.asc
Description: Digital signature


Reply to: