This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: visibility attribute not supported?!


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 .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]