This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: gcc and -fvisibility=hidden



On Sunday 30 April 2006 00:16, Robert Lippmann wrote:
> i've built gcc 3.4.5 and i'm using it for distcc. unfortunately, my first
> test case is firefox. it seems to set -fvisibility=hidden and other
> visibility options. trying to compile anything with this option results in
> gcc reporting it as an unknown option (on both my sparc and cygwin built
> toolchains). gcc on my gentoo box has no problem with this.


visibility support in vanilla gcc-3.4.x is pretty broken ... Gentoo has a
bunch of patches (from Fedora i think) to fix a lot of issues, but really
your best bet is to use like gcc-4.1.0
-mike


thanks for the info, mike.


unfortunately, i'm using distcc as a compile farm for my gentoo box, and gentoo uses 3.4.5, so i can't really switch to 4.x.

will file a bug in gentoo, to either get the flags removed, or to at least post the workaround (ie, don't distcc it).

-- rob



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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