From: Paul Mackerras <[email protected]>
Date: Thu, 8 Feb 2007 22:10:54 +1100
> Commit 5de043f4bd11a9e0a3e8daec7d1905da575a76b7 breaks the build on
> 64-bit powerpc because we no longer get the -m64 flag passed to gcc.
> There is code in arch/powerpc/Makefile which adds (or used to add)
> -m64 to AS, LD and CC if we are running on a 64-bit machine (which I
> am) and have a biarch toolchain (which I do). Without -m64, the
> toolchain assumes 32-bit and all sorts of things break spectacularly.
>
> I haven't yet tracked down exactly why this commit has this effect,
> since I find it takes considerable time and effort to understand
> Kbuild.
It's this commit:
commit 5de043f4bd11a9e0a3e8daec7d1905da575a76b7
Author: Oleg Verych <[email protected]>
Date: Tue Feb 6 02:18:21 2007 +0100
[PATCH] kbuild: improve option checking, Kbuild.include cleanup
GNU binutils, root users, tmpfiles, external modules ro builds must
be fixed to do the right thing now.
Cc: Roman Zippel <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Horst Schirmeier <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Daniel Drake <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Oleg Verych <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Linus and Oleg tried to fix it with various subsequent changes
to scripts/Kbuild.include, but it's still broken.
For some reason $(call ...) invocations add spaces. I tried
another test case:
define test
$(shell echo -n)
endef
VAR:=$(call test)
all:
@echo "\'$(VAR)\'"
And this always prints:
' TEST'
even with GNU Make version 3.81
If I put a $(strip ...) around the define, the space is
still there. If I put the $(strip ...) around VAR's
$(call), the space goes away.
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]