Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2024 13:44:25 +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-I78p0DsHka@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

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=3Dful=
l'
-flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier
-discard-value-names -main-file-name token.c -mrelocation-model pic -pic-le=
vel
2 -fhalf-no-semantic-interposition '-mframe-pointer=3Dnon-leaf'
'-ffp-contract=3Don' -fno-rounding-math -mconstructor-aliases '-funwind-tab=
les=3D2'
-target-cpu generic -target-feature +neon -target-feature +v8a -target-abi
aapcs -mllvm -treat-scalable-fixed-error-as-warning
'-debug-info-kind=3Dstandalone' '-dwarf-version=3D5' '-debugger-tuning=3Dgd=
b'
'-fprofile-instrument-use-path=3Dcode.profclangd'
'-fcoverage-compilation-dir=3D/Software/Python312/.src_34340eab1ef9bee6/Pyt=
hon-3.12.1'
-D NDEBUG -D Py_BUILD_CORE -O3 -Wformat -Wformat-security -Wformat
-Wformat-security '-Werror=3Dimplicit-function-declaration' -w '-std=3Dc11'
'-fdebug-compilation-dir=3D/Software/Python312/.src_34340eab1ef9bee6/Python=
-3.12.1'
-ferror-limit 1 '-fvisibility=3Dhidden' -fwrapv -pthread -stack-protector 1
-stack-protector-buffer-size 4 -stack-protector-buffer-size 4 -fno-signed-c=
har
'-fgnuc-version=3D4.2.1' -vectorize-loops -vectorize-slp -faddrsig
'-D__GCC_HAVE_DWARF2_CFI_ASM=3D1' -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?

--=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-I78p0DsHka>