PPC64 build fails


For some time (~1 week) openSUSE PPC64 build fails in stage2:

[16837s] llvm[2]: Compiling MachineInstr.cpp for Release build
[16876s] /tmp/MachineInstr-9gNnJs.s: Assembler messages:
[16876s] /tmp/MachineInstr-9gNnJs.s:179: Error: invalid register operand when updating
[16876s] clang: error: assembler command failed with exit code 1 (use -v to see invocation)
[16876s] make[2]: *** [/home/abuild/rpmbuild/BUILD/llvm/stage2/lib/CodeGen/Release/MachineInstr.o] Error 1
[16876s] make[2]: Leaving directory /home/abuild/rpmbuild/BUILD/llvm/stage2/lib/CodeGen' [16876s] make[1]: *** [CodeGen/.makeall] Error 2 [16876s] make[1]: Leaving directory /home/abuild/rpmbuild/BUILD/llvm/stage2/lib’
[16876s] make: *** [all] Error 1
[16877s] error: Bad exit status from /var/tmp/rpm-tmp.mKmiOL (%build)

Note that stage1 clang is the building compiler here.


Please make a bug report with reduced source (MachineInstr.cpp).

Reported http://llvm.org/bugs/show_bug.cgi?id=15031 , not reduced but I’ll see what can be done.

I'd suggested you to use creduce: