Displaying 1 result from an estimated 1 matches for "pthread_equal".
2012 Sep 29
1
[LLVMdev] pthread_equal multiply defined in .bc files
Hi,
When I tried to use the latest version of LLVM tools (clang as the frontend) to compile and link a project with multiple c files, it appears that each of the generated .bc file contains a definition of pthread_equal, resulting llvm-link failure with error message "multiply symbols defined". I tried but did not get any answer on the web. So I turn to you for help.
Here is the command lines that I use to compile and link the files:
clang -O2 -emit-llvm -c *.c -o *.bc;
llvm-link *.bc -o BARNES.bc
T...