[libc-commits] [PATCH] D153683: [libc][math] Implement erff function correctly rounded to all rounding modes.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Jul 4 22:08:58 PDT 2023
lntue added a comment.
In D153683#4471115 <https://reviews.llvm.org/D153683#4471115>, @zimmermann6 wrote:
> I'm not sure this is related to this ticket, but I cannot compile main any more under Ubuntu:
>
> In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/specfun.h:50:
> /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/tr1/ell_integral.tcc:709:14: error: no member named '__throw_domain_error' in namespace 'std'; did you mean '__throw_runtime_error'?
> std::__throw_domain_error(__N("Bad argument in __ellint_3."));
> ~~~~~^
> /usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/functexcept.h:131:3: note: '__throw_runtime_error' declared here
> __throw_runtime_error(const char*)
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
>
> It seems clang-14 depends on libstdc++-12-dev, but uses features from libstdc++-13-dev...
@zimmermann6 :
I don't think it's related to this patch at all, but recently I had problems building with clang on ubuntu also. I found out the root cause for my problems was that after an update,
clang and clang++ versions were mismatched and some dependency were missing. After running apt install / update clang and clang++, the problems went away. You can try to see if it works on your system.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153683/new/
https://reviews.llvm.org/D153683
More information about the libc-commits
mailing list