linux-mips
[Top] [All Lists]

Commit f9afbd45b0d0 broke mips r4k.

To: linux-kernel@vger.kernel.org, sanjayl@kymasys.com, kvm@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Commit f9afbd45b0d0 broke mips r4k.
From: Rob Landley <rob@landley.net>
Date: Wed, 12 Jun 2013 21:35:16 -0500
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
My aboriginal linux project builds tiny linux systems to run under qemu, producing as close to the same system as possible across a bunch of different architectures. The above change broke the mips r4k build I've been running under qemu.

Here's a toolchain and reproduction sequence:

  wget http://landley.net/aboriginal/bin/cross-compiler-mips.tar.bz2
  tar xvjf cross-compiler-mips.tar.bz2
  export PATH=$PWD/cross-compiler-mips/bin:$PATH
  make ARCH=mips allnoconfig KCONFIG_ALLCONFIG=miniconfig.mips
  make CROSS_COMPILE=mips- ARCH=mips

(The file miniconfig.mips is attached.)

It ends:

  CC      init/version.o
  LD      init/built-in.o
arch/mips/built-in.o: In function `local_r4k_flush_cache_page':
c-r4k.c:(.text+0xe278): undefined reference to `kvm_local_flush_tlb_all'
c-r4k.c:(.text+0xe278): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all'
arch/mips/built-in.o: In function `local_flush_tlb_range':
(.text+0xe938): undefined reference to `kvm_local_flush_tlb_all'
arch/mips/built-in.o: In function `local_flush_tlb_range':
(.text+0xe938): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all'
arch/mips/built-in.o: In function `local_flush_tlb_mm':
(.text+0xed38): undefined reference to `kvm_local_flush_tlb_all'
arch/mips/built-in.o: In function `local_flush_tlb_mm':
(.text+0xed38): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all'
kernel/built-in.o: In function `__schedule':
core.c:(.sched.text+0x16a0): undefined reference to `kvm_local_flush_tlb_all' core.c:(.sched.text+0x16a0): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all'
mm/built-in.o: In function `use_mm':
(.text+0x182c8): undefined reference to `kvm_local_flush_tlb_all'
mm/built-in.o: In function `use_mm':
(.text+0x182c8): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all' fs/built-in.o:(.text+0x7b50): more undefined references to `kvm_local_flush_tlb_all' follow
fs/built-in.o: In function `flush_old_exec':
(.text+0x7b50): relocation truncated to fit: R_MIPS_26 against `kvm_local_flush_tlb_all'

Revert the above commit and it builds to the end.

Rob

Attachment: miniconfig.mips
Description: Text document

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