https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Keywords| |openmp
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-10-08
--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> I think this is a dup of bug 96835.
One would assume so, but it's not; there's something else (additional) going on
here. As Prathamesh noted, the current GCC/nvptx '-malias' is not sufficient
to make this one work:
(In reply to prathamesh3492 from comment #0)
> Compiling with -O0 -fopenmp -foffload=nvptx-none -foffload=-malias
> -foffload=-mptx=6.3, results in following error:
>
> ptxas ./a.xnvptx-none.mkoffload.o, line 45; error : Call to
> '_ZN1VILi0EEC1Ev' requires call prototype
> ptxas ./a.xnvptx-none.mkoffload.o, line 45; error : Unknown symbol
> '_ZN1VILi0EEC1Ev'
> ptxas fatal : Ptx assembly aborted due to errors
> nvptx-as: ptxas returned 255 exit status