[llvm-bugs] [Bug 43932] New: clang7 hangs with x64 and O2

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 7 08:25:08 PST 2019


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

            Bug ID: 43932
           Summary: clang7 hangs with x64 and O2
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zeno490 at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Hello,
This bug was found in Realtime Math:
https://github.com/nfrechette/rtm/issues/37
But it is also present in the Animation Compression Library which has similar
code.

To reproduce the issue, simply grab the 'develop' branch of RTM and make sure
to grab the submodules as well.

python make.py -compiler clang7 -cpu x64 -config release -nosimd -build
-unit_test -clean

You will need CMake and python2/3.

The compiler hangs while compiling the unit tests and does not terminate even
if I let it run for 20-30min. This is under Ubuntu Xenial and clang version
7.1.0.

Other clang versions take 2mins at most for this, same with MSVC and GCC.

The issue does not happen if SSE or AVX is used (without -nosimd or with -avx
instead, respectively). This only happens when intrinsics are explicitly
disabled. It also doesn't happen with the debug configuration or with x86.

Cheers,
Nicholas

-- 
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/20191107/49683aef/attachment.html>


More information about the llvm-bugs mailing list