The binutils manual for ld suggests using this syntax to define a symbol explicitly in base-version: __asm__(".symver original_foo,foo@"); __asm__(".symver new_foo,foo@@VERS2"); but code compiled with this syntax is rejected by gold as the version "" is undefined. I'm attaching a patch to solve the issue, which ensures that the base version is registered for the "" version. Thanks, Diego
Bad submit. *** This bug has been marked as a duplicate of bug 12261 ***