[Git][qa/jenkins.debian.net][master] Debian reproducible: re-enable PGO and LTO when building gcc-* and binutils.

Vagrant Cascadian (@vagrant) gitlab at salsa.debian.org
Wed May 6 19:03:59 BST 2026



Vagrant Cascadian pushed to branch master at Debian QA / jenkins.debian.net


Commits:
1352171f by Vagrant Cascadian at 2026-05-06T10:29:57-07:00
Debian reproducible: re-enable PGO and LTO when building gcc-* and binutils.

This was a "temporary" workaround to guage the impacts of Profile
Guided Optimization and Link Time Optimization on gcc and binutils,
and it definitely helped at the time, but also gives us a false sense
of reproducibility!

Leave "nocheck" for now, as it often triggered build timeouts.

This partially reverts c51432de52c1dde9eb2c374b0656ab8b58c4b9c3.

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -616,10 +616,10 @@ first_build() {
 		bullseye) reproducible_buildflags="+all,-fixfilepath" ;;
 		*) reproducible_buildflags="+all" ;;
 	esac
-	# Disable tests, PGO and LTO on some important packages
+	# Disable tests on some important packages
 	extra_deb_build_options=""
 	case "${SRCPACKAGE}" in
-		gcc-[0-9][0-9]|gcc-[0-9]|binutils)	extra_deb_build_options="nocheck nopgo nolto" 
+		gcc-[0-9][0-9]|gcc-[0-9]|binutils)	extra_deb_build_options="nocheck"
 							irc_message debian-reproducible-changes "$SUITE/$ARCH/$SRCPACKAGE is build with extra_deb_build_options='$extra_deb_build_options'"
 							;;
 		qemu)					extra_deb_build_options="nocheck" 
@@ -728,10 +728,10 @@ second_build() {
 		bullseye) reproducible_buildflags="+all,-fixfilepath" ;;
 		*) reproducible_buildflags="+all" ;;
 	esac
-	# Disable tests, PGO and LTO on some important packages
+	# Disable tests on some important packages
 	extra_deb_build_options=""
 	case "${SRCPACKAGE}" in
-		gcc-[0-9][0-9]|gcc-[0-9]|binutils) extra_deb_build_options="nocheck nopgo nolto" ;;
+		gcc-[0-9][0-9]|gcc-[0-9]|binutils) extra_deb_build_options="nocheck" ;;
 	esac
 	cat > "$TMPCFG" << EOF
 BUILDUSERID=2222



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1352171fa9f9fb9460ed0cb66befc0f65fb4f51b

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1352171fa9f9fb9460ed0cb66befc0f65fb4f51b
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20260506/0722a161/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list