<div dir="ltr">In addition to the issues mentioned in this thread, I'd also like to ask if it would be possible to fix these two bugs as well:<div><a href="https://bugs.llvm.org/show_bug.cgi?id=43604">https://bugs.llvm.org/show_bug.cgi?id=43604</a> (maybe unique to Debian packages)<br></div><div><a href="https://bugs.llvm.org/show_bug.cgi?id=46321">https://bugs.llvm.org/show_bug.cgi?id=46321</a><br></div><div><br></div><div>Both of these are fixable exclusively by passing flags to CMake during the build, no source changes are needed here. Homebrew packages for Linux have fixed them now, but it'd be really great for the Linux distribution packages to have these fixes too.</div><div><br></div><div>I believe the only thing needed is to add the following to the `RUNTIMES_CMAKE_ARGS` list:</div><div> -DCMAKE_POSITION_INDEPENDENT_CODE=ON<br> -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON<br> -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF<br> -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON<br> -DLIBCXX_USE_COMPILER_RT=ON<br> -DLIBCXXABI_USE_COMPILER_RT=ON<br> -DLIBCXXABI_USE_LLVM_UNWINDER=ON</div><div><br></div><div>(Technically, the last three are not strictly necessary, but without them the installed libc++ and libc++abi libraries may fail due to missing features in libgcc_s on some Linux platforms and it seems both easy and beneficial to avoid this.)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 26, 2021 at 12:15 AM Tom Stellard via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I've tagged the 12.0.1-rc1 release. Testers may upload binaries and report results.<br>
<br>
-Tom<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>