https://sourceware.org/bugzilla/show_bug.cgi?id=26978
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Fangrui Song from comment #2) > > Correct behavior. Otherwise, we will get > > This is a surprising behavior. Normally, STB_GLOBAL wins over STB_WEAK. Did > you argue that in the case of @ and @@ definitions, the rule "@@ wins over > @" taking precedence? > > I would think the two bits are independent. global foo@v1 + weak foo@@v1 => > global foo@@v1. If we allow this to link, weak foo@@v1 will be in .dynsym which overrides the non-weak foo@v1. -- You are receiving this mail because: You are on the CC list for the bug.