Skip to content

Commit 0b0404a

Browse files
committed
Use -icf=0 for older BOLT compatibility
1 parent fbd2b22 commit 0b0404a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Fix :option:`--enable-bolt` build by switching the default BOLT flag from
2-
``-icf=1`` to ``-icf=safe``. ``-icf=1`` folds address-taken functions and
2+
``-icf=1`` to ``-icf=0``. ``-icf=1`` folds address-taken functions and
33
breaks type-slot dispatch, crashing on :mod:`list` and :mod:`tuple`
44
concatenation. Patched by Shamil Abdulaev.

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2255,7 +2255,7 @@ then
22552255
-reorder-blocks=ext-tsp
22562256
-reorder-functions=cdsort
22572257
-split-functions
2258-
-icf=safe
2258+
-icf=0
22592259
-inline-all
22602260
-split-eh
22612261
-reorder-functions-use-hot-size

0 commit comments

Comments
 (0)