Bug 2026165

Summary: FTBFS: gcc error compiling dtrace probes
Product: [Fedora] Fedora Reporter: mkulik
Component: postgresqlAssignee: mkulik
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: anon.amish, devrim, fjanus, hhorak, jmlich83, mkulik, panovotn, pkubat, praiskup, tgl
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: armv7l   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-19 13:17:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mkulik 2021-11-23 23:07:50 UTC
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.

Comment 2 mkulik 2022-01-19 13:17:41 UTC
Fixed by systemtap update.