<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Clang 9 abort trap when building mesa drivers on FreeBSD"
   href="https://bugs.llvm.org/show_bug.cgi?id=44183">44183</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang 9 abort trap when building mesa drivers on FreeBSD
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>9.0
          </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>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>alfredo.junior@eldorado.org.br
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, nemanja.i.ibm@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22882" name="attach_22882" title="Preoprocessed source and associated run script">attachment 22882</a> <a href="attachment.cgi?id=22882&action=edit" title="Preoprocessed source and associated run script">[details]</a></span>
Preoprocessed source and associated run script

I hit the following Abort when building package ports/graphics/mesa-dri on
FreeBSD/powerpc64 ELFv2 ABI.

Please let me know if you need more info. Thanks!!




1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'sb/sb_bc_builder.cpp'.
4.      Running pass 'Linux PPC Assembly Printer' on function
'@_ZN7r600_sb10bc_builder8build_cfEPNS_7cf_nodeE'
#0 0x000000001371670c (/usr/bin/c+++0x1371670c)
#1 0x0000000013716d88 (/usr/bin/c+++0x13716d88)
#2 0x000000001371404c (/usr/bin/c+++0x1371404c)
#3 0x0000000013717500 (/usr/bin/c+++0x13717500)
#4 0x00000008151f176c (/lib/libthr.so.3+0x1b76c)
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM
9.0.0)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.freebsd.org/submit/">https://bugs.freebsd.org/submit/</a> 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/sb_bc_builder-3d0404.cpp
c++: note: diagnostic msg: /tmp/sb_bc_builder-3d0404.sh
c++: 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>