Displaying 2 results from an estimated 2 matches for "__thread1".
Did you mean:
  __thread
  
2012 Sep 29
1
[LLVMdev] pthread_equal multiply defined in .bc files
...*.bc -o BARNES.bc
Then I get this error:
llvm-link: link error in 'code_io.o': Linking globals named 'pthread_equal': symbol multiply defined!
After using llvm-dis to get the llvm assembly code, I found that in every .bc, pthread_equal is defined:
define i32 @pthread_equal(i32 %__thread1, i32 %__thread2) nounwind readnone inlinehint {
entry:
  %cmp = icmp eq i32 %__thread1, %__thread2
  %conv = zext i1 %cmp to i32
  ret i32 %conv
}
That results multiple definitions of the same function and the linkage error.
NOTE: The above compile and link method works for single C file program....
2004 Aug 06
1
Compile errors
...39; declared as function returning a function
/usr/include/pthread.h:166: parse error before `void'
/usr/include/pthread.h:169: parse error before `pthread_self'
/usr/include/pthread.h:169: warning: data definition has no type or storage class
/usr/include/pthread.h:172: parse error before `__thread1'
/usr/include/pthread.h:181: parse error before `__th'
/usr/include/pthread.h:187: parse error before `__th'
/usr/include/pthread.h:195: parse error before `*'
/usr/include/pthread.h:198: parse error before `*'
/usr/include/pthread.h:201: parse error before `*'
/usr/include/...