[libcxx-commits] [PATCH] D95875: [SystemZ][ZOS] Prefer -nostdlib++ as opposed to -nodefaultlibs when building c++ libraries

Zibi Sarbino via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 2 13:48:52 PST 2021


zibi added a comment.

On MINGW we need to build libunwind with -nodefaultlibs on b/c LIBUNWIND_SUPPORTS_FUNWIND_TABLES_FLAG is not set,
otherwise we issue this error:

  if (LIBUNWIND_ENABLE_SHARED AND
      NOT (LIBUNWIND_SUPPORTS_FNO_EXCEPTIONS_FLAG AND
           LIBUNWIND_SUPPORTS_FUNWIND_TABLES_FLAG))
    message(FATAL_ERROR
            "Compiler doesn't support generation of unwind tables if exception "
            "support is disabled.  Building libunwind DSO with runtime dependency "
            "on C++ ABI library is not supported.")
  endif()


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95875/new/

https://reviews.llvm.org/D95875



More information about the libcxx-commits mailing list