search for: __gthrw_pthread_once

Displaying 5 results from an estimated 5 matches for "__gthrw_pthread_once".

2012 Aug 09
2
[LLVMdev] Compiling std::string with clang
.../gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/x86_64-redhat-linux/bits/gthr.h:132: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/x86_64-redhat-linux/bits/gthr-default.h:100:68: error: weakref declaration must have internal linkage extern __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once"))); In one of the development phorums, I found somebody saying that LLVM does not support gcc 4.1 libraries. Is that true? If yes, which libraries should I use, in case I would like to use llvm 2.9? Regards, Dmitry Dmitry Pidan Eme...
2011 Jan 04
2
[LLVMdev] LLVM for ARM target
...pected `=', `,', `;', `asm' or `__a ttribute__' before `__gthread_recursive_mutex_t' ../../llvm-gcc/gcc/gthr-posix.h:92: error: `pthread_once' undeclared here (not i n a function) ../../llvm-gcc/gcc/gthr-posix.h:92: warning: type defaults to `int' in declarati on of `__gthrw_pthread_once' ../../llvm-gcc/gcc/gthr-posix.h:93: error: `pthread_getspecific' undeclared here (not in a function) ../../llvm-gcc/gcc/gthr-posix.h:93: warning: type defaults to `int' in declarati on of `__gthrw_pthread_getspecific' ../../llvm-gcc/gcc/gthr-posix.h:94: error: `pthread_setspecific&...
2011 Jan 02
0
[LLVMdev] LLVM for ARM target
On Jan 1, 2011, at 8:29 PM, akramul azim wrote: > Hi, > I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te): > > 1. Install binutils-2.21 (downloaded from gnu.org) > > Steps: > > $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix > =/llvm/arm
2011 Jan 02
3
[LLVMdev] LLVM for ARM target
Hi,     I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te):   1. Install binutils-2.21 (downloaded from gnu.org)   Steps:   $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix =/llvm/arm --with-sysroot=/llvm/arms/sys-root   $ make   $ make install   2. Install LLVM   Steps   $ ../llvm-src/configure
2010 May 20
3
Install eventmachine on Debian Lenny
...de/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:117: error: invalid type in declaration before ‘;’ token /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: In function ‘int __gthread_once(__gthread_once_t*, void (*)())’: /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:653: error: ‘__gthrw_pthread_once’ cannot be used as a function /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h: At global scope: /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: error: ‘__gthread_key_create’ declared as an ‘inline’ variable /usr/include/c++/4.3/x86_64-linux-gnu/bits/gthr-default.h:659: erro...