<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Test failure with CUDA 9.0"
href="https://bugs.llvm.org/show_bug.cgi?id=35648">35648</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Test failure with CUDA 9.0
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>CUDA
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>j.l.k@gmx.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The Driver/unknown-std.cpp test is failing with CUDA 9.0 due to an unsupported
architecture "sm_20" which was dropped in CUDA 9.0. I got this on revision
320484:
FAIL: Clang :: Driver/unknown-std.cpp (4403 of 11748)
******************** TEST 'Clang :: Driver/unknown-std.cpp' FAILED
********************
Script:
--
not /home/klinkovsky/build/builddir/llvm-svn/src/build/bin/clang
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
-std=foobar -c 2>&1 |
/home/klinkovsky/build/builddir/llvm-svn/src/build/bin/FileCheck
--match-full-lines
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
not /home/klinkovsky/build/builddir/llvm-svn/src/build/bin/clang -x
objective-c++
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
-std=foobar -c 2>&1 |
/home/klinkovsky/build/builddir/llvm-svn/src/build/bin/FileCheck
--match-full-lines
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
not /home/klinkovsky/build/builddir/llvm-svn/src/build/bin/clang -x cuda
-nocudainc -nocudalib
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
-std=foobar -c 2>&1 |
/home/klinkovsky/build/builddir/llvm-svn/src/build/bin/FileCheck
--match-full-lines --check-prefix=CHECK --check-prefix=CUDA
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp
--
Exit Code: 1
Command Output (stderr):
--
/home/klinkovsky/build/builddir/llvm-svn/src/llvm/tools/clang/test/Driver/unknown-std.cpp:9:11:
error: expected string not found in input
// CHECK: error: invalid value 'foobar' in '-std=foobar'
^
<stdin>:1:1: note: scanning from here
clang-6.0: error: GPU arch sm_20 is supported by CUDA versions between 7.0 and
8.0 (inclusive), but installation at /usr/local/cuda is 9.0. Use --cuda-path to
specify a different CUDA install, pass a different GPU arch with
--cuda-gpu-arch, or pass --no-cuda-version-check.
^
<stdin>:1:10: note: possible intended match here
clang-6.0: error: GPU arch sm_20 is supported by CUDA versions between 7.0 and
8.0 (inclusive), but installation at /usr/local/cuda is 9.0. Use --cuda-path to
specify a different CUDA install, pass a different GPU arch with
--cuda-gpu-arch, or pass --no-cuda-version-check.
^
--</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>