powerpc allmodconfig in current -mm

4 messages, 3 authors, 2008-08-21 · open the first message on its own page

powerpc allmodconfig in current -mm

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2008-08-21 01:16:32

/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux1: section .data.gcov lma 0xc000000002c2bb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux2: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux3: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: vmlinux: section .data.gcov lma 0xc000000002cdbb78 overlaps previous sections

that probably happens in linux-next and maybe mainline too.




Also....

From: Andrew Morton <akpm@linux-foundation.org>

powerpc allmodconfig:

ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!

(needed for 2.6.27)

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/powerpc/platforms/pseries/setup.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize arch/powerpc/platforms/pseries/setup.c
--- a/arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize
+++ a/arch/powerpc/platforms/pseries/setup.c
@@ -71,6 +71,7 @@
 int CMO_PrPSP = -1;
 int CMO_SecPSP = -1;
 unsigned long CMO_PageSize = (ASM_CONST(1) << IOMMU_PAGE_SHIFT);
+EXPORT_SYMBOL(CMO_PageSize);
 
 int fwnmi_active;  /* TRUE if an FWNMI handler is present */
 
_

Re: powerpc allmodconfig in current -mm

From: Paul Mackerras <hidden>
Date: 2008-08-21 05:01:43

Andrew Morton writes:
/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: .tmp_vmlinux1: section .data.gcov lma 0xc000000002c2bb78 overlaps previous sections
I suspect your binutils are too old, and the stress that the gcov
stuff puts on the toolchain is showing up a bug in ld.
powerpc allmodconfig:

ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!

(needed for 2.6.27)
OK.  I think we need to export CMO_PrPSP and CMO_SecPSP as well.
(Lovely names. :()

Paul.

Re: powerpc allmodconfig in current -mm

From: Stephen Rothwell <hidden>
Date: 2008-08-21 08:34:38

Hi Andrew,

On Wed, 20 Aug 2008 18:16:26 -0700 Andrew Morton [off-list ref] wrote:
quoted hunk
From: Andrew Morton <akpm@linux-foundation.org>

powerpc allmodconfig:

ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!

(needed for 2.6.27)

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/powerpc/platforms/pseries/setup.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize arch/powerpc/platforms/pseries/setup.c
--- a/arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize
+++ a/arch/powerpc/platforms/pseries/setup.c
@@ -71,6 +71,7 @@
 int CMO_PrPSP = -1;
 int CMO_SecPSP = -1;
 unsigned long CMO_PageSize = (ASM_CONST(1) << IOMMU_PAGE_SHIFT);
+EXPORT_SYMBOL(CMO_PageSize);
 
 int fwnmi_active;  /* TRUE if an FWNMI handler is present */
 
Added to linux-next for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Re: powerpc allmodconfig in current -mm

From: Stephen Rothwell <hidden>
Date: 2008-08-21 08:40:15

Hi Paul,

On Thu, 21 Aug 2008 15:01:43 +1000 Paul Mackerras [off-list ref] wrote:
OK.  I think we need to export CMO_PrPSP and CMO_SecPSP as well.
(Lovely names. :()
These are only used (indirectly) in lparcfg.c which is never a module, so
should be OK.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help