http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #3 from River Tarnell
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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #2 from River Tarnell
2010-11-29 21:33:17 UTC ---
It was not:
hemlock% grep HAVE_GAS_HIDDEN auto-host.h
/* #undef HAVE_GAS_HIDDEN */
Relevant extract from config.log:
configure:21227: checking assembler for .hidden
configure:21242
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
Summary: -fvisibility=hidden generates broken code
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c
AssignedTo: unassig...@gc