https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712
--- Comment #4 from Carlos Galvez <carlosgalvezp at gmail dot com> --- > Does libcudart_static.a by chance contain any symbols from the libgcc runtime I'm not sure, do you know how I could check that (I'm pretty n00b on these things :)). What I know is that libcudart.so does not have a dependency to neither libstdc++.so nor libgcc_s.so, only to libc, libdl, libpthread, librt. > This could also point to a bug with the GOLD linker. Indeed switching to BFD also solves the problem. I will try with LLD as well!