powerpc allmodconfig in current -mm
/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 <[email protected]>
powerpc allmodconfig:
ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!
(needed for 2.6.27)
---
arch/powerpc/platforms/pseries/setup.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/platforms/pseries/setup.c renamed from arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize +1 -0
@@ -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 */
_
Quoted 1 line · Andrew Morton
/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 lma0xc000000002c2bb78overlaps 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.
Quoted 5 lines
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.
Hi Andrew,
Quoted 20 lines · On Wed, 20 Aug 2008 18:16:26 -0700 Andrew Morton <[email protected]>…
From: Andrew Morton <[email protected]>
powerpc allmodconfig:
ERROR: "
CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined!(needed for 2.6.27)
Cc Benjamin Herrenschmidt <[email protected]>Signed-off-by Andrew Morton <[email protected]>---
arch/powerpc/platforms/pseries/setup.c | 1 + 1 file changed, 1 insertion(+)diff -puN
arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesizearch/powerpc/platforms/pseries/setup.c
arch/powerpc/platforms/pseries/setup.c line 77
Quoted 7 lines
arch/powerpc/platforms/pseries/setup.c renamed from arch/powerpc/platforms/pseries/setup.c~powerpc-export-cmo_pagesize +1
-0@@ -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.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Hi Paul,
Quoted 3 lines · On Thu, 21 Aug 2008 15:01:43 +1000 Paul Mackerras <[email protected]> wrote:
OK. I think we need to export
CMO_PrPSPandCMO_SecPSPas well. (Lovely names. :()
These are only used (indirectly) in lparcfg.c which is never a module, so should be OK.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/