https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117010
--- Comment #6 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Thanks for having a look. In other words, you don't have an explanation off hand, why "weak" and "comdat" get lost in the GCN offloading path? GCN (ELF) does support all these things (to the best of my knowledge). (Let's ignore nvptx for this moment.) I'll thus analyze offload stream-out, stream-in etc.