[LLVMdev] strange visibility error when compiling llvm-gcc-4.2

Eric Christopher
Wed, 06 Feb 2008 17:41:23 -0000

>>
>> I suspect this is due to the recent change by Bill (revision 46747).
>
> Bill's change only affected darwin IIRC.  I don't know that anyone
has
> built GOMP on linux yet, and OpenMP hasn't been widely tested at all.
> I'd suggest using --enable-languages=c,c++

This looks like something is broken on the gcc side of things. Does a
simple:

void
__attribute__((visibility ("hidden")))
foo()
{ }

compile with your resultant compiler?

-eric