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 <1550237355.31.0.735770966924.issue36002@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-15 13:29:15mjpieterssetrecipients: + mjpieters
2019-02-15 13:29:15mjpieterssetmessageid: <1550237355.31.0.735770966924.issue36002@roundup.psfhosted.org>
2019-02-15 13:29:15mjpieterslinkissue36002 messages
2019-02-15 13:29:15mjpieterscreate