[Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Jan 2024 13:44:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276170 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #6 from Dimitry Andric <dim@FreeBSD.org> --- I could download the repro .c and .sh files from GitHub, but apparently this also needs a "code.profclangd" file which has been produced by an earlier profiling run: + clang -cc1 -triple aarch64-unknown-freebsd14.0 -emit-llvm-bc '-flto=full' -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name token.c -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition '-mframe-pointer=non-leaf' '-ffp-contract=on' -fno-rounding-math -mconstructor-aliases '-funwind-tables=2' -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -mllvm -treat-scalable-fixed-error-as-warning '-debug-info-kind=standalone' '-dwarf-version=5' '-debugger-tuning=gdb' '-fprofile-instrument-use-path=code.profclangd' '-fcoverage-compilation-dir=/Software/Python312/.src_34340eab1ef9bee6/Python-3.12.1' -D NDEBUG -D Py_BUILD_CORE -O3 -Wformat -Wformat-security -Wformat -Wformat-security '-Werror=implicit-function-declaration' -w '-std=c11' '-fdebug-compilation-dir=/Software/Python312/.src_34340eab1ef9bee6/Python-3.12.1' -ferror-limit 1 '-fvisibility=hidden' -fwrapv -pthread -stack-protector 1 -stack-protector-buffer-size 4 -stack-protector-buffer-size 4 -fno-signed-char '-fgnuc-version=4.2.1' -vectorize-loops -vectorize-slp -faddrsig '-D__GCC_HAVE_DWARF2_CFI_ASM=1' -x c token-7986e1.c error: Error in reading profile code.profclangd: No such file or directory If you still have this file, you can also upload it GitHub? -- You are receiving this mail because: You are the assignee for the bug.