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

Peter S. Mazinger ps.m at gmx.net
Tue Nov 16 13:46:57 UTC 2004


> Message: 1
> Date: Tue, 16 Nov 2004 21:26:59 +0900 (JST)
> From: Volmat Alain <avolmatjp at yahoo.co.jp>
> Subject: [uClibc] Buildroot for SH3 Little Endian (don't compile)
> To: uclibc at uclibc.org
> Message-ID: <20041116122659.48211.qmail at web3003.mail.bbt.yahoo.co.jp>
> Content-Type: text/plain; charset="iso-2022-jp"
> 
> Hey,
> 
> finally I succeeded in compiling the buildroot for SH4 so
> I moved to the SH3 which is my main target actually.
> The first step was to add entry into Config.in and
> kernel-headers.mk in order add SH3 option in the menu and
> to get proper symbolic link for the kernel header cpu
> directory.
> This is just nothing but still, I attach a patch to this
> mail.
> 
> finally I start compilation process and it went pretty
> well as far as the toolchain is concerned but finally
> failed during compilation of utils of uClibc. It seems to
> be in some architecture depend code. I would like to know
> if someone has some pointers in order to start debugging
> this stuff ... does anyone has ever tried compiling the
> buildroot for SH3 ?
> And what is exactly this part of the code, what is it used
> for ?
> 
> Following is the end of the compilation process with the
> error.

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

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




More information about the uClibc mailing list