From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Rousse Subject: linux-2.6.18-xen.hg compilation issue with gcc 4.3 Date: Wed, 21 May 2008 15:19:19 +0200 Message-ID: <48342157.7090907@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org Hello. The linux-2.6.18-xen.hg kernel fails to build with gcc 4.3, in linking stage: arch/i386/kernel/built-in.o: In function `sync_xen_wallclock': time-xen.c:(.text+0x6141): undefined reference to `__udivdi3' time-xen.c:(.text+0x618a): undefined reference to `__udivdi3' arch/i386/kernel/built-in.o: In function `do_settimeofday': (.text+0x63bd): undefined reference to `__udivdi3' arch/i386/kernel/built-in.o: In function `do_settimeofday': (.text+0x640b): undefined reference to `__udivdi3' arch/i386/kernel/built-in.o: In function `do_settimeofday': (.text+0x6489): undefined reference to `__udivdi3' arch/i386/kernel/built-in.o:(.text+0x64d2): more undefined references to `__udivdi3' follow According to LKM, this is a known issue: http://www.nabble.com/undefined-reference-to-__udivdi3-(gcc-4.3)-td17045078.html However, I couldn't find any loop susceptible to be wrongly optimised in incriminated code (sync_xen_wallclock in arch/i386/kernel/time-xen.c). Any hint welcome. -- Guillaume Rousse Moyens Informatiques - INRIA Futurs Tel: 01 69 35 69 62