Thread (6 messages) 6 messages, 4 authors, 2021-08-09

Re: [kbuild-all] Re: sparc64-linux-gcc: error: unrecognized command-line option '-mxsave'

From: Chen, Rong A <hidden>
Date: 2021-08-04 09:04:52
Also in: lkml, oe-kbuild-all


On 7/27/2021 10:52 PM, Dave Hansen wrote:
On 7/26/21 8:11 PM, kernel test robot wrote:
quoted
quoted
quoted
sparc64-linux-gcc: error: unrecognized command-line option '-mxsave'
Is there something else funky going on here?  All of the "-mxsave" flags
that I can find are under checks for x86 builds, like:

	ifeq ($(CAN_BUILD_I386),1)
	$(BINARIES_32): CFLAGS += -m32 -mxsave
	..

I'm confused how we could have a sparc64 compiler (and only a sparc64
compiler) that would end up with "-mxsave" in CFLAGS.
Hi Dave,

We can reproduce the error and have no idea too, but we have disabled
the test for selftests on non-x86 arch.

Best Regards,
Rong Chen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help