[LLVMdev] pthread?
yue
qiangyue at ict.ac.cn
Tue Dec 23 23:44:01 PST 2003
hi,
I compile a pthread program using llvmgcc, but when i run pthread.ll, it
show:
------------------
[yue at RH9 test]$ llvmgcc pthread.c -o pthread.ll
[yue at RH9 test]$ ls
pthread pthread.c pthread.ll pthread.ll.bc
[yue at RH9 test]$ ./pthread.ll
Creating thread 0
WARNING: Cannot resolve fn 'pthread_create' using a dummy noop function
instead!
ERROR; return code from pthread_create() is -1073745164
[yue at RH9 test]$
--------------------
how to solve the problem?
yueqiang
2003/12/24
More information about the llvm-dev
mailing list