[llvm-bugs] [Bug 40821] New: Headers/arm-fp16-header.c & Headers/arm-neon-header.c tests fail on ppc64

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 22 08:32:36 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40821

            Bug ID: 40821
           Summary: Headers/arm-fp16-header.c & Headers/arm-neon-header.c
                    tests fail on ppc64
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Created attachment 21505
  --> https://bugs.llvm.org/attachment.cgi?id=21505&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190222/0e3f6f3b/attachment.html>


More information about the llvm-bugs mailing list