Displaying 10 results from an estimated 10 matches for "__gthrw".
2012 Jul 12
2
[LLVMdev] Compiling llvm and Clang on Linux
> 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
2012 Jul 13
2
[LLVMdev] Compiling llvm and Clang on Linux
...gt;
>
>
>
>
>> 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
>
>
>
2012 Jul 12
0
[LLVMdev] Compiling llvm and Clang on Linux
...Re:[LLVMdev] Compiling llvm and Clang on Linux
> 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
2012 Jul 11
5
[LLVMdev] Compiling llvm and Clang on Linux
...wed 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
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
...gt;
>
>
>
>
>> 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
>
>
>
2011 Jul 05
0
[LLVMdev] pthread problems with gcc 4.1 includes?
...6_64-unknown-linux-gnu/4.1.2/../../../../include/c++/4.1.2/x86_64-unknown-linux-gnu/bits/gthr.h:114:
/usr/local/gcc-4.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../include/c++/4.1.2/x86_64-unknown-linux-gnu/bits/gthr-default.h:88:1:
error:
weakref declaration must have internal linkage
__gthrw(pthread_once)
^
/usr/local/gcc-4.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../include/c++/4.1.2/x86_64-unknown-linux-gnu/bits/gthr-default.h:71:23:
note: instantiated from:
#define __gthrw(name) __gthrw2(__gthrw_ ## name,name,name)
^
/usr/local/gcc-4.1/lib/gcc/x86_64-u...
2012 Jul 11
0
[LLVMdev] Compiling llvm and Clang on Linux
...ry) 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
>
>
> __________...
2012 Jul 12
3
[LLVMdev] Compiling llvm and Clang on Linux
...ry) 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
>
>
> __________...
2012 Jul 12
0
[LLVMdev] Compiling llvm and Clang on Linux
Hi,
> I ran
> ../llvm/configure CC=gcc44 CXX=g++44
> make
>
> and still got the same error (I checked and CC=gcc44 and CXX=g++44 now in
> build/Makefile.config)..
is it exactly the same error? The original error referred to gcc-4.1 header
files. Does the new error still refer to gcc-4.1 header files, or is it now
talking about gcc-4.4 header files?
Ciao, Duncan.
2012 Jul 15
2
[LLVMdev] Compiling llvm and Clang on Linux
...>> 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
>>
>>
>>...