Thanks, I will. The problem is that I using my own toolchain, and the compiler generated unexpected instructions. But with the toolchains they provided it just works fine. I may dig into it later if I have more time.
On Thu, Aug 20, 2009 at 7:20 AM, David Turner <di...@android.com> wrote: > Unfortunately, the people at mipsandroid.org have not sent any patches to > the upstream repository, so we can't really comment on this.Try on their > support forums instead. > > > On Wed, Aug 19, 2009 at 3:22 AM, Dennis.Yxun <dennis.y...@gmail.com>wrote: > >> HI folks: >> I'm trying to build mips-cupcake, all the source code is from >> www.mipsandroid.org >> previous build instructions described here [1] >> Slightly different is that I use my own toolchains which generated by >> gentoo's crossdev script. >> >> Here is error messages[2], can't find "__floatsidf", refer attached file >> for more information. >> It seems that linker can't find some symbols, while following shows that >> libgcc_s.so do have those functions. >> How can I narrow down the problem, to make the compiling process more >> verbose? >> >> $mipsel-softfloat-linux-gnu-objdump -t >> /usr/lib/gcc/mipsel-softfloat-linux-gnu/4.3.4/libgcc_s.so.1 |grep floatsidf >> 0000a820 g F .text 00000108 __floatsidf >> >> $mipsel-softfloat-linux-gnu-objdump -t >> /usr/lib/gcc/mipsel-softfloat-linux-gnu/4.3.4/libgcc.a |grep floatsidf >> 00000000 O *UND* 00000000 __floatsidf >> 00000000 O *UND* 00000000 __floatsidf >> 00000000 g F .text 00000108 .hidden __floatsidf >> >> >> $ mipsel-softfloat-linux-gnu-gcc -v >> Using built-in specs. >> Target: mipsel-softfloat-linux-gnu >> Configured with: >> /var/build/cross/mipsel-softfloat-linux-gnu/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.4.0/work/gcc-4.4.0/configure >> --prefix=/usr >> --bindir=/usr/i686-pc-linux-gnu/mipsel-softfloat-linux-gnu/gcc-bin/4.4.0 >> --includedir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.4.0/include >> --datadir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.4.0 >> --mandir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.4.0/man >> --infodir=/usr/share/gcc-data/mipsel-softfloat-linux-gnu/4.4.0/info >> --with-gxx-include-dir=/usr/lib/gcc/mipsel-softfloat-linux-gnu/4.4.0/include/g++-v4 >> --host=i686-pc-linux-gnu --target=mipsel-softfloat-linux-gnu >> --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point >> --without-ppl --without-cloog --with-float=soft --enable-nls >> --without-included-gettext --with-system-zlib --disable-checking >> --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap >> --disable-libssp --disable-libgomp --enable-cld --disable-libgcj >> --enable-languages=c,c++,fortran >> --with-sysroot=/usr/mipsel-softfloat-linux-gnu --disable-bootstrap >> --disable-libgomp --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl= >> http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.0 p1.1' >> Thread model: posix >> gcc version 4.4.0 (Gentoo 4.4.0 p1.1) >> >> $mipsel-softfloat-linux-gnu-ld --version >> GNU ld (Linux/GNU Binutils) 2.19.51.0.9.20090606 >> Copyright 2008 Free Software Foundation, Inc. >> This program is free software; you may redistribute it under the terms of >> the GNU General Public License version 3 or (at your option) a later >> version. >> This program has absolutely no warranty. >> >> >> [1] >> http://groups.google.com/group/android-porting/browse_thread/thread/3371c6b25a8f3a07?pli=1 >> [2] target SharedLib: libc >> >> (out/target/product/hmp10/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so) >> out/target/product/hmp10/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(time.o): >> >> In function `clock': >> /mipsdroid/bionic/libc/unistd/time.c:55: undefined reference to >> `__floatsidf' >> /mipsdroid/bionic/libc/unistd/time.c:55: undefined reference to >> `__floatsidf' >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---