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

Bill Wendling isanbard at gmail.com
Wed Feb 6 11:07:49 PST 2008


On Feb 6, 2008 10:50 AM, Duncan Sands <baldrick at free.fr> wrote:
> > > 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
>
Yes. :-( Sorry about that. I claim that it was late when I made the
patch. ;-) Anyway, I corrected my logic. Try it now.

-bw



More information about the llvm-dev mailing list