[llvm-bugs] [Bug 50655] New: libunwind fails to build on s390x

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 10 05:25:51 PDT 2021


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

            Bug ID: 50655
           Summary: libunwind fails to build on s390x
           Product: Runtime Libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libunwind
          Assignee: unassignedbugs at nondot.org
          Reporter: danglingpointer at outlook.com
                CC: llvm-bugs at lists.llvm.org

libunwind (version 11 onwards) fails to build on s390x system with the
following error:


> [  5%] Building CXX object src/CMakeFiles/unwind_static.dir/libunwind.cpp.o
> [ 11%] Building CXX object src/CMakeFiles/unwind_static.dir/Unwind-EHABI.cpp.o
> [ 16%] Building CXX object src/CMakeFiles/unwind_static.dir/Unwind-seh.cpp.o
> [ 22%] Building C object src/CMakeFiles/unwind_static.dir/UnwindLevel1.c.o
> make[2]: Entering directory '/builds/kasperk81/aports/community/llvm-libunwind/src/libunwind-11.1.0.src/build'
> cc1: warning: command-line option '-nostdinc++' is valid for C++/ObjC++ but not for C
> cc1: warning: command-line option '-Wmismatched-tags' is valid for C++/ObjC++ but not for C
> cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
> [ 27%] Building CXX object src/CMakeFiles/unwind_shared.dir/Unwind-EHABI.cpp.o
> In file included from /builds/kasperk81/aports/community/llvm-libunwind/src/libunwind-11.1.0.src/include/libunwind.h:16,
>                  from /builds/kasperk81/aports/community/llvm-libunwind
> /src/libunwind-11.1.0.src/src/libunwind.cpp:12:
> /builds/kasperk81/aports/community/llvm-libunwind/src/libunwind-11.1.0.src/include/__libunwind_config.h:139:4: error: #error "Unsupported architecture."
>  139 | #  error "Unsupported architecture."
>      |    ^~~~~
> In file included from /builds/kasperk81/aports/community/llvm-libunwind/src/libunwind-11.1.0.src/src/Unwind-EHABI.h:13,
>                 from /builds/kasperk81/aports/community/llvm-libunwind

-- 
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/20210610/f8f1331f/attachment.html>


More information about the llvm-bugs mailing list