<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 --- - 3.5rc4. crash building libkqueue for powerpc-unknown-linux"
   href="http://llvm.org/bugs/show_bug.cgi?id=20818">20818</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>3.5rc4.  crash building libkqueue for powerpc-unknown-linux
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.4
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </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>bayoubengal@mac.com
          </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>Created <span class=""><a href="attachment.cgi?id=12966" name="attach_12966" title="diagnostic files">attachment 12966</a> <a href="attachment.cgi?id=12966&action=edit" title="diagnostic files">[details]</a></span>
diagnostic files

version is 3.5rc4  for OSX.

[  2%] Building C object libkqueue/CMakeFiles/kqueue.dir/src/linux/platform.c.o
cd /Volumes/dev/devel/libdispatch_linux/build/libkqueue &&
/devel/PrgSDK_1/comx_p2020/supernode_3/tools/Darwin/x86_64/bin/powerpc-unknown-linux-clang
 -DMAKE_STATIC --sysroot /devel/PrgSDK_1/comx_p2020/supernode_3/linuxSDK3.8
-target powerpc-unknown-linux -m32 -mcpu=e500v2  -Qunused-arguments -Wall
-Werror -Wextra -Wno-missing-field-initializers -g -O2 -fpic
-D_XOPEN_SOURCE=600 -std=c99 -fvisibility=hidden -O3 -DNDEBUG
-I/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/common
-I/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/include    -o
CMakeFiles/kqueue.dir/src/linux/platform.c.o   -c
/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/linux/platform.c
fatal error: error in backend: Cannot select: 0x7f8c3342aa10: i32 =
PPCISD::ADDI_DTPREL_L 0x7f8c3342b460, 0x7f8c33427338 [ORD=4] [ID=32]
dbg:/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/linux/platform.c:154:12
  0x7f8c3342b460: i32 = PPCISD::ADDIS_DTPREL_HA 0x7f8c3342d260, 0x7f8c3342c600,
0x7f8c33427338 [ORD=4] [ID=31]
dbg:/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/linux/platform.c:154:12
    0x7f8c3342c600: i64 = Register %X3 [ID=19]
    0x7f8c33427338: i32 = TargetGlobalTLSAddress<[512 x %struct.epoll_event]*
@epevt> 0 [ORD=4] [ID=16]
dbg:/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/linux/platform.c:154:12
  0x7f8c33427338: i32 = TargetGlobalTLSAddress<[512 x %struct.epoll_event]*
@epevt> 0 [ORD=4] [ID=16]
dbg:/Volumes/dev/devel/libdispatch_linux/xdispatch/libkqueue/src/linux/platform.c:154:12
In function: linux_kevent_wait
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.5.0 (tags/RELEASE_350/rc4)
Target: powerpc-unknown-linux
Thread model: posix
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/yb/mnfx7n_14xvdwy23w9f_wt9c0000gn/T/platform-0e598b.c
clang: note: diagnostic msg:
/var/folders/yb/mnfx7n_14xvdwy23w9f_wt9c0000gn/T/platform-0e598b.sh
clang: 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>