This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mjpieters
Recipients mjpieters
Date 2019-02-15.13:29:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is probably a automake bug.

When running CC=clang CXX=clang++ ./configure --enable-optimizations, configure tests for a non-existing -llvm-profdata binary:

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.

The generated configure script looks for "$target_alias-llvm-profdata", and $target_alias is an empty string.

This problem is not visible on Macs, where additional checks for "/usr/bin/xcrun -find llvm-profdata" locate the binary.

The work-around would be to specify a target when configuring.
Date User Action Args
2019-02-15 13:29:15mjpieterssetrecipients: + mjpieters
2019-02-15 13:29:15mjpieterssetmessageid: <>
2019-02-15 13:29:15mjpieterslinkissue36002 messages
2019-02-15 13:29:15mjpieterscreate