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

             Bug #: 15055
           Summary: Can no longer compile LLVM with --with-oprofile
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: build-problem
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


$ svn info | grep Revision
Revision: 173314
$ cd build
$ ../configure --prefix=/usr/local/stow/llvm-latest --enable-optimized
--enable-debug-runtime --enable-debug-symbols --disable-assertions
--enable-libffi --with-oprofile CC=gcc CXX=g++ REQUIRES_RTTI=1
$ make
[blah, blah, blah]
make[3]: Entering directory `/tmp/llvm/build/lib/ExecutionEngine/OProfileJIT'
llvm[3]: Compiling OProfileWrapper.cpp for Release+Debug build
/tmp/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp: In member
function ‘bool llvm::OProfileWrapper::checkForOProfileProcEntry()’:
/tmp/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp:141:59: error:
‘read’ was not declared in this scope
/tmp/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp:142:24: error:
‘close’ was not declared in this scope
make[3]: ***
[/tmp/llvm/build/lib/ExecutionEngine/OProfileJIT/Release+Debug/OProfileWrapper.o]
Error 1
make[3]: Leaving directory `/tmp/llvm/build/lib/ExecutionEngine/OProfileJIT'
make[2]: *** [OProfileJIT/.makeall] Error 2
make[2]: Leaving directory `/tmp/llvm/build/lib/ExecutionEngine'
make[1]: *** [ExecutionEngine/.makeall] Error 2
make[1]: Leaving directory `/tmp/llvm/build/lib'
make: *** [all] Error 1

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to