[LLVMbugs] [Bug 15055] New: Can no longer compile LLVM with --with-oprofile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 23 17:55:36 PST 2013


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: unassignedbugs at nondot.org
        ReportedBy: scott+llvm+bugzilla at pakin.org
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list