From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Sun, 12 Jul 2009 10:15:31 +0200 Subject: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file In-Reply-To: <200907121002.46516.sr@denx.de> References: <1247081808-31514-1-git-send-email-plagnioj@jcrosoft.com> <1247135043-3494-1-git-send-email-plagnioj@jcrosoft.com> <4A5996A4.7030506@googlemail.com> <200907121002.46516.sr@denx.de> Message-ID: <4A599BA3.3050703@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Stefan Roese wrote: > Hi Dirk, > > On Sunday 12 July 2009 09:54:12 Dirk Behme wrote: >> While without CONFIG_SYS_64BIT_VSPRINTF everything compiles fine with >> both libgcc patches applied, enabling CONFIG_SYS_64BIT_VSPRINTF still >> results in >> >> lib_generic/libgeneric.a(vsprintf.o): In function `put_dec': >> >> lib_generic/vsprintf.c:242: undefined reference to `__umoddi3' >> >> >> lib_generic/vsprintf.c:242: undefined reference to `__udivdi3' >> >> Any idea why this still happens *with* libgcc patches? Any idea how to >> fix this? Add __umoddi3 and __udivdi3 to libgcc patch, too? > > I have to admit that I'm not sure why this is the case. But I suggest that you > take a look at Simon's patch sent to the list a few days ago: > > [PATCH 5/8]: Use do_div from div64.h for vsprintf > > This should fix this issue. > > Let me know if this helps. Yes, thanks! For the archives: With http://lists.denx.de/pipermail/u-boot/2009-July/055599.html http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=07a6acbe20357ebc2af36ac32e7029828d895a62 http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=40cebd2af1379f2cd815e2a7f3af809f828878fe I'm now able to enable CONFIG_SYS_64BIT_VSPRINTF for all OMAP3 boards and compile it without (tool chain related) warnings. OMAP3 CONFIG_SYS_64BIT_VSPRINTF patch will be sent, soon. Thanks Dirk