FS#49129 - [gcc] Enable profiledbootstrap for GCC builds?

Attached to Project: Arch Linux
Opened by Jeff Bai (JeffBai) - Friday, 29 April 2016, 03:51 GMT
Last edited by Allan McRae (Allan) - Friday, 29 April 2016, 05:04 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

It is not any news that building GCC with Profiled Guided Optimization (PGO) enabled can result in at least ~10% gain in C compiling performance (original document still refers to GCC 3.3 however).

Reference: https://gcc.gnu.org/install/build.html (section "Building with profile feedback").

Simply append "profiledbootstrap" to the "make" command in PKGBUILD to enable this feature.

On a side note, it is also possible to build GCC with LTO enabled using:

--with-build-config=bootstrap-lto

However on GCC 6.1 this will lead to build failure when building libmpxwrapper (linking). And an upstream bug report was created just days ago.

Reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70831

Which is set to be fixed as the 6.2 milestone. This is also valuable - in my opinion of course - to look into.
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 29 April 2016, 05:04 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Profiled builds are non-reproducible.

Loading...