[LLVMdev] Compiling llvm and Clang on Linux
Konstantin Tokarev
annulen at yandex.ru
Thu Jul 12 07:09:25 PDT 2012
> Yes, it is the same error referring to 4.1.2.
>
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c+
> +/4.1.2/i386-redhat-linux/bits/gthr-default.h:114:1: error: weakref
> declaration must have internal
> linkage
> __gthrw(pthread_key_delete)
>
> There are several such errors.
Are you sure you are usin gcc44? Don't you need to run CC=gcc44 CXX=g++44 ../llvm/configure instead?
--
Regards,
Konstantin
More information about the llvm-dev
mailing list