[LLVMbugs] [Bug 11258] ARM-Linux: compilation of llvm-2.9 fails: SPUISelDAGToDAG.cpp:222:60: error: 'SelectCode' was not declared in this scope

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 1 13:34:17 PDT 2011


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER

--- Comment #6 from Anton Korobeynikov <asl at math.spbu.ru> 2011-11-01 15:34:17 CDT ---
(In reply to comment #5)
> I got compilation working with:
> CC=/opt/gcc-4.6/bin/gcc CPP=/opt/gcc-4.6/bin/cpp CXX=/opt/gcc-4.6/bin/g++
> ../configure --prefix=/opt/llvm --with-optimize-option=-O0
Ok. Your gcc is broken then.

> ./Fibonacci
> [same code than amd64]
> starting fibonacci(24) with JIT...
> LLVM ERROR: Not supported instr: %SP<def> = LDMIA_RET %SP, pred:13,
> pred:%CPSR<kill>, %R4<def>, %R5<def>, %R11<def>, %PC<def>, %R0<imp-use,kill>,
> %R4<imp-use,kill>
> ./HowToUseJIT
> [same code than amd64]
> Running foo: LLVM ERROR: Not supported instr: %SP<def> = LDMIA_RET %SP,
> pred:14, pred:%noreg, %R11<def>, %PC<def>, %R0<imp-use>
ARM JIT is well-known to be broken. Migration to MCJIT is WIP. There are enough
PRs for this already.

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