Issue 27983: "Cannot perform PGO build because llvm-profdata was not found in PATH" error upon make (original) (raw)
patch in (which should be in soon) and do the following:
$ CC=clang ../3.6/configure --with-optimizations $ make profile-opt Error: Cannot perform PGO build because llvm-profdata was not found in PATH Please add it to PATH and run ./configure again Makefile:481: recipe for target 'profile-opt' failed
We can make this experience better. It needs to
(1) Become a configure time error, and (2) Do a better job of finding llvm-profdata (which exists in ${PATH} as "llvm-profdata-3.8" on Ubuntu 16.04).