[Bug 215603] clang: crash on i386 when compiling math/cgal

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 27 10:48:50 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215603

            Bug ID: 215603
           Summary: clang: crash on i386 when compiling math/cgal
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org

Created attachment 178315
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178315&action=edit
Source

If USE_GCC is removed from math/cgal, it crashes on 11+ i386.

*** Bad machine code: MBB exits via unconditional fall-through but its
successor differs from its CFG successor! ***
- function:    _Z19Reech2DTriLin4x4_u8PvPiS_S0_Pd
- basic block: BB#11 if.then29 (0x2ef0d6ac)

*** Bad machine code: MBB exits via unconditional fall-through but its
successor differs from its CFG successor! ***
- function:    _Z19Reech2DTriLin4x4_u8PvPiS_S0_Pd
- basic block: BB#14 if.then43 (0x2ef0d764)

*** Bad machine code: Using an undefined physical register ***
- function:    _Z19Reech2DTriLin4x4_u8PvPiS_S0_Pd
- basic block: BB#19 if.then56 (0x2ef0d878)
- instruction: FNSTSW16r
- operand 1:   %FPSW<imp-use>

*** Bad machine code: MBB exits via unconditional fall-through but its
successor differs from its CFG successor! ***
- function:    _Z19Reech2DTriLin4x4_u8PvPiS_S0_Pd
- basic block: BB#24 if.then98 (0x2ef0d98c)

*** Bad machine code: MBB exits via unconditional fall-through but its
successor differs from its CFG successor! ***
- function:    _Z19Reech2DTriLin4x4_u8PvPiS_S0_Pd
- basic block: BB#25 if.end99 (0x2ef0d9e8)
fatal error: error in backend: Found 5 machine code errors.
c++: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM
3.8.0)
Target: i386-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/all_files-0a1123.cpp
c++: note: diagnostic msg: /tmp/all_files-0a1123.sh
c++: note: diagnostic msg: 

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list