Re: 2.6.8 link failure for powerpc-970?

From: Arjan van de Ven
Date: Mon Sep 20 2004 - 03:37:33 EST


On Mon, 2004-09-20 at 10:24, Dan Kegel wrote:
> I'm trying to verify that I can build toolchains and compile
> and link kernels for a large set of CPU types using simple kernel config files.
> I'm also somewhat foolishly trying to do all this with gcc-3.4.2.
> So any problems I run into are a bit hard to pin down to
> compiler, kernel, or user error, since this is mostly new territory for me.

use this patch
--- linux-2.6.8/arch/ppc64/Makefile~ 2004-09-03 13:02:48.372244432
+0200
+++ linux-2.6.8/arch/ppc64/Makefile 2004-09-03 13:02:48.372244432
+0200
@@ -28,5 +28,7 @@
LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext
$(KERNELLOAD)
CFLAGS += -msoft-float -pipe -mminimal-toc -mtraceback=none
+
+CFLAGS += $(call cc-option,-mcall-aixdesc)

ifeq ($(CONFIG_POWER4_ONLY),y)
CFLAGS += $(call cc-option,-mcpu=power4)


Attachment: signature.asc
Description: This is a digitally signed message part