From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaye Abdoulaye Walsimou Date: Tue, 11 Aug 2009 10:14:19 +0200 Subject: [U-Boot] "raise" not defined, when compiler uses its own div0 In-Reply-To: <4A810DBC.50805@atmel.com> References: <4A810DBC.50805@atmel.com> Message-ID: <4A81285B.8010908@walsimou.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ulf Samuelsson wrote: > When trying to build U-Boot under Buildroot and OpenEmbedded, > I run into a problem: > > When linking u-boot the linker seems to use the div0 from > the C compiler libgcc instead of the u-boot div0. > Yes i had the same problem with a home made toolchain (eglibc-2.10, gcc-4.4.1| gcc-4.3.4 | gcc-4.3.3 | gcc-4.3.2) with smdk2410 board. It seems to be same with this thread http://lists.denx.de/pipermail/u-boot/2009-August/058349.html with codesourcery's toolchain. However, I have tested u-boot-arm repository which includes a controversial :-) "ARM: Don't include libgcc anymore" (70163a381f1a5c93fcc181365cdb092566d8c5c5) without compile errors. Regards