Title: [BOLT] [3.12] Python 3.12.7 --enable bolt option not working · Issue #124948 · python/cpython · GitHub
Open Graph Title: [BOLT] [3.12] Python 3.12.7 --enable bolt option not working · Issue #124948 · python/cpython
X Title: [BOLT] [3.12] Python 3.12.7 --enable bolt option not working · Issue #124948 · python/cpython
Description: Bug report Bug description: Hi together, After updating llvm-bolt to 19.1.0 it is not possible to use the --enable-bolt function anymore. Following can be found in the log: BOLT-INFO: 0 out of 5950 functions in the binary (0.0%) have non...
Open Graph Description: Bug report Bug description: Hi together, After updating llvm-bolt to 19.1.0 it is not possible to use the --enable-bolt function anymore. Following can be found in the log: BOLT-INFO: 0 out of 5950...
X Description: Bug report Bug description: Hi together, After updating llvm-bolt to 19.1.0 it is not possible to use the --enable-bolt function anymore. Following can be found in the log: BOLT-INFO: 0 out of 5950...
Opengraph URL: https://github.com/python/cpython/issues/124948
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BOLT] [3.12] Python 3.12.7 --enable bolt option not working","articleBody":"# Bug report\n\n### Bug description:\n\nHi together,\n\nAfter updating llvm-bolt to 19.1.0 it is not possible to use the --enable-bolt function anymore.\nFollowing can be found in the log:\n```\nBOLT-INFO: 0 out of 5950 functions in the binary (0.0%) have non-empty execution profile\nBOLT-INSTRUMENTER: Number of indirect call site descriptors: 7119\nBOLT-INSTRUMENTER: Number of indirect call target descriptors: 5874\nBOLT-INSTRUMENTER: Number of function descriptors: 5874\nBOLT-INSTRUMENTER: Number of branch counters: 78400\nBOLT-INSTRUMENTER: Number of ST leaf node counters: 40936\nBOLT-INSTRUMENTER: Number of direct call counters: 0\nBOLT-INSTRUMENTER: Total number of counters: 119336\nBOLT-INSTRUMENTER: Total size of counters: 954688 bytes (static alloc memory)\nBOLT-INSTRUMENTER: Total size of string table emitted: 133862 bytes in file\nBOLT-INSTRUMENTER: Total size of descriptors: 7642344 bytes in file\nBOLT-INSTRUMENTER: Profile will be saved to file /tmp/pkg/src/Python-3.12.7/libpython3.12.so.1.0.bolt\nBOLT-INFO: 65850 instructions were shortened\nBOLT-INFO: removed 134 empty blocks\nBOLT-INFO: UCE removed 1155 blocks and 71042 bytes of code\nBOLT-INFO: padding code to 0xe00000 to accommodate hot text\nBOLT-INFO: output linked against instrumentation runtime library, lib entry point is 0xf90930\nBOLT-INFO: clear procedure is 0xf8c380\nBOLT-INFO: patched build-id (flipped last bit)\nBOLT-INFO: setting __bolt_runtime_start to 0xf908e0\nBOLT-INFO: setting __bolt_runtime_fini to 0xf90930\nBOLT-INFO: setting __hot_start to 0x800000\nBOLT-INFO: setting __hot_end to 0xdf7438\nBOLT-ERROR: unable to get new address corresponding to input address 0x1a6e11 in function sre_ucs1_match/1. Consider adding this function to --skip-funcs=...\nmake[1]: *** [Makefile:856: profile-bolt-stamp] Error 1\nmake[1]: Leaving directory '/tmp/pkg/src/Python-3.12.7'\nmake: *** [Makefile:885: bolt-opt] Error 2\n==\u003e ERROR: A failure occurred in build().\n``` \n\n\nso, it appears to fail at the instrumentation and suggest to add `--skip-funcs=sre_ucs1_match/*`.\n\n### CPython versions tested on:\n\n3.12\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/ptr1337","@type":"Person","name":"ptr1337"},"datePublished":"2024-10-03T18:33:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/124948/cpython/issues/124948"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d2794c9-b361-ecbe-52b7-9229f7989a37 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDDC:87E17:20CD20A:2B69828:696B06DE |
| html-safe-nonce | ea88981e6ead38f0ab1f8b24d89b95f21ec527abf9e6253e50110369f1c40956 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRERDOjg3RTE3OjIwQ0QyMEE6MkI2OTgyODo2OTZCMDZERSIsInZpc2l0b3JfaWQiOiI2Njk4NjMxODMzNTc1OTUwMDQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b505f768ada4187c4074e71415619c195990db44665dec3d3968d0a029c7b027 |
| hovercard-subject-tag | issue:2564736054 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/124948/issue_layout |
| twitter:image | https://opengraph.githubassets.com/498bbae15f719ffcd8b114a4cdd31ee1ce2505415acfd007392af56e92775ab9/python/cpython/issues/124948 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/498bbae15f719ffcd8b114a4cdd31ee1ce2505415acfd007392af56e92775ab9/python/cpython/issues/124948 |
| og:image:alt | Bug report Bug description: Hi together, After updating llvm-bolt to 19.1.0 it is not possible to use the --enable-bolt function anymore. Following can be found in the log: BOLT-INFO: 0 out of 5950... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ptr1337 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width