[uClibc] CVS toolchain, HOWTO get it work ?

Volmat Alain avolmatjp at yahoo.co.jp
Mon Nov 15 14:11:42 UTC 2004


Hi Mike,

well thanks for the advice. I've just tried with the
snapshot 20041115 of the buildroot.
To start with something known to work I've tried compiling
the buildroot for SH4 - Little Endian.
I attached my conf file to this mail.
Everythings seems to be fine but at some moment after
quite a while I got an error:

actually this is similar to what I got with the toolchain
tree.
Have you seen such thing ? My host machine is x86 (VmWare)
running RH9.0.

make[1]: Leaving directory
`/home/alain/buildroot/toolchain_build_sh4/uClibc'
# Build the host utils.  Need to add an install target...
make -C
/home/alain/buildroot/toolchain_build_sh4/uClibc/utils \
PREFIX=/home/alain/buildroot/build_sh4/staging_dir \
HOSTCC="gcc" \
        hostutils
make[1]: Entering directory
`/home/alain/buildroot/toolchain_build_sh4/uClibc/utils'
gcc -O2 -Wall -Wl,-s \
        -DUCLIBC_RUNTIME_PREFIX=\"/\" \
        -DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include
\
        ldd.c -o ldd.host
gcc -O2 -Wall -Wl,-s \
        -DUCLIBC_RUNTIME_PREFIX=\"/\" \
        -DUCLIBC_LDSO=ld-uClibc.so.0 -I. -I../ldso/include
\
        ldconfig.c readsoname.c -o ldconfig.host
../ldso/include/dl-sysdep.h: In function `_dl_urem':
../ldso/include/dl-sysdep.h:33: unknown register name `r0'
in `asm'
../ldso/include/dl-sysdep.h: In function
`_dl_simple_ltoa':
../ldso/include/dl-sysdep.h:33: unknown register name `r0'
in `asm'
../ldso/include/dl-sysdep.h: In function `_dl_urem':
../ldso/include/dl-sysdep.h:33: unknown register name `r0'
in `asm'
../ldso/include/dl-sysdep.h: In function
`_dl_simple_ltoa':
../ldso/include/dl-sysdep.h:33: unknown register name `r0'
in `asm'
make[1]: *** [ldconfig.host] Error 1
make[1]: Leaving directory
`/home/alain/buildroot/toolchain_build_sh4/uClibc/utils'
make: ***
[/home/alain/buildroot/build_sh4/staging_dir/lib/libc.a]
Error 2




--- Mike Frysinger <vapier at gentoo.org> からのメッセージ
:
> On Sunday 14 November 2004 10:04 am, Volmat Alain
> wrote:
> > Am I correct ? Could anyone confirm that or tell
> me how I
> > should do ?
> 
> we keep the buildroot/toolchain/ stuff in better
> shape so you should probably 
> use the toolchain stuff in buildroot
> 
> ive been using that (and adding fixes) for my sh4
> lately and gcc-3.4.{0,1,2} 
> should work fine
> -mike
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc



More information about the uClibc mailing list