http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58990
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The issue is simple, GCC is generating the correct assembly. The problem is C++ defines extern inline differently from GNU C90 and more like C99's extern inline. We had a way to fix up the header files for this specific issue but it looks like it is not happening for your version of glibc or rather the fixed up headers are not being used as the package installer did not do that which means this is a bug in your distro's binary package and should be reported to them.