llvm3.0 => build failure under Linux MIPS & MIPSEL

Hello,

In order to have llvm-3.0 into Debian Wheezy, I have to fix a last build
failure under MIPS & MIPSEL.

The full mipsel build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=llvm-3.0&arch=mipsel&ver=3.0-5&stamp=1324350511
[1]

The error is the following:
/build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/build-llvm/Release/bin/llvm-tblgen -I /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/lib/Target/X86 -I /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/include -I /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/include -I /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/lib/Target -gen-disassembler -o /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/build-llvm/lib/Target/X86/Release/X86GenDisassemblerTables.inc.tmp /build/buildd-llvm-3.0_3.0-5-mipsel-jV6EnH/llvm-3.0-3.0/lib/Target/X86/X86.td
Error: Primary decode conflict: ADC16ri would overwrite ADC16mi
ModRM 201
Opcode 129
Context IC_OPSIZE
Error: Primary decode conflict: ADC16ri would overwrite ADC16mi
[pages of similar errors]

Any ideas? I am available for testing.

LLVM 2.9 was building fine [2].

Thanks,
Sylvestre

[1] Please note that mips log is available here:
https://buildd.debian.org/status/fetch.php?pkg=llvm-3.0&arch=mips&ver=3.0-5&stamp=1324342896
but since it is a parallel build, it is pretty boring to read.

[2]
https://buildd.debian.org/status/fetch.php?pkg=llvm-2.9&arch=mipsel&ver=2.9%2Bdfsg-4&stamp=1321878156

PS: Please C/C me, I am not subscribed.

Hello Sylvestre

In order to have llvm-3.0 into Debian Wheezy, I have to fix a last build
failure under MIPS & MIPSEL.

What if you provide -O0 to the compiler?

Actually, that wasn't need.
A rebuild fixed the issue. The error I had was probably due to an issue
in an underlying dependency...

Sorry about the noise.
Sylvestre