Created attachment 1522393 [details] Preprocessed files Description of problem: Compiler regression on building libtgvoip package (armv7hl architecture). Version-Release number of selected component (if applicable): 9.0.0-0.3.fc30 How reproducible: Always. Steps to Reproduce: 1. Download SRPM: https://xvitaly.fedorapeople.org/rhbz/libtgvoip-2.4.2-2.fc29.src.rpm 2. Build it in mock or Koji for armv7hl architecture. Actual results: [ 37%] Building CXX object CMakeFiles/libtgvoip.dir/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.o /usr/bin/c++ -DTGVOIP_USE_DESKTOP_DSP -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_LINUX -DWEBRTC_NS_FLOAT -DWEBRTC_POSIX -Dlibtgvoip_EXPORTS -I/builddir/build/BUILD/libtgvoip-2.4.2/out/Release/../../webrtc_dsp -I/usr/include/opus -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 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -fPIC -o CMakeFiles/libtgvoip.dir/builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.o -c /builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc make[2]: Leaving directory '/builddir/build/BUILD/libtgvoip-2.4.2/out/Release' *** 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 /builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc: In function 'void __static_initialization_and_destruction_0(int, int)': /builddir/build/BUILD/libtgvoip-2.4.2/webrtc_dsp/absl/types/optional.cc:21:47: internal compiler error: in gimplify_expr, at gimplify.c:13363 21 | extern const nullopt_t nullopt{nullopt_t::init}; | ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/cckDxRMS.out file, please attach this to your bugreport. Expected results: Successful build. Additional info: Preprocessed files attached to this ticket. Full build log: http://koji.rpmfusion.org/kojifiles/work/tasks/1564/291564/build.log
Likely upstream PR87935, the ARM EABI requirement of returning this from cdtors (instead of void everywhere else) is causing a lot of grief.
Please try gcc-9.0.1-0.1.fc30 in rawhide, hopefully it should fix this issue.