linux-mips
[Top] [All Lists]

undefined reference to `__lshrdi3' error with GCC 4.0

To: linux-mips@linux-mips.org
Subject: undefined reference to `__lshrdi3' error with GCC 4.0
From: Martin Michlmayr <tbm@cyrius.com>
Date: Tue, 17 Jan 2006 13:48:38 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
Has anyone else seen the following error when compiling a kernel with GCC 4.0
(GCC 3.3 works) and knows what to do about it?

arch/mips/kernel/built-in.o: In function `time_init':
: undefined reference to `__lshrdi3'
arch/mips/kernel/built-in.o: In function `time_init':
: relocation truncated to fit: R_MIPS_26 against `__lshrdi3'

This problem is also reported at
http://sources.redhat.com/ml/crossgcc/2005-11/msg00194.html but no solution is
mentioned.
-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>