linux-mips
[Top] [All Lists]

Re: Build errors

To: Kurt Schwemmer <kurts@vitesse.com>
Subject: Re: Build errors
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 22 Jan 2006 03:03:41 +0000
Cc: linux-mips@linux-mips.org, sde@mips.com
In-reply-to: <1137793865.15788.26.camel@lx-kurts>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1137793865.15788.26.camel@lx-kurts>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Fri, Jan 20, 2006 at 02:51:05PM -0700, Kurt Schwemmer wrote:

> I sync'd with git clone rsync://ftp.linux-mips.org/git/linux.git
> linux.git 2 days ago. I downloaded and installed sde:
> ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.02.03-1/mipsel-sdelinux-v6.02.03-1.i386.rpm

> ...but the one that kills me is:
> mm/msync.o: In function `msync_interval':
> msync.c:(.text+0x10c): unmatched HI16 relocation
> mipsel-linux-ld: final link failed: Bad value
> make[1]: *** [mm/built-in.o] Error 1
> make: *** [mm] Error 2

This kind of problem is usually being caused by either broken inline
assembler code or a bug in the compiler.  Since we haven't done any
serious changes to the inline code recently I would put my bets on a gcc
bug, so I'm putting the SDE people at MIPS on Cc.  It could be useful if
you could post your .config kernel configuration file.  Also, which
kernel version exactly are you building?  The command "git-describe HEAD"
will tell you something like "linux-2.6.15-g68cabd8e", can you post that
number?

> Would someone tell me what I'm doing wrong? I'm pretty sure people
> wouldn't be checking in code that doesn't even build!

We try hard - but the number of tools and configuration variants makes it
hard to ensure that kind of thing never happens.

  Ralf

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