[cfe-dev] Triple-related failures on clang-i686-xp-msvc9

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Mar 3 20:28:12 PST 2010


On Mar 3, 2010, at 8:21 PM, Ted Kremenek wrote:

> I saw these test fail on my own machine when I had not configured my LLVM build to build ARM.  Anyone doing 'configure --enable-targets=host-only' (where the host is not ARM) will see these tests fail.

Ouch.

LLVM's dg.exp files sometimes contain stuff like:

if { [llvm_supports_target Blackfin] } {
  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
}

Maybe clang could do something similar?

> 
> On Mar 3, 2010, at 8:19 PM, Jakob Stoklund Olesen wrote:
> 
>> 
>> 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.
>> 
>> Thanks, John.
>> 
>> Is that behaviour default for Windows, or is it specific to that bot? Otherwise your xfail will just become an xpass somewhere else.
>> 
>> /jakob
>> 
>> 
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> 





More information about the cfe-dev mailing list