https://github.com/python/cpython/commit/4974bbdb290b61a2d8860de490fde1228c296753
commit: 4974bbdb290b61a2d8860de490fde1228c296753
branch: main
author: Zanie Blue <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2025-01-03T20:49:50Z
summary:

gh-128456: Use '-reorder-functions=cdsort' for BOLT builds (#128457)

'hfsort+' is deprecated in favor of 'cdsort'.

files:
M configure
M configure.ac

diff --git a/configure b/configure
index 86b96d6208fe40..08fec03bef42dc 100755
--- a/configure
+++ b/configure
@@ -9403,7 +9403,7 @@ printf "%s\n" "$BOLT_INSTRUMENT_FLAGS" >&6; }
 printf %s "checking BOLT_APPLY_FLAGS... " >&6; }
 if test -z "${BOLT_APPLY_FLAGS}"
 then
-  BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp 
-reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh 
-reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive 
-inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack 
-frame-opt=hot "
+  BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp 
-reorder-functions=cdsort -split-functions -icf=1 -inline-all -split-eh 
-reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive 
-inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack 
-frame-opt=hot "
 
 fi
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5
diff --git a/configure.ac b/configure.ac
index 50b130f2c802b5..ecaf0fa9c43d49 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2183,7 +2183,7 @@ then
     [m4_normalize("
      -update-debug-sections
      -reorder-blocks=ext-tsp
-     -reorder-functions=hfsort+
+     -reorder-functions=cdsort
      -split-functions
      -icf=1
      -inline-all

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to