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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tobias Burnus from comment #2)
> Created attachment 49239 [details]
> Draft patch
> 
> PTX ISA Notes
> .alias directive introduced in PTX ISA 6.3.
> 
> Thus, it does not work everywhere :-(
> 
> Patch – I did bump '.version' - but that probably has more side effects than
> desirable.

This patch does manage to complete a build, but tests (both standalone and
libgomp) using alias fail with "unresolved symbol".  This is because it calls
write_fn_proto which generates a linker marker for the alias, which makes the
linker think there's such a function, and when it cannot find it, it generates
an "unresolved symbol" error.

Reply via email to