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

Eric Christopher echristo at apple.com
Wed Feb 6 09:41:23 PST 2008


>>
>> 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



More information about the llvm-dev mailing list