[flang-commits] [PATCH] D158957: [flang][runtime] Avoid dependency on libc++ for `std::__libcpp_verbose_abort`
Markus Mützel via Phabricator via flang-commits
flang-commits at lists.llvm.org
Sun Sep 3 04:56:38 PDT 2023
mmuetzel added a comment.
Re-set my build environment and finally managed to get to that point locally.
Replacing `common::visit` with `std::visit` in `IoStatementState::get_if` doesn't make a difference for me. Still the same error when trying to link to the FortranRuntime:
ld.lld: error: undefined symbol: std::__1::__libcpp_verbose_abort(char const*, ...)
>>> referenced by libFortranRuntime.a(io-api.cpp.obj):(std::__1::__throw_bad_variant_access[abi:v170000]())
>>> referenced by libFortranRuntime.a(io-stmt.cpp.obj)
>>> referenced by libFortranRuntime.a(unit.cpp.obj)
flang: error: linker command failed with exit code 1 (use -v to see invocation)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158957/new/
https://reviews.llvm.org/D158957
More information about the flang-commits
mailing list