Thread (4 messages) flat view 4 messages, 3 authors, 2018-08-21

Re: [PATCH] powerpc/Makefiles: Fix clang/llvm build

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-08-21 05:18:15

Anton Blanchard [off-list ref] writes:
From: Anton Blanchard <redacted>

Commit 15a3204d24a3 ("powerpc/64s: Set assembler machine type to POWER4")
passes -mpower4 to the assembler. We have more recent instructions in our
assembly files, but gas permits them. The clang/llvm integrated assembler
is more strict, and we get a build failure.

Fix this by calling the assembler with -mcpu=power8
This breaks GCC 4.6.3 at least, which we still support:

  Assembler messages:
  Error: invalid switch -mpower8
  Error: unrecognized option -mpower8
  ../scripts/mod/empty.c:1:0: fatal error: error closing -: Broken pipe


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