Re: [build bug] x86_64, -git: Error: unknown pseudo-op: `.cfi_signal_frame'

From: Oleg Verych
Date: Tue Oct 17 2006 - 05:38:05 EST


Hallo.

On 2006-10-16, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/