[uClibc]gcc 3.2.2 on mipsel

dwu at zipworld.com.au dwu at zipworld.com.au
Tue Feb 25 23:27:52 UTC 2003


Hi,

I'm having a problem with getting busybox to boot up on a mipsel platform using 
gcc 3.2.2. The kernel seems to boot correctly, but when it tries to 
execute 'init', it gets stuck. ie. no more output from the terminal. The last 
message is from the terminal is

'Kernel Freeing unused memory: 321k'

Note that the kernel has not hung because the serial input is still accepting 
characters.

I've compiled the gcc toolchain using the files from

http://www.uclibc.org/cgi-bin/cvsweb/toolchain/gcc-3.2.2/

The kernel (2.4.18) and busybox 0.60.5 were then compiled using the toolchain.

I've read a few posts regarding the -march and -mcpu switches and I've checked 
that these were consistent for the toolchain, kernel and busybox.

Enabling LD_DEBUG for uClibc produced a couple of extra lines of debug:

ELF header=0x...
First Dynamic section entry=0x...

Note that I've managed to get all this to work for gcc 3.2, uClibc 0.9.15, and 
busybox 0.60.5.

Has anyone had a similar experience?

Thanks in advanced.

-Dan



More information about the uClibc mailing list