New: link failure for arch/ppc/mm/built-in.o, function mem_pieces_find
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: [email protected]
Submitter: [email protected]
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_vmlinux1arch/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.
Quoted 11 lines · Martin J. Bligh
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: [email protected]
Submitter: [email protected]
Quoted 13 lines
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_vmlinux1arch/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 ?
arch/ppc/mm/mem_pieces.c +1 -0
@@ -19,6 +19,7 @@#include <linux/stddef.h> #include <linux/blk.h> #include <linux/init.h> +#include <asm/page.h> #include "mem_pieces.h"
Signature · 2 lines
Andrey Panin | Linux and UNIX system administrator [email protected] | PGP key: wwwkeys.pgp.net
Quoted 1 line · Andrey Panin
Does this one-line patch helps ?
[snip]
This appears to do the job, yes.
-Barry K. Nathan <[email protected]>