On Wed, Sep 17, 2014 at 05:46:45PM +0200, Andi Kleen wrote:
> On Wed, Sep 17, 2014 at 04:51:33PM +0200, Jakub Jelinek wrote:
> > On Wed, Sep 17, 2014 at 04:39:00PM +0200, Andi Kleen wrote:
> > > Ok, this should fix it:
> > > 
> > > I'll commit it as obvious after testing unless there are objections.
> > 
> > This isn't sufficient.
> > If -mfentry isn't compatible with -m32 -fpic, supposedly you need
> 
> -mfentry works fine with -m32 -fpic as far as I know.
> 
> [my recent pending patch adding some extensions didn't support it
> though, but that's not tested here]

Well, so why does
make -k check-gcc 
RUNTESTFLAGS='--target_board=unix\{-m32,-m32/-fpic,-m64,-m64/-fpic\} 
i386.exp=fentry*.c'
fail for -m32/-fpic then on x86_64-linux (current trunk)?

/usr/src/gcc/gcc/testsuite/gcc.target/i386/fentry-override.c:1:0: sorry, 
unimplemented: -mfentry isn't supported for 32-bit in combination with -fpic
/usr/src/gcc/gcc/testsuite/gcc.target/i386/fentry.c:1:0: sorry, unimplemented: 
-mfentry isn't supported for 32-bit in combination with -fpic

        Jakub

Reply via email to