[LLVMdev] strange visibility error when compiling llvm-gcc-4.2
Duncan Sands
baldrick at free.fr
Wed Feb 6 10:50:16 PST 2008
> > 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++
>
> I am seeing the same errors with just building c,c++. (linux x86, also debian)
This bit of Bill's patch did it:
-#ifdef HAVE_GAS_HIDDEN
+
+#if !defined(ENABLE_LLVM) && defined(HAVE_GAS_HIDDEN)
fprintf (asm_out_file, "\t.%s\t", type);
assemble_name (asm_out_file, name);
fprintf (asm_out_file, "\n");
#else
warning (OPT_Wattributes, "visibility attribute not supported "
"in this configuration; ignored");
#endif
More information about the llvm-dev
mailing list