<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 - libunwind fails to build on s390x"
href="https://bugs.llvm.org/show_bug.cgi?id=50655">50655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libunwind fails to build on s390x
</td>
</tr>
<tr>
<th>Product</th>
<td>Runtime Libraries
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>libunwind
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>danglingpointer@outlook.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>libunwind (version 11 onwards) fails to build on s390x system with the
following error:
<span class="quote">> [ 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</span ></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>