2004-10-01 10:10:15

by Ingo Molnar

[permalink] [raw]
Subject: [ia64 patch 2.6.9-rc3] build: ccache/distcc fix for ia64


the (tested) patch below fixes ccache/distcc-assisted building of the
ia64 tree. (CC is "ccache distcc gcc" in that case, not a simple
one-word "gcc" - this confused the check-gas and toolchain-flags
scripts.)

Ingo

Signed-off-by: Ingo Molnar <[email protected]>

--- linux/arch/ia64/Makefile.orig
+++ linux/arch/ia64/Makefile
@@ -24,8 +24,8 @@ cflags-y := -pipe $(EXTRA) -ffixed-r13 -
CFLAGS_KERNEL := -mconstant-gp

GCC_VERSION := $(call cc-version)
-GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas $(CC) $(OBJDUMP))
-CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags $(CC) $(OBJDUMP) $(READELF))
+GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
+CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")

ifeq ($(GAS_STATUS),buggy)
$(error Sorry, you need a newer version of the assember, one that is built from \


2004-10-01 10:21:45

by David Mosberger

[permalink] [raw]
Subject: Re: [ia64 patch 2.6.9-rc3] build: ccache/distcc fix for ia64

>>>>> On Fri, 1 Oct 2004 12:10:40 +0200, Ingo Molnar <[email protected]> said:

Ingo> the (tested) patch below fixes ccache/distcc-assisted building
Ingo> of the ia64 tree. (CC is "ccache distcc gcc" in that case, not
Ingo> a simple one-word "gcc" - this confused the check-gas and
Ingo> toolchain-flags scripts.)

Looks fine to me.

Thanks,

--david

2004-10-01 19:18:35

by Tony Luck

[permalink] [raw]
Subject: Re: [ia64 patch 2.6.9-rc3] build: ccache/distcc fix for ia64

On Fri, 1 Oct 2004 03:21:41 -0700, David Mosberger
<[email protected]> wrote:
> >>>>> On Fri, 1 Oct 2004 12:10:40 +0200, Ingo Molnar <[email protected]> said:
>
> Ingo> the (tested) patch below fixes ccache/distcc-assisted building
> Ingo> of the ia64 tree. (CC is "ccache distcc gcc" in that case, not
> Ingo> a simple one-word "gcc" - this confused the check-gas and
> Ingo> toolchain-flags scripts.)
>
> Looks fine to me.
>
> Thanks,
>
> --david

Me too ... applied (though I would have found this patch faster if you
had copied
the [email protected] list).

-Tony
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>