> -----Original Message----- > From: Jakub Jelinek <ja...@redhat.com> > Sent: Monday, March 4, 2019 13:38 > To: Christophe Lyon <christophe.l...@linaro.org> > Cc: Tamar Christina <tamar.christ...@arm.com>; James Greenhalgh > <james.greenha...@arm.com>; Kyrill Tkachov > <kyrylo.tkac...@foss.arm.com>; gcc-patches@gcc.gnu.org; nd > <n...@arm.com>; Richard Earnshaw <richard.earns...@arm.com>; Marcus > Shawcroft <marcus.shawcr...@arm.com> > Subject: Re: [PATCH][GCC][AArch64] Have empty HWCAPs string ignored > during native feature detection > > On Mon, Mar 04, 2019 at 02:31:57PM +0100, Christophe Lyon wrote: > > The new test fails with a cross-compiler, because: > > FAIL: gcc.target/aarch64/options_set_10.c (test for excess errors) > > Excess errors: > > cc1: error: unknown value 'native' for -mcpu > > > > I don't know how to restrict tests to native compilers only. > > { target native } > perhaps?
Oh, I didn't know about that one, I knew about isnative , I'll give it a try and see. Thanks! Regards, Tamar > > Jakub