From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sun, 12 Jul 2009 10:02:46 +0200 Subject: [U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file In-Reply-To: <4A5996A4.7030506@googlemail.com> References: <1247081808-31514-1-git-send-email-plagnioj@jcrosoft.com> <1247135043-3494-1-git-send-email-plagnioj@jcrosoft.com> <4A5996A4.7030506@googlemail.com> Message-ID: <200907121002.46516.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================