[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 21 08:05:53 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |redi at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah.  For this exact case even just libsupc++.a would be enough, but I bet for
other cases we can't away without libstdc++.  Would be nice if it could be
configured in some embed-ish way to make it smaller, stuff like std::filesystem
on the offloading target is unlikely to be useful etc.
Exceptions aren't supported either, are they.  And I think at least in OpenMP
5.2 that is allowed, throwing an exception in offloading region may be treated
like #pragma omp error at(runtime) severity(fatal).


More information about the Gcc-bugs mailing list