LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Kbuild change breaks the ppc64 build
@ 2007-02-08 11:10 Paul Mackerras
  2007-02-08 12:00 ` David Miller
  2007-02-08 12:47 ` Oleg Verych
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Mackerras @ 2007-02-08 11:10 UTC (permalink / raw)
  To: Oleg Verych; +Cc: torvalds, linux-kernel, linuxppc-dev

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.

Paul.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-08 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 11:10 Kbuild change breaks the ppc64 build Paul Mackerras
2007-02-08 12:00 ` David Miller
2007-02-08 12:35   ` Oleg Verych
2007-02-08 14:12   ` Michal Ostrowski
2007-02-08 12:47 ` Oleg Verych
2007-02-08 13:17   ` David Miller
2007-02-08 13:45     ` final (Re: Kbuild change breaks the ppc64 build) Oleg Verych

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).