Skip to content
Snippets Groups Projects

server/postgresql.mk: avoid gcc 11 ICE on armhf and armel

Merged Christian Ehrhardt requested to merge (removed):fix-arm-FTBFS-gcc-ICE into master

Currently the builds of 14.1-3 are failing on armhf and armel

during RTL pass: mach
/<<PKGBUILDDIR>>/build/../src/backend/storage/buffer/bufmgr.c: In function ‘ReadBuffer_common’:
/<<PKGBUILDDIR>>/build/../src/backend/storage/buffer/bufmgr.c:1085:1: internal compiler error: in create_fix_barrier, at config/arm/arm.c:17891
 1085 | }
      | ^
0x106b1cf internal_error(char const*, ...)
	???:0
0x19f163 fancy_abort(char const*, int, char const*)
	???:0

This is due to a bug in gcc-11.2 and will eventually be resolved there. But for now to get builds going again we have to work around it.

This is the submission of a similar (before centralized d/rules) fix that was uploaded to Ubuntus postgresql-14.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
Please register or sign in to reply
Loading