[Bug target/61949] [6 regression] SEGV compiling gcc.dg/pch/import-[12].c

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Thu Feb 25 13:33:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61949

--- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> So this is with bootstrap-O3?

No, just a regular (i.e. -O2) bootstrap.

I've just checked again: the SEGV doesn't happen with the stage1
compiler, but with both the stage2 and stage3 ones.

> On x86_64-linux I get
>
> 0000000000000040 <md5_read_ctx>:
>   40:   f3 0f 6f 07             movdqu (%rdi),%xmm0
>   44:   48 89 f0                mov    %rsi,%rax
>   47:   0f 11 06                movups %xmm0,(%rsi)
>   4a:   c3                      retq   
>   4b:   0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)
>
> for it (with -O3, that is).  Can you please tell me how to configure
> a cross (from x86_64-linux) and attach preprocessed source of md5.c?

I'm configuring (natively) with

configure --with-gmp=/vol/gcc --with-mpfr=/vol/gcc --with-mpc=/vol/gcc
--without-ppl --without-cloog --enable-languages=c --disable-lto
--disable-libgomp --disable-libquadmath --disable-libssp --disable-libitm
--disable-libatomic --disable-libcilkrts --disable-multilib

but all the --without-* and --disable-* options only serve to reduce
reghunt time.

For a cross, it should be sufficient to use --target=i386-pc-solaris2.10

Will attach md5.i immediately.

        Rainer


More information about the Gcc-bugs mailing list