Hi, Two days ago, the test suite started failing. Initially there were hundreds of failing tests; now only seven remain. They appear to be related to SystemZ. Here's the last failed test: ******************** FAIL: LLVM :: MC/Disassembler/SystemZ/unmapped.txt (11484 of 14435) ******************** TEST 'LLVM :: MC/Disassembler/SystemZ/unmapped.txt' FAILED ******************** Script: -- /home/myself/workspace/LLVM/build/Release+Asserts/bin/llvm-mc --disassemble /home/myself/workspace/LLVM/llvm/test/MC/Disassembler/SystemZ/unmapped.txt -triple=s390x-linux-gnu 2>&1 | /home/myself/workspace/LLVM/build/Release+Asserts/bin/FileCheck /home/myself/workspace/LLVM/llvm/test/MC/Disassembler/SystemZ/unmapped.txt -- Exit Code: 1 Command Output (stderr): -- /home/myself/workspace/LLVM/llvm/test/MC/Disassembler/SystemZ/unmapped.txt:5:10: error: expected string not found in input # CHECK: warning: invalid instruction encoding ^ <stdin>:1:1: note: scanning from here error: no disassembler for target s390x--linux-gnu ^ <stdin>:1:28: note: possible intended match here error: no disassembler for target s390x--linux-gnu ^ -- ******************** Testing Time: 38.36s ******************** Failing Tests (7): LLVM :: MC/Disassembler/SystemZ/insns-pcrel.txt LLVM :: MC/Disassembler/SystemZ/insns.txt LLVM :: MC/Disassembler/SystemZ/invalid-regs.txt LLVM :: MC/Disassembler/SystemZ/trunc-01.txt LLVM :: MC/Disassembler/SystemZ/trunc-02.txt LLVM :: MC/Disassembler/SystemZ/trunc-03.txt LLVM :: MC/Disassembler/SystemZ/unmapped.txt Expected Passes : 14241 Expected Failures : 78 Unsupported Tests : 109 Unexpected Failures: 7 $ svn info ../llvm/ Path: ../llvm URL: http://llvm.org/svn/llvm-project/llvm/trunk Repository Root: http://llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 181990 Node Kind: directory Schedule: normal Last Changed Author: rafael Last Changed Rev: 181982 Last Changed Date: 2013-05-16 06:59:17 +0200 (Thu, 16 May 2013) (this is this morning's checkout) "s390x--linux-gnu" seems wrong: either there's a dash too many or a word too few. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds
On 16 May 2013 09:01, Csaba Raduly <rcsaba at gmail.com> wrote:> "s390x--linux-gnu" seems wrong: either there's a dash too many or a > word too few. >Nope, this triple is correct. The canonicalization of the triple (actually a quadruple) always print all fields, empty or not. I'm not sure what's going on, though. How are you building this? Is your repository clean? After "make clean", do you get the same error? cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130516/834bc8e5/attachment.html>
On Thu, May 16, 2013 at 11:30 AM, Renato Golin <renato.golin at linaro.org> wrote:> On 16 May 2013 09:01, Csaba Raduly <rcsaba at gmail.com> wrote: >> >> "s390x--linux-gnu" seems wrong: either there's a dash too many or a >> word too few. > > > Nope, this triple is correct. The canonicalization of the triple (actually a > quadruple) always print all fields, empty or not. > > I'm not sure what's going on, though. How are you building this? Is your > repository clean? After "make clean", do you get the same error?Yes, same error after "make clean all check-all". This is a configure build (I usually run "make happiness" each morning) on Ubuntu LTS 12.04 with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) It was working fine three days ago. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds
Csaba Raduly <rcsaba at gmail.com> wrote:> error: no disassembler for target s390x--linux-gnuThe SystemZ disassembler was only recently added. To process major changes to the source tree like the addition of a completely new component, it seems to be necessary to explicitly re-run configure (or sometimes even remove the build directory completely and start from scratch). I've seen similar problems in the past (e.g. when the PowerPC assembler was added, or when the SystemZ target itself was added). For some reason, a simple "make" or "make clean" does not appear to detect that it needs to re-run configure. Can you try doing this manually on your build system? Bye, Ulrich
On 16 May 2013 12:39, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:> For some reason, a simple "make" or "make clean" does not appear to detect > that it needs to re-run configure. Can you try doing this manually on your > build system? >Yes! Like we did in the ARM buildbot. Though, our problem was a compilation error, I'll not be surprised if a fresh build directory fixes everything. cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130516/06eeb66a/attachment.html>
On Thu, May 16, 2013 at 1:39 PM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:> Csaba Raduly <rcsaba at gmail.com> wrote: > >> error: no disassembler for target s390x--linux-gnu > > The SystemZ disassembler was only recently added. To process major changes > to the source tree like the addition of a completely new component, it > seems to be necessary to explicitly re-run configure (or sometimes even > remove the build directory completely and start from scratch). I've seen > similar problems in the past (e.g. when the PowerPC assembler was added, or > when the SystemZ target itself was added). > > For some reason, a simple "make" or "make clean" does not appear to detect > that it needs to re-run configure. Can you try doing this manually on your > build system?Thanks, that fixed it. I re-ran configure and then "make happiness" passed. A "make clean" was not necessary. Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds