<html>
    <head>
      <base href="https://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 --- - regression: integrated assembler assertion failure, function EmitIntValue (core dumped)"
   href="https://llvm.org/bugs/show_bug.cgi?id=25595">25595</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>regression: integrated assembler assertion failure, function EmitIntValue (core dumped)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>DragonFly BSD
          </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>MC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>draco@marino.st
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15325" name="attach_15325" title="preprocessed source">attachment 15325</a> <a href="attachment.cgi?id=15325&action=edit" title="preprocessed source">[details]</a></span>
preprocessed source

The following internal compiler error occurred trying to build DragonFly base
using llvm/clang3.7 which can be done successfully with llvm/clang3.6.


cc -O -pipe  -DBTX_FLAGS=0x0 -ffreestanding -mno-mmx -mno-3dnow -mno-sse
-mno-sse2 -mno-sse3 -msoft-float -m32
  -std=gnu99 -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security
-Winit-self -Wno-pointer-sign -Wno-uninitialized
  /build/boomdata/jails/clang-master/usr/src/sys/boot/pc32/btx/btx/btx.S -o
btx.o -c
Assertion failed: ((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
"Invalid size"), function EmitIntValue,
file /wrkdirs/devel/llvm37/llvm-3.7.0.src/lib/MC/MCStreamer.cpp, line 82.
clang-3.7: error: unable to execute command: Abort trap (core dumped)
clang-3.7: error: clang integrated assembler command failed due to signal (use
-v to see invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: i386-unknown-dragonfly4.3
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/btx-183c45.S
clang-3.7: note: diagnostic msg: /tmp/btx-183c45.sh
clang-3.7: note: diagnostic msg:</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>