public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] undefined reference to `abort'
@ 2011-12-05 16:43 Shadid, Bill
  2011-12-05 17:28 ` Mike Frysinger
  2011-12-05 19:56 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Shadid, Bill @ 2011-12-05 16:43 UTC (permalink / raw)
  To: u-boot

This is a follow-up to my issue, re:

/opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(divsf3.o): In function `__divsf3':
/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-fp/divsf3.c:44: undefined reference to `abort'
/opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(mulsf3.o): In function `__mulsf3':
/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-fp/mulsf3.c:44: undefined reference to `abort'
/opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(divdf3.o): In function `__divdf3':
/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-fp/divdf3.c:44: undefined reference to `abort'
/opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(muldf3.o): In function `__muldf3':
/opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-fp/muldf3.c:44: undefined reference to `abort'


It was suggested that I should migrate to a newer version of u-boot to resolve the issue.

I downloaded and compiled with u-boot-2011.03-rc and the compiler reported the same errors.
We thought that maybe the rc release was not the best choice so we tried the port with u-boot 1.3.1. and again, got the same compile errors.

I did a little more digging and found that anywhere that I perform a multiply or divide operation using a float variable, the code will compile as a muldf3 or divdf3 call. So, I'm guessing that the libgcc in ELDK4.2.2 differs from that in ELDK 4.0. Is there some option I need to add to the compile expression in the Makefile to satisfy the new libgcc-floating math functions?

Thank you in advance for your assistance,
Bill.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-05 22:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 16:43 [U-Boot] undefined reference to `abort' Shadid, Bill
2011-12-05 17:28 ` Mike Frysinger
2011-12-05 17:56   ` Matthias Weißer
2011-12-05 18:13     ` Shadid, Bill
2011-12-05 20:05       ` Wolfgang Denk
     [not found]         ` <E7F97B349C2A6843B718B2DDF2F9A8F01694328C@EMAIL.corp.neptec.com>
2011-12-05 22:37           ` Wolfgang Denk
2011-12-05 19:12     ` Mike Frysinger
2011-12-05 19:56 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox