From: Rob Landley <rob@landley.net>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-kernel@vger.kernel.org, sanjayl@kymasys.com,
kvm@vger.kernel.org, linux-mips@linux-mips.org,
Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: Commit f9afbd45b0d0 broke mips r4k.
Date: Sun, 16 Jun 2013 01:51:26 -0500 [thread overview]
Message-ID: <1371365486.2776.113@driftwood> (raw)
In-Reply-To: <20130613090002.GD7422@linux-mips.org> (from ralf@linux-mips.org on Thu Jun 13 04:00:02 2013)
On 06/13/2013 04:00:02 AM, Ralf Baechle wrote:
> On Wed, Jun 12, 2013 at 09:35:16PM -0500, Rob Landley wrote:
>
> > 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.
>
> Commit d414976d1ca721456f7b7c603a8699d117c2ec07 [MIPS: include:
> mmu_context.h: Replace VIRTUALIZATION with KVM] fixes the issue and
> was pulled by Linus only yesterday. I cannot reproduce the error
> following your receipe using the latest Linux/MIPS tree.
Confirmed, that fixed it.
Thanks,
Rob
From ralf@linux-mips.org Sun Jun 16 10:49:23 2013
Received: with ECARTIS (v1.0.0; list linux-mips); Sun, 16 Jun 2013 10:49:26 +0200 (CEST)
Received: from localhost.localdomain ([127.0.0.1]:37762 "EHLO linux-mips.org"
rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP
id S6817548Ab3FPItXx-Lwr (ORCPT <rfc822;linux-mips@linux-mips.org>);
Sun, 16 Jun 2013 10:49:23 +0200
Received: from scotty.linux-mips.net (localhost.localdomain [127.0.0.1])
by scotty.linux-mips.net (8.14.5/8.14.4) with ESMTP id r5G8nB2v020938;
Sun, 16 Jun 2013 10:49:11 +0200
Received: (from ralf@localhost)
by scotty.linux-mips.net (8.14.5/8.14.5/Submit) id r5G8n7dj020937;
Sun, 16 Jun 2013 10:49:07 +0200
Date: Sun, 16 Jun 2013 10:49:07 +0200
From: Ralf Baechle <ralf@linux-mips.org>
To: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org, kvm@vger.kernel.org,
Sanjay Lal <sanjayl@kymasys.com>, linux-kernel@vger.kernel.org,
David Daney <david.daney@cavium.com>
Subject: Re: [PATCH 19/31] mips/kvm: Add host definitions for MIPS VZ based
host.
Message-ID: <20130616084907.GA20046@linux-mips.org>
References: <1370646215-6543-1-git-send-email-ddaney.cavm@gmail.com>
<1370646215-6543-20-git-send-email-ddaney.cavm@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1370646215-6543-20-git-send-email-ddaney.cavm@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Return-Path: <ralf@linux-mips.org>
X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0)
X-Orcpt: rfc822;linux-mips@linux-mips.org
Original-Recipient: rfc822;linux-mips@linux-mips.org
X-archive-position: 36923
X-ecartis-version: Ecartis v1.0.0
Sender: linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: ralf@linux-mips.org
Precedence: bulk
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
List-software: Ecartis version 1.0.0
List-Id: linux-mips <linux-mips.eddie.linux-mips.org>
X-List-ID: linux-mips <linux-mips.eddie.linux-mips.org>
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
X-list: linux-mips
Content-Length: 53
Lines: 3
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Ralf
WARNING: multiple messages have this Message-ID (diff)
From: Rob Landley <rob@landley.net>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-kernel@vger.kernel.org, sanjayl@kymasys.com,
kvm@vger.kernel.org, linux-mips@linux-mips.org,
Markos Chandras <markos.chandras@imgtec.com>
Subject: Re: Commit f9afbd45b0d0 broke mips r4k.
Date: Sun, 16 Jun 2013 01:51:26 -0500 [thread overview]
Message-ID: <1371365486.2776.113@driftwood> (raw)
Message-ID: <20130616065126.VGaliLR5UqbzctyftIeww91ke6MIkKGyhNbWLFvuE-Y@z> (raw)
In-Reply-To: <20130613090002.GD7422@linux-mips.org> (from ralf@linux-mips.org on Thu Jun 13 04:00:02 2013)
On 06/13/2013 04:00:02 AM, Ralf Baechle wrote:
> On Wed, Jun 12, 2013 at 09:35:16PM -0500, Rob Landley wrote:
>
> > 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.
>
> Commit d414976d1ca721456f7b7c603a8699d117c2ec07 [MIPS: include:
> mmu_context.h: Replace VIRTUALIZATION with KVM] fixes the issue and
> was pulled by Linus only yesterday. I cannot reproduce the error
> following your receipe using the latest Linux/MIPS tree.
Confirmed, that fixed it.
Thanks,
Rob
next prev parent reply other threads:[~2013-06-16 6:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 2:35 Commit f9afbd45b0d0 broke mips r4k Rob Landley
2013-06-13 9:00 ` Ralf Baechle
2013-06-16 6:51 ` Rob Landley [this message]
2013-06-16 6:51 ` Rob Landley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371365486.2776.113@driftwood \
--to=rob@landley.net \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=markos.chandras@imgtec.com \
--cc=ralf@linux-mips.org \
--cc=sanjayl@kymasys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.