<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - clang33 crashes (sigabort) compiling perl module Math::Int128 on FreeBSD 9.1 i386"
   href="http://llvm.org/bugs/show_bug.cgi?id=16658">16658</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang33 crashes (sigabort) compiling perl module Math::Int128 on FreeBSD 9.1 i386
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>clang@opsec.eu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>clang33 fails with

clang33 -c  -I.  -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing 
  -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.16/mach/CORE"   Int128.c
[...]
UNREACHABLE executed!
Stack dump:
0.      Program arguments: /usr/local/llvm33/bin/clang -cc1 -triple
i386-portbld-freebsd9.1 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name Int128.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu i486
-target-linker-version 2.23.2 -coverage-file
/usr/local/home/pi/myp/math/p5-Math-Int128/work/Math-Int128-0.10/Int128.o
-resource-dir /usr/local/llvm33/bin/../lib/clang/3.3 -D VERSION="0.10" -D
XS_VERSION="0.10" -D PIC -I . -I /usr/local/lib/perl5/5.16/mach/CORE -O2
-fdebug-compilation-dir
/usr/local/home/pi/myp/math/p5-Math-Int128/work/Math-Int128-0.10 -ferror-limit
19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep
-fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option
-vectorize-loops -o Int128.o -x c Int128.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'Int128.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@XS_Math__Int128__mul'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
[...]
clang: note: diagnostic msg: /tmp/Int128-apBJtv.c
clang: note: diagnostic msg: /tmp/Int128-apBJtv.sh
[...]

The full details see 

<a href="http://opsec.eu/backup/misc.tgz">http://opsec.eu/backup/misc.tgz</a> with
the full compile log and the two files mentioned above
and
<a href="http://opsec.eu/backup/port.tgz">http://opsec.eu/backup/port.tgz</a>
with the full contents of the ports directory.

The problem came up updating and debugging the freebsd math/p5-Math-Int128
port,
see

<a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=180487">http://www.freebsd.org/cgi/query-pr.cgi?pr=180487</a>                               

for details.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>