[cPerf] LNT error on LLD bot

Kristof Beyls via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 05:51:45 PDT 2017


Hi Renato,

I'm assuming this got triggered by http://llvm.org/viewvc/llvm-project?view=revision&revision=300680, which makes a change to cPerf.cpp in LNT?

Strange indeed that this was working before and is now broken.
This cPerf.cpp is one of the LNT python submodules, implemented in c++. Therefore, it needs a c/c++ compiler to build the file.
This is all done through Python's built-in mechanisms to do so. I'm assuming that Python will look for the default c/c++ compiler on the platform, which on linux distributions is probably gcc/g++.
At http://lab.llvm.org:8011/builders/clang-cmake-aarch64-lld/builds/1095/steps/setup%20lit/logs/stdio, I see the error message is:

aarch64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: No such file or directory

Is it possible you installed gcc, but not g++?

I see the other bots with "lnt" in the name at http://lab.llvm.org:8011/builders don't have this problem, so I'm assuming getting g++ installed on the bot will solve this issue.

Thanks,

Kristof.

PS. I'm still puzzled that this didn't fail the bot the first time cPerf.cpp was introduced, about a year ago.

On 20 Apr 2017, at 14:37, Renato Golin <renato.golin at linaro.org<mailto:renato.golin at linaro.org>> wrote:

Hi Kristof,

I think this one is yours. :)

http://lab.llvm.org:8011/builders/clang-cmake-aarch64-lld/builds/1094/steps/setup%20lit/logs/stdio

First, we got errors that GCC is not installed (we use Clang), now it
has some cc1 errors. I wonder why this is now a requirement and why it
started failing after your patch, since you haven't added anything
new...

cheers,
--renato

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/87f37477/attachment.html>


More information about the llvm-commits mailing list