<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 'libomp :: ompt/synchronization/lock.c' FAILED on 32-bit x86"
   href="https://bugs.llvm.org/show_bug.cgi?id=40531">40531</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TEST 'libomp :: ompt/synchronization/lock.c' FAILED on 32-bit x86
          </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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>40331
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21408" name="attach_21408" title="sys-libs:libomp-8.0.9999:20190130-161231.log">attachment 21408</a> <a href="attachment.cgi?id=21408&action=edit" title="sys-libs:libomp-8.0.9999:20190130-161231.log">[details]</a></span>
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.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 8.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=40331">Bug 40331</a>] [meta] 8.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>