Skip to content
Snippets Groups Projects

Fix detection of unknown gcc function attributes

Merged Athos Ribeiro requested to merge athos/php:fix-gcc-func-attr into debian/main/8.1

As discussed in [1], and old, buggy gcc macro have been hindering the php build configuration step, resulting in a binary which cannot make use of some performance improvements introduced to php upstream.

The observe performance difference between the upstream binaries shipped in docker.io/php showed these upstream binaries may perform some operations up to 10x faster than the downstream versions in x86_64-v{2,3,4} machines.

The patch proposed here fixes the embedded gcc macro so the binary can be built leveraging the gcc function attributes that provide such performance boosts.

[1] https://bugs.launchpad.net/ubuntu/+source/php8.1/+bug/1882279/comments/9

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
Please register or sign in to reply
Loading