[PATCH 2/2] Add some more test cases for fentry and pg

Andi Kleen andi@firstfloor.org
Wed Sep 17 14:32:00 GMT 2014


On Wed, Sep 17, 2014 at 03:42:37PM +0200, Dominique Dhumieres wrote:
> 
> On darwin I get
> 
> FAIL: gcc.target/i386/fentry-override.c (test for excess errors)
> UNRESOLVED: gcc.target/i386/fentry-override.c scan-assembler-not __fentry__
> FAIL: gcc.target/i386/fentry.c (test for excess errors)
> UNRESOLVED: gcc.target/i386/fentry.c scan-assembler __fentry__
> 
> with -m32. The error is
> 
> sorry, unimplemented: -mfentry isn't supported for 32-bit in combination with -fpic
> 
> With -m64 I get
> 
> FAIL: gcc.target/i386/fentry.c scan-assembler __fentry__
> 
> with no string 'entry' in the fentry.s file.

__fentry__ doesn't exist on all x86 targets.
I'm not sure how to mark a test to be Linux only. I'll just remove it.

-Andi



More information about the Gcc-patches mailing list