[LLVMbugs] [Bug 9610] New: Compilation of LLVM trunk using trunk of Clang/LLVM fails on Mac/PPC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 2 11:31:46 PDT 2011


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

           Summary: Compilation of LLVM trunk using trunk of Clang/LLVM
                    fails on Mac/PPC
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: annulen at yandex.ru
                CC: llvmbugs at cs.uiuc.edu


Compilation fails on llvm/lib/Support/APFloat.cpp with error message:

Assertion failed: (getOperand(0)->getType() ==
cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a
pointer to Val type!"), function AssertOK, file
/Volumes/Development/projects/git/llvm/lib/VMCore/Instructions.cpp, line 961.
0  clang             0x0163e58c raise + 92
1  clang             0x0163f734 llvm::sys::RunInterruptHandlers() + 1428
2  libSystem.B.dylib 0x904139fc _sigtramp + 68
Stack dump:
0.      Program arguments:
/Volumes/Development/projects/git/llvm-build/Release+Asserts/bin/clang -cc1
-triple powerpc-apple-darwin9 -S -disable-free -main-file-name APFloat.cpp
-pic-level 2 -mdisable-fp-elim -target-linker-version 85.2.1 -resource-dir
/Volumes/Development/projects/git/llvm-build/Release+Asserts/bin/../lib/clang/3.0
-D _DEBUG -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I
/usr/include/c++/4.0.0/powerpc-apple-darwin9 -I
/Volumes/Development/projects/git/llvm-build-cmake/lib/Support -I
/Volumes/Development/projects/git/llvm/lib/Support -I
/Volumes/Development/projects/git/llvm-build-cmake/include -I
/Volumes/Development/projects/git/llvm/include -ferror-limit 19
-fmessage-length 130 -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o
/var/folders/ou/ouRUeF5YEvqb1BpK4zt+1E+++TQ/-Tmp-/cc-BOYpl0.s -x c++
/Volumes/Development/projects/git/llvm/lib/Support/APFloat.cpp 
1.      /Volumes/Development/projects/git/llvm/lib/Support/APFloat.cpp:677:1:
current parser token 'APFloat'
2.      /Volumes/Development/projects/git/llvm/lib/Support/APFloat.cpp:630:15:
LLVM IR generation of declaration 'llvm::APFloat::makeNaN'
3.      /Volumes/Development/projects/git/llvm/lib/Support/APFloat.cpp:630:15:
Generating code for declaration 'llvm::APFloat::makeNaN'

-- 
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