<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>What uclibc, gcc, etc. <br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Pascal Kesseli <pascal_kesseli@hotmail.com><br><b><span style="font-weight: bold;">To:</span></b> clfs-support@lists.cross-lfs.org<br><b><span style="font-weight: bold;">Sent:</span></b> Sat, November 14, 2009 11:16:24 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Clfs-support] uClibc with software floating point<br></font><br>
<meta http-equiv="x-dns-prefetch-control" content="off">

<style><!--
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
--></style>

Hello everybody<br><br>While compiling my uClibc with "UCLIBC_HAS_SOFT_FLOAT=y" option enabled, the following linker error messages arised:<br><br>  CC libc/stdlib/atexit.os<br>  AR cr lib/libc.a<br>  STRIP -x -R .note -R .comment lib/libc.a<br>  AR cr lib/uclibc_nonshared.a<br>  STRIP -x -R .note -R .comment lib/uclibc_nonshared.a<br>  AR cr libc/libc_so.a<br>  STRIP -x -R .note -R .comment libc/libc_so.a<br>  LD <a target="_blank" href="http://libuClibc-0.9.30.2-svn.so">libuClibc-0.9.30.2-svn.so</a><br>libc/libc_so.a(_fpmaxtostr.os): In function `_fpmaxtostr':<br>_fpmaxtostr.c:(.text+0xa0): undefined reference to `__nedf2'<br>_fpmaxtostr.c:(.text+0xc4): undefined reference to `__eqdf2'<br>_fpmaxtostr.c:(.text+0xe0): undefined reference to `__divdf3'<br>_fpmaxtostr.c:(.text+0xec): undefined reference to `__ltdf2'<br>_fpmaxtostr.c:(.text+0x140): undefined reference to `__muldf3'<br>_fpmaxtostr.c:(.text+0x26c):
 undefined reference to `__gedf2'<br>_fpmaxtostr.c:(.text+0x2f8): undefined reference to `__fixunsdfsi'<br>libc/libc_so.a(__psfs_do_numeric.os): In function `__psfs_do_numeric':<br>__psfs_do_numeric.c:(.text+0x520): undefined reference to `__truncdfsf2'<br>collect2: ld returned 1 exit status<br><br>I take it that these referenced objects belong to the software floating point support. I compiled gcc with "--with-float=soft" option and without "--disable-decimal-float". Am I right to assume that these objects should be defined in libgcc and that it is only a matter of activating the right configure switches while building gcc?<br><br>Does anybody have an idea where this build went wrong?<br><br>Thanks for any help and best regards<br>Pascal<br>                                      <br><hr>Messenger runterladen und auf einen Blick die Updates von Freunden sehen in Facebook, <a target="_blank" href="http://last.fm">last.fm</a>, WordPress, MySpace etc. <a rel="nofollow"
 target="_blank" href="http://www.microsoft.com/switzerland/windows/de/windowslive/products/messenger.aspx">Weitere Infos!</a><meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
<!-- cg1.c2.mail.ac4.yahoo.com compressed/chunked Sat Nov 14 11:46:22 PST 2009 -->
</div><br>

      </body></html>