[llvm-bugs] [Bug 40531] New: TEST 'libomp :: ompt/synchronization/lock.c' FAILED on 32-bit x86

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 30 08:33:03 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40531

            Bug ID: 40531
           Summary: TEST 'libomp :: ompt/synchronization/lock.c' FAILED on
                    32-bit x86
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 40331

Created attachment 21408
  --> https://bugs.llvm.org/attachment.cgi?id=21408&action=edit
sys-libs:libomp-8.0.9999:20190130-161231.log

******************** TEST 'libomp :: ompt/synchronization/lock.c' FAILED
********************
Script:
--
: 'RUN: at line 1';   /usr/lib64/ccache/bin/i686-pc-linux-gnu-clang
-fno-experimental-isel -fopenmp  -I
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test -I
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/src
-L
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/src
 -I
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c
-o
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/test/ompt/synchronization/Output/lock.c.tmp
-lm -latomic &&
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/test/ompt/synchronization/Output/lock.c.tmp
| tee
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c.out
| /usr/lib/llvm/8/bin/FileCheck
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/usr/lib64/ccache/bin/i686-pc-linux-gnu-clang" "-fno-experimental-isel"
"-fopenmp" "-I"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test"
"-I"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/src"
"-L"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/src"
"-I"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c"
"-o"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/test/ompt/synchronization/Output/lock.c.tmp"
"-lm" "-latomic"
$
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999-abi_x86_32.x86/runtime/test/ompt/synchronization/Output/lock.c.tmp"
$ "tee"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c.out"
$ "/usr/lib/llvm/8/bin/FileCheck"
"/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c"
# command stderr:
/var/tmp/portage/sys-libs/libomp-8.0.9999/work/libomp-8.0.9999/runtime/test/ompt/synchronization/lock.c:33:12:
error: CHECK: expected string not found in input
 // CHECK: {{^}}[[MASTER_ID]]: ompt_event_init_lock: wait_id=[[WAIT_ID]],
hint={{[0-9]+}}, impl={{[0-9]+}},
codeptr_ra=[[RETURN_ADDRESS:0x[0-f]+]]{{[0-f][0-f]}}
           ^
<stdin>:10:1: note: scanning from here
281474976710657: ompt_event_init_lock: wait_id=18446744073706479000, hint=0,
impl=2, codeptr_ra=0x804b1c6 
^
<stdin>:10:1: note: with variable "MASTER_ID" equal to "281474976710657"
281474976710657: ompt_event_init_lock: wait_id=18446744073706479000, hint=0,
impl=2, codeptr_ra=0x804b1c6 
^
<stdin>:10:1: note: with variable "WAIT_ID" equal to "4291894680"
281474976710657: ompt_event_init_lock: wait_id=18446744073706479000, hint=0,
impl=2, codeptr_ra=0x804b1c6 
^

error: command failed with exit status: 1

--

********************

I've discovered it while testing for 8.0 release but I can also reproduce it
with trunk and 7.0.1.  I don't really recall if I haven't tested 7.0 on x86; it
might be also caused by glibc upgrade.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=40331
[Bug 40331] [meta] 8.0.0 Release Blockers
-- 
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/20190130/61017a64/attachment.html>


More information about the llvm-bugs mailing list