Hi,all<br><br>I tried to run the generated whole-program bitcode of BIND,but I got some information:<br><br>0 lli 0x0000000000feda16<br>1 lli 0x0000000000fed88f<br>2 libpthread.so.0 0x0000003df340eee0<br>
3 libc.so.6 0x0000003df28332f5 gsignal + 53<br>4 libc.so.6 0x0000003df2834b20 abort + 384<br>5 libc.so.6 0x0000003df282c2fa __assert_fail + 234<br>6 lli 0x000000000085ece9 llvm::SmallVectorImpl<llvm::Instruction*>::operator[](unsigned int) + 77<br>
7 lli 0x0000000000850ce0 llvm::BitcodeReader::ParseMetadataAttachment() + 448<br>8 lli 0x0000000000851043 llvm::BitcodeReader::ParseFunctionBody(llvm::Function*) + 677<br>9 lli 0x0000000000854b29 llvm::BitcodeReader::materializeFunction(llvm::Function*, std::string*) + 323<br>
10 lli 0x0000000000c6a073 llvm::JIT::getPointerToFunction(llvm::Function*) + 421<br>11 lli 0x0000000000c68ae6 llvm::JIT::runFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&) + 120<br>
12 lli 0x0000000000c91b25 llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*, std::vector<std::string, std::allocator<std::string> > const&, char const* const*) + 1091<br>13 lli 0x00000000008448ea main + 1841<br>
14 libc.so.6 0x0000003df281ea2d __libc_start_main + 253<br>15 lli 0x0000000000843fd9<br><br><br>Does it mean that there is something wrong with my libpthread.so????<br><br>I tried this:<br><br>llvm-ld test.o -lpthread<br>
<br>the system told me that "Cannot find the library libpthread.so" ,which is just in /usr/lib64<br><br>What's the problem??<br><br>Thanks<br><br>Nan<br>