<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 - libomptarget :: nvptx64-nvidia-cuda test failures: error: unknown type name '__off_t'"
href="https://bugs.llvm.org/show_bug.cgi?id=51337">51337</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libomptarget :: nvptx64-nvidia-cuda test failures: error: unknown type name '__off_t'
</td>
</tr>
<tr>
<th>Product</th>
<td>OpenMP
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Clang Compiler Support
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm@meinersbur.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The following tests fail since
<a href="https://reviews.llvm.org/rG713a5d12cde58a5dff90cc3e2d1e67c2a78fe52f">https://reviews.llvm.org/rG713a5d12cde58a5dff90cc3e2d1e67c2a78fe52f</a> /
<a href="https://reviews.llvm.org/D104904">https://reviews.llvm.org/D104904</a> "[OpenMP][AMDGCN] Initial math headers
support"
FAIL: libomptarget :: nvptx64-nvidia-cuda::omp_get_num_devices.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::omp_device_managed_memory.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::omp_host_pinned_memory.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::data_absent_at_exit.c
FAIL: libomptarget ::
nvptx64-nvidia-cuda::omp_get_num_devices_with_empty_target.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::delete_inf_refcount.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::pr38704.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::target_array_extension.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::target.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::target_data.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::target_data_array_extension.c
FAIL: libomptarget :: nvptx64-nvidia-cuda::target_enter_data.c
First buildbot failures
-----------------------
openmp-offloading-cuda-project:
<a href="http://meinersbur.de:8011/#/builders/1/builds/118">http://meinersbur.de:8011/#/builders/1/builds/118</a>
openmp-offloading-cuda-runtime:
<a href="http://meinersbur.de:8011/#/builders/117/builds/102">http://meinersbur.de:8011/#/builders/117/builds/102</a>
One of the error messages
-------------------------
******************** TEST 'libomptarget :: nvptx64-nvidia-cuda ::
mapping/present/target.c' FAILED ********************
Script:
--
: 'RUN: at line 1';
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang
-fopenmp -fno-experimental-isel --cuda-path=/usr/local/cuda -I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test
-I
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget
-L
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src
-fopenmp-targets=nvptx64-nvidia-cuda
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c
-o
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/mapping/present/Output/target.c.tmp
-fopenmp-version=51
: 'RUN: at line 2';
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/not
--crash
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/mapping/present/Output/target.c.tmp
2>&1 |
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/FileCheck
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c
--
Exit Code: 1
Command Output (stdout):
--
$ ":" "RUN: at line 1"
note: command had no output on stdout or stderr
$
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/./bin/clang"
"-fopenmp" "-fno-experimental-isel" "--cuda-path=/usr/local/cuda" "-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test"
"-I"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget"
"-L"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src"
"-fopenmp-targets=nvptx64-nvidia-cuda"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c"
"-o"
"/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/runtimes/runtimes-bins/openmp/libomptarget/test/nvptx64-nvidia-cuda/mapping/present/Output/target.c.tmp"
"-fopenmp-version=51"
# command stderr:
clang-14: warning: Unknown CUDA version. cuda.h: CUDA_VERSION=11040. Assuming
the latest supported version 10.1 [-Wunknown-cuda-version]
In file included from
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c:6:
In file included from /usr/include/stdio.h:39:
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h:12:3: error: unknown type
name '__off_t'
__off_t __pos;
^
In file included from
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c:6:
In file included from /usr/include/stdio.h:40:
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h:12:3: error: unknown type
name '__off64_t'
__off64_t __pos;
^
In file included from
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c:6:
In file included from /usr/include/stdio.h:43:
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:74:3: error: unknown
type name '__off_t'
__off_t _old_offset; /* This used to be _offset but it's too small. */
^
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:89:3: error: unknown
type name '__off64_t'
__off64_t _offset;
^
In file included from
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c:6:
/usr/include/stdio.h:63:9: error: unknown type name '__off_t'
typedef __off_t off_t;
^
/usr/include/stdio.h:77:9: error: unknown type name '__ssize_t'; did you mean
'size_t'?
typedef __ssize_t ssize_t;
^
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.build/lib/clang/14.0.0/include/stddef.h:46:23:
note: 'size_t' declared here
typedef __SIZE_TYPE__ size_t;
^
In file included from
/home/buildbot-worker/minipc-1050ti-linux/openmp-offload-cuda-runtime/llvm.src/openmp/libomptarget/test/mapping/present/target.c:6:
/usr/include/stdio.h:603:8: error: unknown type name '__ssize_t'; did you mean
'ssize_t'?
extern __ssize_t __getdelim (char **__restrict __lineptr,
^
/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
typedef __ssize_t ssize_t;
^
/usr/include/stdio.h:606:8: error: unknown type name '__ssize_t'; did you mean
'ssize_t'?
extern __ssize_t getdelim (char **__restrict __lineptr,
^
/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
typedef __ssize_t ssize_t;
^
/usr/include/stdio.h:616:8: error: unknown type name '__ssize_t'; did you mean
'ssize_t'?
extern __ssize_t getline (char **__restrict __lineptr,
^
/usr/include/stdio.h:77:19: note: 'ssize_t' declared here
typedef __ssize_t ssize_t;
^
/usr/include/stdio.h:707:36: error: unknown type name '__off_t'
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
^
/usr/include/stdio.h:712:8: error: unknown type name '__off_t'
extern __off_t ftello (FILE *__stream) __wur;
^
11 errors generated.
error: command failed with exit status: 1
--
********************</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>