Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2016 10:48:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215603] clang: crash on i386 when compiling math/cgal
Message-ID:  <bug-215603-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215603

            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@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org

Created attachment 178315
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178315&action=
=3Dedit
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, preproces=
sed
source, and associated run script.
c++: note: diagnostic msg:=20
********************

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:=20

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215603-8>