<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 - Headers/arm-fp16-header.c & Headers/arm-neon-header.c tests fail on ppc64"
   href="https://bugs.llvm.org/show_bug.cgi?id=40821">40821</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Headers/arm-fp16-header.c & Headers/arm-neon-header.c tests fail on ppc64
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21505" name="attach_21505" title="clang-8.0.0_rc2_20190222-115204.log.xz">attachment 21505</a> <a href="attachment.cgi?id=21505&action=edit" title="clang-8.0.0_rc2_20190222-115204.log.xz">[details]</a></span>
clang-8.0.0_rc2_20190222-115204.log.xz

Proxying a bug reported by Gentoo ppc64 user.

Failing Tests (2):
    Clang :: Headers/arm-fp16-header.c
    Clang :: Headers/arm-neon-header.c

Apparently the tests somehow depend on glibc having 32-bit stubs (?) on non-ARM
platforms.  I'm pasting the most relevant error below, and attaching a full
build log.


Command Output (stderr):
--
+ : 'RUN: at line 1'
+
/var/tmp/portage/sys-devel/clang-8.0.0_rc2/work/x/y/cfe-8.0.0rc2.src-abi_ppc_64.ppc64/bin/clang
-fsyntax-only -ffreestanding --target=aarch64-none-eabi -march=armv8.2-a+fp16
-std=c89 -xc
/var/tmp/portage/sys-devel/clang-8.0.0_rc2/work/x/y/cfe-8.0.0rc2.src/test/Headers/arm-fp16-header.c
In file included from
/var/tmp/portage/sys-devel/clang-8.0.0_rc2/work/x/y/cfe-8.0.0rc2.src/test/Headers/arm-fp16-header.c:19:
In file included from
/var/tmp/portage/sys-devel/clang-8.0.0_rc2/work/x/y/cfe-8.0.0rc2.src-abi_ppc_64.ppc64/bin/../../../../lib/clang/8.0.0/include/arm_fp16.h:27:
In file included from /usr/include/stdint.h:26:
In file included from /usr/include/bits/libc-header-start.h:33:
In file included from /usr/include/features.h:452:
/usr/include/gnu/stubs.h:8:11: fatal error: 'gnu/stubs-32.h' file not found
# include <gnu/stubs-32.h>
          ^~~~~~~~~~~~~~~~
1 error generated.</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>