[cfe-dev] Triple-related failures on clang-i686-xp-msvc9
Ted Kremenek
kremenek at apple.com
Wed Mar 3 20:19:27 PST 2010
On Mar 3, 2010, at 8:10 PM, John McCall wrote:
> On Mar 3, 2010, at 7:39 PM, Jakob Stoklund Olesen wrote:
>> A bunch of clang tests are failing on Windows with:
>>
>> error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
>>
>> http://google1.osuosl.org:8011/builders/clang-i686-xp-msvc9
>>
>> Could someone take a look, please?
>>
>> The error was sneaked in while sabre was blinding the bots with the asm.c failure, so nastygrams were not sent.
>
> This is me. We can no longer -emit-llvm for a Clang target without having built the corresponding LLVM target, and apparently that buildbot disables all targets except X86.
>
> I don't think this is an unreasonable restriction, but I don't know why the buildbot disables all the non-x86 targets. I'll just xfail those tests on win32 until ddunbar weighs in.
The real problem is that Clang should not be required to build with ARM support in order for its tests to pass. For the tests that are target specific, they should not run at all if Clang has not been built to support that target.
Unless we can support this mode in the test suite now, I think this change should be reverted.
More information about the cfe-dev
mailing list