Description of problem: FTBFS postgresql ( only armv7 is affected ) Version-Release number of selected component (if applicable): Probably all versions. Tested on 13.x. How reproducible: Trigger postgresql scratch build for armv7 Fedora rawhide. ( only Fedora rawhide is affected ) Steps to Reproduce: 1. fedpkg --release=f36 build --scratch --srpm postgresql-13.4-1.fc36.src.rpm Actual results: Error similar to this: <mock-chroot> sh-5.1# gcc -I../../../../src/include -I/usr/include/libxml2 -c -o tuplesort.o tuplesort.c during RTL pass: mach tuplesort.c: In function ‘tuplesort_begin_heap’: tuplesort.c:949:1: internal compiler error: in create_fix_barrier, at config/arm/arm.c:17845 949 | } | ^ ... <mock-chroot> sh-5.1# gcc -I../../../../src/include -I/usr/include/libxml2 -c -o md.o md.c during RTL pass: mach md.c: In function ‘mdwrite’: md.c:731:1: internal compiler error: in create_fix_barrier, at config/arm/arm.c:17845 731 | } | ^ Expected results: Successful build with no errors. Additional info: Seems to be related to gcc and quemu.
Related discussion: https://www.spinics.net/lists/fedora-devel/msg294295.html Related gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103395 Hotfix (as a workaround if needed): https://src.fedoraproject.org/rpms/postgresql/pull-request/37
Fixed by systemtap update.