Thread (19 messages) 19 messages, 4 authors, 2019-08-28

Re: [PATCH] powerpc: remove meaningless KBUILD_ARFLAGS addition

flat view

From: Segher Boessenkool <hidden>
Date: 2019-07-13 13:17:22
Also in: lkml

On Sat, Jul 13, 2019 at 07:47:44AM -0500, Segher Boessenkool wrote:
On Sat, Jul 13, 2019 at 12:21:06PM +0900, Masahiro Yamada wrote:
quoted
The KBUILD_ARFLAGS addition in arch/powerpc/Makefile has never worked
in a useful way because it is always overridden by the following code
in the top Makefile:

  # use the deterministic mode of AR if available
  KBUILD_ARFLAGS := $(call ar-option,D)

The code in the top Makefile was added in 2011, by commit 40df759e2b9e
("kbuild: Fix build with binutils <= 2.19").

The KBUILD_ARFLAGS addition for ppc has always been dead code from the
beginning.
That was added in 43c9127d94d6 to replace my 8995ac870273 from 2007.

Is it no longer supported to build a 64-bit kernel with a toolchain
that defaults to 32-bit, or the other way around?  And with non-native
toolchains (this one didn't run on Linux, even).
It was an --enable-targets=all toolchain, somewhat common for crosses,
if that matters.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help