Re: 2.6.8 link failure for powerpc-970?

Arjan van de Ven
2004-09-20T08:35:50Z

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]