https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77621
Bug ID: 77621 Summary: Internal compiler error for mtune=atom + msse2 Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marcin.bajor at gmail dot com Target Milestone: --- Created attachment 39634 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39634&action=edit Preprocessed rawimage.cc Hi, I'm a maintainer of Rawtherapee packages. I'm using Open Build Service (https://build.opensuse.org/package/show/home:rawtherapee/rawtherapee) I have a problem with build the project for Fedora 24 (i686 + msse2) (gcc 6.1.1) with standard set of CXX flags recommended for building packages on OBS: -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables + flag added by me: -msse2 Build finished with "internal compiler error: Segmentation fault" There is no problem with build for Fedora 23 (gcc 5.1.1) where the same flags are used. I've noticed too that there is no problem if I remove -mtune=atom. To build the project locally use Open Build Service commander: $ osc co home:rawtherapee rawtherapee $ cd home\:rawtherapee/rawtherapee/ (optional) modify rawherapee.spec file $ osc build --no-verify Fedora_24 i586 rawtherapee.spec --clean Regards Marcin Bajor