Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[BOLT] [3.12] Python 3.12.7 --enable bolt option not working #124948

Assignees
corona10
Labels
buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@ptr1337

Description

@ptr1337

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-empty execution profileBOLT-INSTRUMENTER: Number of indirect call site descriptors: 7119BOLT-INSTRUMENTER: Number of indirect call target descriptors: 5874BOLT-INSTRUMENTER: Number of function descriptors: 5874BOLT-INSTRUMENTER: Number of branch counters: 78400BOLT-INSTRUMENTER: Number of ST leaf node counters: 40936BOLT-INSTRUMENTER: Number of direct call counters: 0BOLT-INSTRUMENTER: Total number of counters: 119336BOLT-INSTRUMENTER: Total size of counters: 954688 bytes (static alloc memory)BOLT-INSTRUMENTER: Total size of string table emitted: 133862 bytes in fileBOLT-INSTRUMENTER: Total size of descriptors: 7642344 bytes in fileBOLT-INSTRUMENTER: Profile will be saved to file /tmp/pkg/src/Python-3.12.7/libpython3.12.so.1.0.boltBOLT-INFO: 65850 instructions were shortenedBOLT-INFO: removed 134 empty blocksBOLT-INFO: UCE removed 1155 blocks and 71042 bytes of codeBOLT-INFO: padding code to 0xe00000 to accommodate hot textBOLT-INFO: output linked against instrumentation runtime library, lib entry point is 0xf90930BOLT-INFO: clear procedure is 0xf8c380BOLT-INFO: patched build-id (flipped last bit)BOLT-INFO: setting __bolt_runtime_start to 0xf908e0BOLT-INFO: setting __bolt_runtime_fini to 0xf90930BOLT-INFO: setting __hot_start to 0x800000BOLT-INFO: setting __hot_end to 0xdf7438BOLT-ERROR: unable to get new address corresponding to input address 0x1a6e11 in function sre_ucs1_match/1. Consider adding this function to --skip-funcs=...make[1]: *** [Makefile:856: profile-bolt-stamp] Error 1make[1]: Leaving directory '/tmp/pkg/src/Python-3.12.7'make: *** [Makefile:885: bolt-opt] Error 2==> ERROR: A failure occurred in build().

so, it appears to fail at the instrumentation and suggest to add--skip-funcs=sre_ucs1_match/*.

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

Labels

buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp