[LLVMdev] Compiling llvm and Clang on Linux

Joey Gouly joel.gouly at gmail.com
Wed Jul 11 04:33:00 PDT 2012


Hi,

According to http://llvm.org/docs/GettingStarted.html#brokengcc FCC 4.1.2
is broken on RedHat. You might have to upgrade your version there.
On Jul 11, 2012 11:46 AM, "Sitvanit Ruah" <RUAH at il.ibm.com> wrote:

>
> Hello all,
> I am new to this mailing list so I hope this is the right place to post the
> following question.
>
> We are considering using Clang front end for our tool. I tried to compile
> LLVM
> (using configure followed by  make from the llvm top directory) on LINUX
> X86 with gcc 4.1.2.
>
>  I got several compilation error messages of the form
>
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c+
> +/4.1.2/i386-redhat-linux/bits/gthr-default.h:117:1: error:
>       weakref declaration must have internal linkage
> __gthrw(pthread_mutexattr_destroy)
>
> Could you guide me on how to resolve these errors?
> I downloaded the sources from the web page (not from SVN).
> Thanks,
> Sitvanit
>
>
> Sitvanit Ruah
> Formal Verification Group
> IBM Haifa Research Laboratory
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120711/6cf51552/attachment.html>


More information about the llvm-dev mailing list