|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] PHDR link failure testcase
Using a `powerpc64-linux-gcc (GCC) 4.1.1 ()' x86->ppc toolchain, if I do this:
diff -r 9563f5c9ab19 xen/include/asm-powerpc/config.h
--- a/xen/include/asm-powerpc/config.h Mon Aug 14 15:22:22 2006 -0500
+++ b/xen/include/asm-powerpc/config.h Mon Aug 14 19:13:07 2006 -0400
@@ -51,7 +51,7 @@ extern char __bss_start[];
#define CONFIG_GDB 1
#define CONFIG_SMP 1
#define CONFIG_PCI 1
-#define NR_CPUS 1
+#define NR_CPUS 16
#ifndef ELFSIZE
#define ELFSIZE 64
I get this:
make CROSS_COMPILE=powerpc64-linux- XEN_TARGET_ARCH=powerpc64 optimize=0
CMDLINE="console=com2"
powerpc64-linux-gcc -m64 -ffreestanding -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe
-I/home/apw/devel/xen/xen.hg/xen/include
-I/home/apw/devel/xen/xen.hg/xen/include/asm-powerpc/mach-generic
-I/home/apw/devel/xen/xen.hg/xen/include/asm-powerpc/mach-default
-Wpointer-arith -Wredundant-decls -Wpacked -msoft-float -O2 -g -D__XEN__
-Wundef -Wmissing-prototypes -Wmissing-declarations -N -nodefaultlibs
-nostartfiles -Wl,-Ttext,0x400100,-T,xen.lds start.o
/home/apw/devel/xen/xen.hg/xen/common/built_in.o
/home/apw/devel/xen/xen.hg/xen/drivers/built_in.o
/home/apw/devel/xen/xen.hg/xen/arch/powerpc/built_in.o -o
/home/apw/devel/xen/xen.hg/xen/xen-syms
/usr/powerpc64/lib/gcc/powerpc64-linux/4.1.1/../../../../powerpc64-linux/bin/ld:
/home/apw/devel/xen/xen.hg/xen/xen-syms: Not enough room for program headers
(allocated 2, need 3)
/usr/powerpc64/lib/gcc/powerpc64-linux/4.1.1/../../../../powerpc64-linux/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [XenPPC] PHDR link failure testcase,
Amos Waterland <=
|
|
|
|
|