Description of problem: dssp fails to build on ppc64le with the following error message: g++ -MD -c -o obj/iocif.o src/iocif.cpp -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 -m64 -mcpu=power7 -mtune=power8 -I/usr/include -iquote src -g -Wall -Wno-multichar -pthread -O3 -DUSE_COMPRESSION -DLINUX -DVERSION='"2.2.1"' -DNDEBUG In file included from /usr/include/c++/5.1.1/algorithm:62:0, from /usr/include/boost/core/swap.hpp:25, from /usr/include/boost/optional/optional.hpp:28, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/format/internals.hpp:20, from /usr/include/boost/format.hpp:38, from src/structure.cpp:15: /usr/include/c++/5.1.1/bits/stl_algo.h: In function '_FIter1 std::find_first_of(_FIter1, _FIter1, _FIter2, _FIter2) [with _FIter1 = std::_Deque_iterator<unsigned int, const unsigned int&, const unsigned int*>; _FIter2 = std::_Deque_iterator<unsigned int, const unsigned int&, const unsigned int*>]': /usr/include/c++/5.1.1/bits/stl_algo.h:3854:5: error: insn does not satisfy its constraints: } ^ (insn 209 151 210 13 (set (reg:DI 9 9) (reg/f:DI 44 12 [orig:183 __first1$_M_node ] [183])) /usr/include/c++/5.1.1/bits/stl_deque.h:255 565 {*movdi_internal64} (nil)) /usr/include/c++/5.1.1/bits/stl_algo.h:3854:5: internal compiler error: in extract_constrain_insn, at recog.c:2246 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccC7CgDR.out file, please attach this to your bugreport. makefile:62: recipe for target 'obj/structure.o' failed make: *** [obj/structure.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.tq2PeJ (%build) Version-Release number of selected component (if applicable): 2.2.1-6 How reproducible: ppc-koji build dssp in ppc64le Additional info: fails also for f23 and f22.
How is an ICE on a specific platform a dssp issue?
Created attachment 1092286 [details] gcc output file
A bit more information about the issue: dssp's makefile uses -O3 in its CFLAGS. When I change that to -O2, the problem disappears.
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase