[cfe-dev] C++ Module failures on ARM

Renato Golin renato.golin at linaro.org
Thu Apr 16 12:52:45 PDT 2015


Folks,

I have been trying to get this buildbot green for a while...

http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/

but for some reason, those four tests fail:

FAIL: Clang::fmodules-validate-once-per-build-session.c
FAIL: Clang::prune.m
FAIL: Clang::validate-system-headers.m
FAIL: LLVM::archive-update.test

I have no idea why, since the same build on other ARM boards work perfectly.

I have completely removed the buildbot directory, re-created,
restarted, and still the same four errors occur. I have updated the
system, removed spurious packages, moved the version of all relevant
tools (compiler, cmake, ninja, etc) to the other bots, for instance:

http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15

which is green ever since. I also run NEON and non-NEON ARMv7 tests on
my test box and all tests pass.

It seems that the problem is with versions of the modules that get
included, for example:

http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/4811/steps/ninja%20check%201/logs/FAIL%3A%20LLVM%3A%3Aarchive-update.test

archive-update.test:34:8: error: expected string not found in input
NEWER: newer
       ^
<stdin>:1:1: note: scanning from here
older
^

Does anyone have any idea on how to fix this issue? I don't think it's
in Clang itself, but I can't think of anything else to do in the
machine... My last resort will be to kill that machine and re-install
from scratch, but that would be to admit failure. :)

cheers,
--renato

PS: Those problems occurred after a power cut, which left all my bots
in a terrible state. All others recuperated well, not this...



More information about the cfe-dev mailing list