[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <slrnej8lv9.2lu.olecom@flower.upol.cz>
Date: Tue, 17 Oct 2006 09:37:22 +0000 (UTC)
From: Oleg Verych <olecom@...wer.upol.cz>
To: linux-kernel@...r.kernel.org
Subject: Re: [build bug] x86_64, -git: Error: unknown pseudo-op: `.cfi_signal_frame'
Hallo.
On 2006-10-16, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@...e.hu> wrote:
>
>> Note that i override 'CC' instead of specifying a 'CROSS' prefix. I
>> suspect this means as-instr does not switch over to the
>> cross-environment and thus mis-detected the gas version?
Do you mean 'CROSS_COMPILE' ?
> this did not solve it either - it seems if both CROSS and CC are set
> then CC overrides it and CROSS is ignored? Removing the CC override
> solved the problem. But how do i insert the 'distcc' that way? Seems
> like a Kbuild breakage to me.
CC with friends is set like this:
+--[linux/Makefile]
|[...]
|AS = $(CROSS_COMPILE)as
|LD = $(CROSS_COMPILE)ld
|CC = $(CROSS_COMPILE)gcc
|CPP = $(CC) -E
|[...]
+--
So, i think, you must set 'CROSS_COMPILE' first and then 'CC' like this:
(exporing PATH in shell, of course)
+--
$ make CROSS_COMPILE=x86_64-pc-linux- 'CC=distcc $(CROSS_COMPILE)gcc'
+--
(BTW, it's funny to see arch-*unknown*-linux...
Like something is deeply hidden and is a very big secret ;)
____
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists