https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89856
--- Comment #6 from Oliver Rosten <oliver.rosten at googlemail dot com> --- If you're sure. The only thing which gives me pause for thought is that the problem I see with source_location only occurs when I also see ld: warning: direct access to global weak symbol means the weak symbol cannot be overridden at runtime This is the only time I've ever come across this in my code...