Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Micha Nelissen <micha@neli.hopto.org>
To: buildroot@busybox.net
Subject: [Buildroot] Uclibc 0.9.29 compiler error
Date: Tue, 04 Sep 2007 23:40:15 +0200	[thread overview]
Message-ID: <fbkjea$tfd$1@sea.gmane.org> (raw)

Hi,

I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
xscale. I've configured to use software floating point. Linking of
uclibc fails, it cannot find some functions which seem software floating
point related e.g. __floatsidf. Objdump'ing the libgcc.a file, this
function is present, but section *UND* is listed instead of .text.

<quote>
  LD libuClibc-0.9.29.so
libc/libc_so.a(difftime.os): In function `difftime':
difftime.c:(.text+0x8): undefined reference to `__floatsidf'
difftime.c:(.text+0x2c): undefined reference to `__subdf3'
libc/libc_so.a(_fpmaxtostr.os): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xd0): undefined reference to `__nedf2'
_fpmaxtostr.c:(.text+0xf4): undefined reference to `__eqdf2'
_fpmaxtostr.c:(.text+0x110): undefined reference to `__divdf3'
_fpmaxtostr.c:(.text+0x11c): undefined reference to `__ltdf2'
_fpmaxtostr.c:(.text+0x1c8): undefined reference to `__muldf3'
_fpmaxtostr.c:(.text+0x38c): undefined reference to `__gedf2'
_fpmaxtostr.c:(.text+0x444): undefined reference to `__adddf3'
libc/libc_so.a(__psfs_do_numeric.os): In function `__psfs_do_numeric':
__psfs_do_numeric.c:(.text+0x520): undefined reference to `__truncdfsf2'
libc/libc_so.a(strtof.os): In function `strtof':
strtof.c:(.text+0x1c): undefined reference to `__extendsfdf2'
/home/micha/netbox/buildroot/build_armeb/staging_dir/bin/../lib/gcc/armeb-linux-uclibc/4.1.2/libgcc.a(_fixunsdfsi.o):
In function `__fixunsdfsi':
libgcc2.c:(.text+0x34): undefined reference to `__fixdfsi'
make[2]: *** [lib/libc.so] Error 1
make[1]: *** [lib/libc.so.0] Fout 2
</quote>

<quote>
SYMBOL TABLE:
00000000 l    df *ABS*  00000000 libgcc2.c
00000000 l    d  .text  00000000 .text
00000000 l    d  .data  00000000 .data
00000000 l    d  .bss   00000000 .bss
00000000 l    d  .comment       00000000 .comment
00000000         *UND*  00000000 __extendsfdf2
00000000         *UND*  00000000 __muldf3
00000000         *UND*  00000000 __fixunsdfsi
00000000         *UND*  00000000 __floatsidf
00000000         *UND*  00000000 __adddf3
00000000 g     F .text  000000a8 __fixunssfdi
</quote>

Any idea how to solve this?

Thanks,

Micha

             reply	other threads:[~2007-09-04 21:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 21:40 Micha Nelissen [this message]
2007-09-04 22:19 ` [Buildroot] Uclibc 0.9.29 compiler error Bernhard Fischer
2007-09-04 22:26   ` Bernhard Fischer
2007-09-05 18:46 ` Micha Nelissen
2007-09-06  7:10 ` Konstantin Kletschke
2007-09-06 16:06   ` Micha Nelissen
2007-09-07  6:35     ` Konstantin Kletschke
2007-09-06 16:50 ` Yann E. MORIN
2007-09-07 21:56   ` Micha Nelissen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fbkjea$tfd$1@sea.gmane.org' \
    --to=micha@neli.hopto.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox