* [Bug 954] New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find
@ 2003-07-18 3:30 Martin J. Bligh
2003-07-18 4:53 ` Andrey Panin
0 siblings, 1 reply; 3+ messages in thread
From: Martin J. Bligh @ 2003-07-18 3:30 UTC (permalink / raw)
To: linux-kernel
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
Steps to reproduce:
1. Download
ftp://ftp.kernel.org/pub/linux/kernel/v2.5/testing/cset/cset-20030717_2009.txt.gz
and apply it to linux-2.6.0-test1.
2. Configure it and try to build it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug 954] New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find
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
2003-07-18 8:10 ` Barry K. Nathan
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Panin @ 2003-07-18 4:53 UTC (permalink / raw)
To: Martin J. Bligh; +Cc: linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug 954] New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find
2003-07-18 4:53 ` Andrey Panin
@ 2003-07-18 8:10 ` Barry K. Nathan
0 siblings, 0 replies; 3+ messages in thread
From: Barry K. Nathan @ 2003-07-18 8:10 UTC (permalink / raw)
To: Martin J. Bligh, linux-kernel
On Fri, Jul 18, 2003 at 08:53:35AM +0400, Andrey Panin wrote:
> Does this one-line patch helps ?
[snip]
This appears to do the job, yes.
-Barry K. Nathan <barryn@pobox.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-18 7:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2003-07-18 8:10 ` Barry K. Nathan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).