[LLVMbugs] [Bug 1873] New: ERROR: Program used external function 'stat' which could not be resolved!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 18 13:29:00 PST 2007


http://llvm.org/bugs/show_bug.cgi?id=1873

           Summary: ERROR: Program used external function 'stat' which could
                    not be resolved!
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I get this when running the JIT:

/home/edwin/llvm-svn/llvm/Release/bin/lli -force-interpreter=false
--disable-core-files  Output/clamscan.llvm.bc --debug --no-summary -ddbdir -r
inputs/*
ERROR: Program used external function 'stat' which could not be resolved!
/home/edwin/llvm-svn/llvm/Release/bin/lli[0x8cc51b]
/lib/libc.so.6[0x3508432040]
/lib/libc.so.6(gsignal+0x35)[0x3508431fd5]
/lib/libc.so.6(abort+0x110)[0x3508433a30]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::JIT::getPointerToNamedFunction(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)+0xf1)[0x5e0c71]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::JIT::getPointerToFunction(llvm::Function*)+0xe1)[0x5e1fb1]
/home/edwin/llvm-svn/llvm/Release/bin/lli[0x5e37b0]
/home/edwin/llvm-svn/llvm/Release/bin/lli[0x5e43f8]
/home/edwin/llvm-svn/llvm/Release/bin/lli[0x4af0be]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x2c)[0x5c06dc]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x231)[0x87a351]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0xdc)[0x87a83c]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::FunctionPassManager::run(llvm::Function&)+0x30)[0x87a990]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::JIT::runJITOnFunction(llvm::Function*)+0x38)[0x5e0d68]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::JIT::getPointerToFunction(llvm::Function*)+0x12d)[0x5e1ffd]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::JIT::runFunction(llvm::Function*,
std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> >
const&)+0x4c)[0x5e104c]
/home/edwin/llvm-svn/llvm/Release/bin/lli(llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, char const*
const*)+0x382)[0x5eaf92]
/home/edwin/llvm-svn/llvm/Release/bin/lli(main+0x233)[0x4a5463]
/lib/libc.so.6(__libc_start_main+0xf4)[0x350841e1c4]
/home/edwin/llvm-svn/llvm/Release/bin/lli(sinh+0x49)[0x4a4919]
Aborted

Trying to get a bugpoint reduced bytecode ...


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list