[llvm-bugs] [Bug 51337] New: libomptarget :: nvptx64-nvidia-cuda test failures: error: unknown type name '__off_t'
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 4 00:16:38 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51337
Bug ID: 51337
Summary: libomptarget :: nvptx64-nvidia-cuda test failures:
error: unknown type name '__off_t'
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: llvm at meinersbur.de
CC: llvm-bugs at lists.llvm.org
The following tests fail since
https://reviews.llvm.org/rG713a5d12cde58a5dff90cc3e2d1e67c2a78fe52f /
https://reviews.llvm.org/D104904 "[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:
http://meinersbur.de:8011/#/builders/1/builds/118
openmp-offloading-cuda-runtime:
http://meinersbur.de:8011/#/builders/117/builds/102
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
--
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210804/64849337/attachment-0001.html>
More information about the llvm-bugs
mailing list