http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-11-29 21:28:31 UTC --- HAVE_GAS_HIDDEN should have been defined as far as I can tell. #ifdef HAVE_GAS_HIDDEN .... #else warning (OPT_Wattributes, "visibility attribute not supported " "in this configuration; ignored"); #endif Otherwise default_binds_local_p_1 does not have the correct checks around the checks for visibility.