2014-12-10 21:29 GMT+03:00 James Greenhalgh <james.greenha...@arm.com>: > On Wed, Dec 10, 2014 at 06:19:08PM +0000, Ilya Enkovich wrote: >> 2014-12-10 21:07 GMT+03:00 James Greenhalgh <james.greenha...@arm.com>: >> > In the interests of breaking us out of this loop... >> > >> > At least: {arm-none-linux-gnueabihf, arm-none-eabi, >> > aarch64-none-linux-gnueabi, aarch64-none-elf, >> > aarch64_be-none-elf} >> > fail for me. >> >> Hello James, >> >> Could you please attach a gcc.log file for one of your runs? > > Sure, see below. > > However, the problem is your dg-require-effective-target line for the test. > > From the documentation: > > { dg-require-effective-target keyword [{ selector }] } > Skip the test if the test target, including current multilib flags, is not > covered by the effective-target keyword. If the directive includes the > optional ‘{ selector }’ then the effective-target test is only performed > if > the target system matches the selector. > > So what you've written is really the opposite of what you meant :)
Yep, you are right! I wanted to have this target selector in dg-lto-do, but it doesn't support selectors and thus I moved it assuming effect would be the same. Thanks a lot for help! Committed as obvious: 2014-12-10 Ilya Enkovich <ilya.enkov...@intel.com> * gcc.dg/lto/chkp-privatize_0.c: Remove unneeded selector from target check. diff --git a/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c b/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c index 4c899e8..ad9fdaa 100644 --- a/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c +++ b/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c @@ -1,5 +1,5 @@ /* { dg-lto-do link } */ -/* { dg-require-effective-target mpx { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-require-effective-target mpx } */ /* { dg-lto-options { { -fPIC -flto -flto-partition=max -fcheck-pointer-bounds -mmpx } } } */ static int Thanks, Ilya > > i.e. > > /* { dg-require-effective-target mpx { target { i?86-*-* x86_64-*-* } } } */ > > Should look more like: > > /* { dg-require-effective-target mpx } */ > > Which gets me the UNSUPPORTED I expect to see for this test. > > Cheers, > James > > --- > Executing on host: /work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/xgcc > -B/work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/ > -fno-diagnostics-show-caret -fdiagnostics-color=never -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx -c -specs=aem-ve.specs > -mcmodel=small -o c_lto_chkp-privatize_0.o > /work/gcc-clean/src/gcc/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c > (timeout = 300) > spawn /work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/xgcc > -B/work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/ > -fno-diagnostics-show-caret -fdiagnostics-color=never -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx -c -specs=aem-ve.specs > -mcmodel=small -o c_lto_chkp-privatize_0.o > /work/gcc-clean/src/gcc/gcc/testsuite/gcc.dg/lto/chkp-privatize_0.c > xgcc: error: unrecognized command line option '-mmpx' > compiler exited with status 1 > output is: > xgcc: error: unrecognized command line option '-mmpx' > > FAIL: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_0.o assemble, -fPIC > -flto -flto-partition=max -fcheck-pointer-bounds -mmpx > Executing on host: /work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/xgcc > -B/work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/ > -fno-diagnostics-show-caret -fdiagnostics-color=never -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx -c -specs=aem-ve.specs > -mcmodel=small -o c_lto_chkp-privatize_1.o > /work/gcc-clean/src/gcc/gcc/testsuite/gcc.dg/lto/chkp-privatize_1.c > (timeout = 300) > spawn /work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/xgcc > -B/work/gcc-clean/build-aarch64-none-elf/obj/gcc2/gcc/ > -fno-diagnostics-show-caret -fdiagnostics-color=never -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx -c -specs=aem-ve.specs > -mcmodel=small -o c_lto_chkp-privatize_1.o > /work/gcc-clean/src/gcc/gcc/testsuite/gcc.dg/lto/chkp-privatize_1.c > xgcc: error: unrecognized command line option '-mmpx' > compiler exited with status 1 > output is: > xgcc: error: unrecognized command line option '-mmpx' > > FAIL: gcc.dg/lto/chkp-privatize c_lto_chkp-privatize_1.o assemble, -fPIC > -flto -flto-partition=max -fcheck-pointer-bounds -mmpx > UNRESOLVED: gcc.dg/lto/chkp-privatize > c_lto_chkp-privatize_0.o-c_lto_chkp-privatize_1.o link -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx > UNRESOLVED: gcc.dg/lto/chkp-privatize > c_lto_chkp-privatize_0.o-c_lto_chkp-privatize_1.o execute -fPIC -flto > -flto-partition=max -fcheck-pointer-bounds -mmpx > > >