http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #3 from River Tarnell <river+gcc at tamara dot tcx.org.uk> 2010-11-29 22:58:37 UTC --- Okay, so the problem seems to be that objdump (from binutils) wasn't in $PATH when GCC was built, which makes configure mis-detect 'as' as not supporting .hidden when it actually does. I rebuilt GCC with objdump, and the test case now works fine. However: * The configure test should probably be more reliable; or, * If that's not possible, then if .hidden is not detected, the resulting compiler should still produce correct data (i.e. -fvisibility=hidden should really be ignored)