[Cbe-oss-dev] Problems building the ps3-linux branch

Geoff Levand geoffrey.levand at am.sony.com
Thu Mar 15 06:12:47 EST 2007


Julio M. Merino Vidal wrote:
> I'm cross-building from a Fedora Core 6 i386 system by using the ppu- 
> gcc distributed with the Cell SDK 2.0.  So, I've "ARCH=powerpc" and  
> "CROSS_COMPILE=ppu-" on the top-level Makefile.
> 
> Unfortunately, when building the kernel, the process bombs out in the  
> ps3-hvcall.S file.  The attached log contains more details.

The version of binutils (2.16.1) in SDK 2.0 doesn't support the ':req'
macro construct.

I pushed this fix (d816b513b) to kernel.org, but it will take a
while for it to propagate to the mirrors.

-Geoff

diff --git a/arch/powerpc/boot/ps3-hvcall.S b/arch/powerpc/boot/ps3-hvcall.S
index d78876d..80bba3c 100644
--- a/arch/powerpc/boot/ps3-hvcall.S
+++ b/arch/powerpc/boot/ps3-hvcall.S
@@ -36,14 +36,14 @@
  *
  */
 
-.macro global name:req
+.macro global name
 	.section ".text"
 	.balign 4
 	.globl \name
 \name:
 .endm
 
-.macro no_support name:req
+.macro no_support name
 	GLOBAL \name
 	b ps3_no_support
 .endm
@@ -63,12 +63,12 @@
 	mtlr r0
 .endm
 
-.macro load_64_reg target:req,high:req,low:req
+.macro load_64_reg target,high,low
 	sldi r11, \high, 32
 	or \target, r11, \low
 .endm
 
-.macro load_64_stack target:req,offset:req
+.macro load_64_stack target,offset
 	ld \target, \offset(r1)
 .endm
 




More information about the cbe-oss-dev mailing list