[Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 13:03:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276170 --- Comment #36 from Dimitry Andric <dim@FreeBSD.org> --- (In reply to Guillaume Outters from comment #30) Yeah, I've done that too now, and CC=clang CXX=clang++ makes it at least generate and use profiling information, e.g.: clang -pthread -c -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -fprofile-instr-use=/home/dim/obj/cpython-3.13.1/code.profclangd -I/share/dim/src/python/cpython/Include/internal -I/share/dim/src/python/cpython/Include/internal/mimalloc -IObjects -IInclude -IPython -I. -I/share/dim/src/python/cpython/Include -DPy_BUILD_CORE -o Programs/python.o /share/dim/src/python/cpython/Programs/python.c But I see no crashes at all, it builds just fine to the end. Currently running the test suite. I'm not sure if LTO is enabled in this case, though. -- You are receiving this mail because: You are the assignee for the bug.