gcc and -fvisibility=hidden
Sun Apr 30 07:11:00 GMT 2006
>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
> > test case is firefox. it seems to set -fvisibility=hidden and other
> > visibility options. trying to compile anything with this option results
> > 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
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).
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc