On 04.04.2017 23:34, Brian Brooks wrote: > On 04/04 23:27:51, Dmitry Eremin-Solenikov wrote: >> On 04.04.2017 23:26, Brian Brooks wrote: >>> On 04/04 23:04:10, Dmitry Eremin-Solenikov wrote: >>>> On 04.04.2017 21:47, Brian Brooks wrote: >>>>> Signed-off-by: Brian Brooks <[email protected]> >>>> >>>> Brian, >>>> >>>> how does this fail with clang on ARMv8? Could you please include error >>>> message in the commit message? >>> >>> Well, you can't pass -mcx16 to clang when compiling natively on ARM. >>> >>> This is what it will look like: >>> >>> clang: error: argument unused during compilation: '-mcx16' >>> >>> and Autotools will halt the rest of the build. >> >> Does this happen during configure stage or when building? > > You will see that error during build. That is when clang is invoked. > But, the bug is in configure.ac where -mcx16 is added to CFLAGS when > it shouldn't be.
Then why isn't it detected by configure script? -- With best wishes Dmitry
