http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #7 from River Tarnell 2011-01-29
23:09:23 UTC ---
I don't agree that this is invalid. If objdump is not found, GCC should either
generate an error and fail during build, or continue to build but generate
correct code, albeit without
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
--- Comment #6 from Yuri 2011-01-29 20:07:34 UTC ---
Thanks!
You can change the warning message to be a bit more proactive:
"visibility attribute not supported in this configuration (as during
configuration wasn't from binutils?); ignored"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46713
Andrew Pinski changed:
What|Removed |Added
CC||yuri at tsoft dot com
--- Comment #4 from
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
--- Comment #1 from Andrew Pinski 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