Created attachment 1665351 [details] A gzipped preprocessed source After upgrading gcc from 10.0.1-0.7.fc32.x86_64 to 10.0.1-0.8.fc33.x86_64 I observe an internal compiler error when building perl-Devel-NYTProf-6.06-8.fc33 package <https://koschei.fedoraproject.org/build/7985159>: gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DVERSION=\"6.06\" -DXS_VERSION=\"6.06\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAS_CLOCK_GETTIME -DHAS_ZLIB -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual NYTProf.c In file included from NYTProf.xs:36: ppport.h:4594: warning: "WIDEST_UTYPE" redefined 4594 | # define WIDEST_UTYPE U64TYPE | In file included from /usr/lib64/perl5/CORE/perl.h:2525, from NYTProf.xs:20: /usr/lib64/perl5/CORE/handy.h:1072: note: this is the location of the previous definition 1072 | # define WIDEST_UTYPE U64 | NYTProf.xs:1220:1: warning: ‘get_str_id’ defined but not used [-Wunused-function] 1220 | get_str_id(pTHX_ char* str, STRLEN len) | ^~~~~~~~~~ *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbol during IPA pass: cp NYTProf.c:5851:1: internal compiler error: in propagate_vals_across_arith_jfunc, at ipa-cp.c:2039 5851 | } | ^ I minimized the compiler options to: $ gcc -c -DVERSION=\"6.06\" -DXS_VERSION=\"6.06\" -I/usr/lib64/perl5/CORE -O2 NYTProf.c It happens since -O2 optimization level. A preprorocessed source with these options is attached.
Should be fixed in gcc-10.0.1-0.9.fc{32,33}, the f32 version hasn't finished building yet.
I confirm that the package builds fine again with gcc-10.0.1-0.9.fc33.x86_64.
FEDORA-2020-d927e07eb1 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d927e07eb1
annobin-9.06-4.fc32, gcc-10.0.1-0.9.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d927e07eb1
annobin-9.06-4.fc32, gcc-10.0.1-0.9.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.