From: Andrey Panin <pazke@donpac.ru>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Bug 954] New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find
Date: Fri, 18 Jul 2003 08:53:35 +0400 [thread overview]
Message-ID: <20030718045335.GA12803@pazke> (raw)
In-Reply-To: <5310000.1058499045@[10.10.2.4]>
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]
On 198, 07 17, 2003 at 08:30:45 -0700, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=954
>
> Summary: link failure for arch/ppc/mm/built-in.o, function
> mem_pieces_find
> Kernel Version: 2.6.0-test1 + cset-20030717_2009
> Status: NEW
> Severity: blocking
> Owner: bugme-janitors@lists.osdl.org
> Submitter: barryn@pobox.com
>
>
> Distribution: Gentoo
> Hardware Environment: 400MHz Apple PowerMac G4 (AGP Graphics model)
> Software Environment: gcc 2.95.3, binutils 2.12.90.0.7 20020423
> Problem Description:
> When I try to compile linux-2.6.0-test1 + the cset-20030719_2009 patch (i.e.,
> the latest BitKeeper snapshot on kernel.org as of this writing), I get this
> compile error:
> LD .tmp_vmlinux1
> arch/ppc/mm/built-in.o: In function `mem_pieces_find':
> arch/ppc/mm/built-in.o(.init.text+0x8f8): undefined reference to `__va'
> arch/ppc/mm/built-in.o(.init.text+0x8f8): relocation truncated to fit:
> R_PPC_REL24 __va
> make: *** [.tmp_vmlinux1] Error 1
Does this one-line patch helps ?
diff -u linux-2.6.0-test1.vanilla/arch/ppc/mm/mem_pieces.c linux-2.6.0-test1/arch/ppc/mm/mem_pieces.c
--- linux-2.6.0-test1.vanilla/arch/ppc/mm/mem_pieces.c 2003-07-18 08:47:49.000000000 +0400
+++ linux-2.6.0-test1/arch/ppc/mm/mem_pieces.c 2003-07-18 08:48:53.000000000 +0400
@@ -19,6 +19,7 @@
#include <linux/stddef.h>
#include <linux/blk.h>
#include <linux/init.h>
+#include <asm/page.h>
#include "mem_pieces.h"
--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-07-18 4:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-18 3:30 [Bug 954] New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find Martin J. Bligh
2003-07-18 4:53 ` Andrey Panin [this message]
2003-07-18 8:10 ` Barry K. Nathan
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=20030718045335.GA12803@pazke \
--to=pazke@donpac.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox