[issue47140] configure --enable-optimizations with clang *12* fails to detect llvm-profdata

Ofek Shilon report at bugs.python.org
Mon Mar 28 06:46:47 EDT 2022


New submission from Ofek Shilon <ofekshilon at gmail.com>:

Working on 3/228/2022 github trunk in Ubuntu20. If I use the shipped clang10 :
$ ./configure --enable-optimizations
succeeds. If however I -
$ export CC=clang-12
`configure` starts to fail with symptoms identical to https://bugs.python.org/issue36002:

checking for --enable-optimizations... yes
checking for --with-lto... no
checking for -llvm-profdata... no
configure: error: llvm-profdata is required for a --enable-optimizations build but could not be found.

Manually setting LLVM_PROFDATA is still a valid workaround.

----------
components: Build
messages: 416156
nosy: ofekshilon
priority: normal
severity: normal
status: open
title: configure --enable-optimizations with clang *12* fails to detect llvm-profdata
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47140>
_______________________________________


More information about the Python-bugs-list mailing list