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: unassignedb...@nondot.org
Reporter: danglingpoin...@outlook.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs