From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Mon, 5 Dec 2011 14:12:59 -0500 Subject: [U-Boot] undefined reference to `abort' In-Reply-To: <4EDD05E0.6010203@googlemail.com> References: <201112051228.55959.vapier@gentoo.org> <4EDD05E0.6010203@googlemail.com> Message-ID: <201112051413.00698.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday 05 December 2011 12:56:48 Matthias Wei?er wrote: > Am 05.12.2011 18:28, schrieb Mike Frysinger: > > On Monday 05 December 2011 11:43:09 Shadid, Bill wrote: > >> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc. > >> a(d ivsf3.o): In function `__divsf3': > >> /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/bu > >> il > >> d/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config > >> /sof t-fp/divsf3.c:44: undefined reference to `abort' > > > > looks like you should be using a diff cross-compiler. or ppc should grow > > private libgcc support. > > Or just don't use any floating point operations in a bootloader. There > seems to be some usages of floats around in u-boot but most (all?) of > them are compile time calculations. ah, yes, those are all float funcs. what Matthias said then. (note, some ports like ARM call abort() in their integer routines in libgcc which is what i thought was going on here) -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: