[llvm-bugs] [Bug 51174] New: error __float128 not supported on P9 when building OpenMP

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 22 19:10:52 PDT 2021


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

            Bug ID: 51174
           Summary: error __float128 not supported on P9 when building
                    OpenMP
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: xw111luoye at gmail.com
                CC: llvm-bugs at lists.llvm.org

On Summit, RHEL P9 little endian.

When build OPENMP as runtime, Clang complains about __float128 whe building
archer and libomptarget.


In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/tools/archer/ompt-tsan.cpp:17:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/algorithm:60:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/utility:70:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55:
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39:
error: __float128 is not supported on this target
    struct __is_floating_point_helper<__float128>
                                      ^
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/plugins/common/elf_common/elf_common.cpp:12:
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/plugins/common/elf_common/elf_common.h:16:
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/include/omptargetplugin.h:17:
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/include/omptarget.h:17:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/deque:60:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55:
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39:
error: __float128 is not supported on this target
    struct __is_floating_point_helper<__float128>
                                      ^
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/src/api.cpp:13:
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/libomptarget/src/device.h:18:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/list:60:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_algobase.h:64:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55:
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39:
error: __float128 is not supported on this target
    struct __is_floating_point_helper<__float128>
                                      ^
In file included from
/ccs/home/yeluo/opt/llvm-clang/llvm-project/openmp/tools/archer/ompt-tsan.cpp:17:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/algorithm:60:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/utility:70:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/stl_pair.h:59:
In file included from
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/bits/move.h:55:
/sw/summit/gcc/8.1.1/lib/gcc/powerpc64le-unknown-linux-gnu/8.1.1/../../../../include/c++/8.1.1/type_traits:347:39:
error: __float128 is not supported on this target
    struct __is_floating_point_helper<__float128>
                                      ^

-- 
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/20210723/b169a5ce/attachment.html>


More information about the llvm-bugs mailing list