Using buildroot to build a system: Hangs after 'Freeing Unused Kernel Memory'

Evert Meulie evert at poboxes.info
Wed Jul 5 11:29:11 UTC 2006


Mike Frysinger wrote:
> On Wednesday 05 July 2006 07:12, Evert Meulie wrote:
>> Then I figured I try ldd:
>> ***
>> ldd /home/evert/buildroot/build_i586/root/bin/busybox
>> /usr/bin/ldd: line 124: /home/evert/buildroot/build_i586/root/bin/busybox:
>> No such file or directory ***
>>
>> Hmm, what happened there...? The file exists, but ldd can't process it?
> 
> ldd only works on host binaries as it tries to execute it and display all the 
> libraries that were loaded
> 
> use `readelf -d`

Thanks for the tip!  .-)

That gives me:
***
readelf -d /home/evert/buildroot/build_i586/root/bin/busybox

Dynamic section at offset 0x51240 contains 23 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcrypt.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]
 0x0000000c (INIT)                       0x804b204
 0x0000000d (FINI)                       0x80852d4
 0x00000004 (HASH)                       0x8048128
 0x00000005 (STRTAB)                     0x8049ce4
 0x00000006 (SYMTAB)                     0x8048a04
 0x0000000a (STRSZ)                      2417 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x809a324
 0x00000002 (PLTRELSZ)                   2232 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x804a94c
 0x00000011 (REL)                        0x804a8d4
 0x00000012 (RELSZ)                      120 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x804a8b4
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x804a656
 0x00000000 (NULL)                       0x0
***

Is this a typical output for a busybox binary?


Regards,
  Evert




More information about the uClibc mailing list