Date: Tue, 31 Dec 2024 13:03:40 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 276170] LLVM bug prevents from enabling PGO optimization for Python 3.11+ Message-ID: <bug-276170-29464-1NA9k6CEUr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276170-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-276170-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276170 --- 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=3Dclang CXX=3Dclang++ makes it at least generate and use profiling information, e.g.:=20 clang -pthread -c -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=3Dc11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=3Dimplicit-function-declaration -fvisibility=3Dhidden -fprofile-instr-use=3D/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 -IInclu= de -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 runn= ing the test suite. I'm not sure if LTO is enabled in this case, though. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276170-29464-1NA9k6CEUr>