Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#13235 closed defect (worksforme)

uClibc-ld dynamic loader

Reported by: dryukovz@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: Trunk
Keywords: uClibc dynamic loader Cc:


mips47xx board - Dlink 320
kernel 3.8.2 + /trunk/target/linux/brcm47xx/patches-3.8 + roboswitch
gcc 4.7.2 + trunk/toolchain/gcc/patches/4.7.2
uClibc + trunk/toolchain/uClibc/patches-
busybox 1.21.0

/ # gcc -v
Target: mipsel-uclibc-linux
Configured with: /mips/src/gcc-4.7.2/configure --target=mipsel-uclibc-linux --prefix=/mips/mipsel/toolchain/ --with-headers=/mips/mipsel/toolchain/include/ --disable-multilib --disable-nls --enable-threads=posix --enable-tls --enable-languages=c,c++ --with-libs=/mips/mipsel/toolchain/lib --with-dynamic-linker-prefix=/lib
Thread model: posix
gcc version 4.7.2 (GCC)

gcc work.
Kernel 3.8.2 work.
all static linked utils work.
busybox work if compiled static version.

dynamic elf file loader not start from sh.
hands start corectly.

/s - static hello world
/d - dynamic hello world

Hello uClibc Dynamic link World (staic version)
/ # /d
sh: can't execute '/d': No such file or directory
/ # /lib/ /d
Hello uClibc Dynamic link World (dynamic version)

ldd - from uClibc utils.

/ # ldd /d
checking sub-depends for '/lib/'
checking sub-depends for '/lib/'
checking sub-depends for '/lib/' => /lib/ (0x00000000) => /lib/ (0x00000000) => /lib/ (0x00000000)
not a dynamic executable

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by anonymous

all work fine !

Me create symlink /lib/ to /lib/

Thanks )

comment:2 Changed 5 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.