search for: code_io

Displaying 2 results from an estimated 2 matches for "code_io".

2008 Jun 04
0
Compile error on CentOS 4.6
...gcc -c -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare -Wendif-labels code.c m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/null_macros/c.m4.null code_io.C > code_io.c gcc -c -O3 -pthread -D_POSIX_C_SOURCE=200112 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wdisabled-optimization -Wpadded -Winline -Wpointer-arith -Wsign-compare -Wendif-labels code_io.c m4 -s -Ulen -Uindex /mnt/hgfs/CentOS-4.6-i386_Shared/splash2/codes/n...
2012 Sep 29
1
[LLVMdev] pthread_equal multiply defined in .bc files
...t;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 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 e...