Anton Blanchard <an...@ozlabs.org> writes: > From: Anton Blanchard <an...@samba.org> > > 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