Clang build "clang-native-arm-cortex-a9" is broken

Hello everybody,

Just a short note that clang build "clang-native-arm-cortex-a9" is
broken and the very last successful build was for revision 139932.
All newer revisions fail.

The builder is available here:
http://172.16.0.135:8011/waterfall

Thanks

Galina

I can't get this to respond. What's the error that you're seeing?

-eeric

Please use the correct link :
http://63.145.236.72:8011
and ignore the previous.

Also log for broken build is here:

make[1]: Entering directory
`/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release+Asserts build
llvm[1]: Compiling APInt.cpp for Release+Asserts build
In file included from APFloat.cpp:15:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/APFloat.h:104:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/APInt.h:18:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/ArrayRef.h:13:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/SmallVector.h:17:
e[1m/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/Support/type_traits.h:20:10:
e[0me[0;1;31mfatal error: e[0me[1m'utility' file not found
e[0m#include <utility>
e[0;1;32m ^
e[0mIn file included from APInt.cpp:16:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/APInt.h:18:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/ArrayRef.h:13:
In file included from
/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/ADT/SmallVector.h:17:
e[1m/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/include/llvm/Support/type_traits.h:20:10:
e[0me[0;1;31mfatal error: e[0me[1m'utility' file not found
e[0m#include <utility>
e[0;1;32m ^
e[0m1 error generated.
make[1]: *** [/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/lib/Support/Release+Asserts/APInt.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[1]: *** [/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/lib/Support/Release+Asserts/APFloat.o]
Error 1
make[1]: Leaving directory
`/home/buildslave/zorg/buildbot/osuosl/slave/clang-native-arm-cortex-a9/llvm/lib/Support'
make: *** [all] Error 1
program finished with exit code 2
elapsedTime=0.802856

The host c++ standard library is missing <utility>, it appears.

Yeah. That code has been there since r91421 and wouldn't have failed recently otherwise. Did something change on the host?

-eric

I have tracked it down to the real reason.

The revisions 139934-139937 has changed the order in which configure
chooses a compiler. Clang is checked first, then llvm-gcc, and then
gcc.

I can see the reason for this change.
However, in this particular case it has broken the build because
Ubuntu includes clang 2.8 which doesn't know where includes are.

I have removed clang from the host to force gcc to be chosen, which is
what is intended for this builder.

The buildslave will be back on-line shortly.

Thanks

Galina.

I have tracked it down to the real reason.

The revisions 139934-139937 has changed the order in which configure
chooses a compiler. Clang is checked first, then llvm-gcc, and then
gcc.

Yep. I guess I could have done a check for a reasonable clang, but it seemed silly.

I can see the reason for this change.
However, in this particular case it has broken the build because
Ubuntu includes clang 2.8 which doesn't know where includes are.

I'm going to call this an ubuntu bug. That's just stupid.

I have removed clang from the host to force gcc to be chosen, which is
what is intended for this builder.

The buildslave will be back on-line shortly.

Aha. Excellent.

-eric