LibC++ failure on ARM

Hi Marshal,

ARM has recently moved the buildslave from single test to with/without
exception:

http://lab.llvm.org:8011/builders/libcxx-libcxxabi-libunwind-arm-linux

http://lab.llvm.org:8011/builders/libcxx-libcxxabi-libunwind-arm-linux-noexceptions

but both slaves have the same error that wasn't there before:

******************** TEST 'libc++ ::
std/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp'
FAILED
Exit Code: -6
Standard Error:

What C library is being used? Maybe newlocale with the empty string returns NULL with that C library.

My suspicion is that the test is failing in the test block starting at line 48, where a std::locale is constructed with the empty string.

What C library is being used? Maybe newlocale with the empty string returns
NULL with that C library.

(Ubuntu EGLIBC 2.19-0ubuntu6.3)

This is the exact same machine in the exact same configuration that we
were using for the old builder, just changed the master configuration.

My suspicion is that the test is failing in the test block starting at line
48, where a std::locale is constructed with the empty string.

Why would it be breaking now and not before?

cheers,
--renato

My suspicion is that the test is failing in the test block starting at line
48, where a std::locale is constructed with the empty string.

Why would it be breaking now and not before?

No idea. I work with the leads that I've got :slight_smile:

Do you know if the old configuration claimed support for locale.en_US.UTF-8? The failing test would have been skipped if that locale wasn't supported.
Are the old configurations and new configurations running similar quantities of tests?

I changed the library order in response to a review comment [1], but can’t see how that’s causing this failure.

@Renato: can you check on that box if reverting the library order actually fixes the problem? Just to double check if that’s indeed the cause.

Thanks.

/ Asiri

[1] http://reviews.llvm.org/D14293#inline-118681

Ignore me please, noted that you said it’s the identical configuration with just the library re-ordering.

Shall I revert the link ordering until we have time to investigate?

Thanks.

/ Asiri

I can't see anything wrong in reverting the order, though. Maybe it's
best, so we make sure it wasn't the problem.

cheers,
--renato

Reverted the library order in r275088:

http://llvm.org/viewvc/llvm-project?view=revision&revision=275088

Will have to wait for a buildmaster restart unfortunately (unless there’s a way to test this configuration locally?)

Thanks.

/ Asiri

It should be fine to wait, the libcxx bot only builds once in a while, and it’s mostly Marshall… :slight_smile:

Thanks!