[uClibc] Re: Buildroot for SH3 Little Endian (don't compile)

Volmat Alain avolmatjp at yahoo.co.jp
Tue Nov 16 14:32:34 UTC 2004


Hi Peter,

> is this maybe a general buildroot issue? it builds
> the host utils (not for the target)

Hum, if you say so :)
Sorry for this very strange answer, I just don't have
enough experience in buildroot to tell you exactly where
and what fails. Should I check something to help you
understand what went wrong ? I can still send the full
compilation log, well it's pretty long but if I would help
I can post it. Please let me know.

Alain

> 
> Peter
> 
> > Alain
> > 
> > make[1]: Leaving directory
> >
> `/home/alain/buildroot.new/toolchain_build_sh3/uClibc'
> > # Build the host utils.  Need to add an install
> target...
> > make -C
> >
>
/home/alain/buildroot.new/toolchain_build_sh3/uClibc/utils
> > \
> >
> PREFIX=/home/alain/buildroot.new/build_sh3/staging_dir
> \
> > HOSTCC="gcc" \
> >  hostutils
> > make[1]: Entering directory
> >
>
`/home/alain/buildroot.new/toolchain_build_sh3/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.new/toolchain_build_sh3/uClibc/utils'
> > make: ***
> >
>
[/home/alain/buildroot.new/build_sh3/staging_dir/lib/libc.a]
> > Error 2
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: patch-buildroot-sh3.patch
> > Type: text/x-patch
> > Size: 1294 bytes
> > Desc: patch-buildroot-sh3.patch
> > Url :
>
http://uclibc.org/lists/uclibc/attachments/20041116/bed3be6d/patch-buildroot-sh3-0001.bin
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > uClibc mailing list
> > uClibc at uclibc.org
> > http://uclibc.org/mailman/listinfo/uclibc
> > 
> > 
> > End of uClibc Digest, Vol 20, Issue 37
> > **************************************
> > 
> > 
> 
> -- 
> Peter S. Mazinger <ps dot m at gmx dot net> 
>  ID: 0xA5F059F2
> Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E
> C389 975E A5F0 59F2
> 
> > _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://uclibc.org/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list