]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-128456: Use '-reorder-functions=cdsort' for BOLT builds (#128457)
authorZanie Blue <contact@zanie.dev>
Fri, 3 Jan 2025 20:49:50 +0000 (14:49 -0600)
committerGitHub <noreply@github.com>
Fri, 3 Jan 2025 20:49:50 +0000 (20:49 +0000)
'hfsort+' is deprecated in favor of 'cdsort'.

configure
configure.ac

index 86b96d6208fe402421cc97d1ee3bf5dd7b5e0ac8..08fec03bef42dc0b4f2bc79fc7340e3009f798d2 100755 (executable)
--- 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
index 50b130f2c802b54bb231adf036f461234ae4ea81..ecaf0fa9c43d4950734621cc64686e84302a3c7a 100644 (file)
@@ -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