* powerpc allmodconfig in current -mm
@ 2008-08-21 1:16 Andrew Morton
2008-08-21 5:01 ` Paul Mackerras
2008-08-21 8:34 ` Stephen Rothwell
0 siblings, 2 replies; 4+ messages in thread
From: Andrew Morton @ 2008-08-21 1:16 UTC (permalink / raw)
To: linuxppc-dev
/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 */
_
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: powerpc allmodconfig in current -mm
2008-08-21 1:16 powerpc allmodconfig in current -mm Andrew Morton
@ 2008-08-21 5:01 ` Paul Mackerras
2008-08-21 8:40 ` Stephen Rothwell
2008-08-21 8:34 ` Stephen Rothwell
1 sibling, 1 reply; 4+ messages in thread
From: Paul Mackerras @ 2008-08-21 5:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: linuxppc-dev
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: powerpc allmodconfig in current -mm
2008-08-21 1:16 powerpc allmodconfig in current -mm Andrew Morton
2008-08-21 5:01 ` Paul Mackerras
@ 2008-08-21 8:34 ` Stephen Rothwell
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2008-08-21 8:34 UTC (permalink / raw)
To: Andrew Morton; +Cc: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]
Hi Andrew,
On Wed, 20 Aug 2008 18:16:26 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
>
> 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/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: powerpc allmodconfig in current -mm
2008-08-21 5:01 ` Paul Mackerras
@ 2008-08-21 8:40 ` Stephen Rothwell
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2008-08-21 8:40 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linuxppc-dev, Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
Hi Paul,
On Thu, 21 Aug 2008 15:01:43 +1000 Paul Mackerras <paulus@samba.org> 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/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-21 8:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 1:16 powerpc allmodconfig in current -mm Andrew Morton
2008-08-21 5:01 ` Paul Mackerras
2008-08-21 8:40 ` Stephen Rothwell
2008-08-21 8:34 ` Stephen Rothwell
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).