This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: visibility attribute not supported?!
- From: llewelly at xmission dot com
- To: Jeremy Kolb <jkolb at brandeis dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 18 Mar 2004 21:18:29 -0700
- Subject: Re: visibility attribute not supported?!
- References: <1079546410.23228.2.camel@glorfindel>
Jeremy Kolb <jkolb@brandeis.edu> writes:
> I'm running linux 2.6.3, gcc 3.3.3 on an amd t-bird. When I try to
> compile glibc I get a warning about the visibility attribute not being
> supported. I've tested this out with a test program that uses the
> visibility attribute and that fails as well. So glibc won't build for
> me. How do I enable the visibility attribute? I've recompiled binutils
> and gcc but I still get the same error.
First, make sure you are using fsf gcc 3.3.3 and not the derivative
shipped by your distro maker (it seems all distros hand-roll their own
gcc derivative ... don't ask me why.)
If you can still reproduce with fsf gcc, I think you should report
this as a bug. There's a similar bug
reported against 3.4-branch:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13134
but it doesn't mention 3.3.3 .