[Cbe-oss-dev] [PATCH] ps3: avoid toolchain segfault

Jeremy Kerr jk at ozlabs.org
Wed May 30 12:05:37 EST 2007


Geoff Levand's commit 726389a7ecd5993b02e59d5b11a0bdfa1eac8fd2
(only in the ps3 tree at present) added the -Map option to ld in the
bootwrapper script. On my toolchain (debian, 2.17.50.20070426), this
causes a segfault.

I'll try to chase this up with the binutils folks, but in the meantime,
this change removes the -Map option, which is necessary to build
pseries kernels.

Signed-off-by: Jeremy Kerr <jk at ozlabs.org>


 arch/powerpc/boot/wrapper |    1 -
 1 file changed, 1 deletion(-)

Index: linux-2.6-sdk3/arch/powerpc/boot/wrapper
===================================================================
--- linux-2.6-sdk3.orig/arch/powerpc/boot/wrapper
+++ linux-2.6-sdk3/arch/powerpc/boot/wrapper
@@ -211,7 +211,6 @@ fi
 
 if [ "$platform" != "miboot" ]; then
     ${CROSS}ld -m elf32ppc -T $lds -o "$ofile" \
-	-Map "$ofile.map" \
 	$platformo $tmp $object/wrapper.a
     rm $tmp
 fi



More information about the cbe-oss-dev mailing list