[LLVMdev] 'make check' failed with: ... PHI node entries donot match predece

Misha Brukman brukman at cs.uiuc.edu
Mon Jun 20 11:37:32 PDT 2005


On Mon, Jun 20, 2005 at 08:29:04PM +0200, Henrik Bach wrote:
> Hi Reid,
> Now, I've removed the file and updated the source tree with this command:
> cvs -z3 -d :pserver:anon at llvm-cvs.cs.uiuc.edu:/var/cvs/llvm update -PdR llvm
> However, the file still exits.
 
Henrik,

Please read what Reid wrote (there's a mouthful. ;)

You updated your LLVM tree, but Reid asked you to update your llvm-gcc
source tree, because it has the fix for the regression test he
mentioned.

If you just deleted the regression test and cvs update re-added it,
that's the correct CVS behavior, but you didn't fix your llvm-gcc.
 
> >From: Reid Spencer
> >Date: Mon, 20 Jun 2005 10:57:54 -0700
> >
> >Hi Henrik,
> >
> >You don't have the latest C/C++ Front End Source code. Please update
> >from CVS to get the fix for the 2005-06-15-ExpandGotoInternalProblem.c
> >test. Note the date of the test (5 days ago).
> >
> >Reid.
> >
> >On Mon, 2005-06-20 at 18:42 +0200, Henrik Bach wrote:
> >> Hi,
> >>
> >> Now, I've build the tools and the cfe. However, 'make check' gave me the
> >> attached results. Summarized as follows:
> >>
> >> # of expected passes		1081
> >> # of unexpected failures	26
> >> # of expected failures		32
> >>
> >> I configured llvm with following options: '--prefix=/home/hb/llvm/
> >> --enable-targets=host-only'. I used gcc version 3.4.2 to build the tools 
> >and
> >> cfe. The cfe is version: llvm-gcc (GCC) 3.4-llvm 20030924 
> >(experimental).
> >>
> >> Especially I noticed this one:
> >> --------------------
> >> FAIL:
> >> 
> >/home/hb/projects/src/llvm-1/llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c:
> >> PHI node entries do not match predecessors!
> >> 	%shortcirc_val = phi bool [ true, %no_exit ], [ %tmp.7, 
> >%shortcirc_next
> >> ]		; <bool> [#uses=1]
> >> label %no_exit
> >> label <badref>
> >> Broken module found, compilation aborted!
> >> gccas((anonymous namespace)::PrintStackTrace()+0x1f)[0x82b8c3f]
> >> /lib/tls/libc.so.6(abort+0x1d2)[0x363302]
> >> gccas((anonymous namespace)::Verifier::abortIfBroken()+0x196)[0x8235fb6]
> >> 
> >gccas(llvm::PassManagerTraits<llvm::Function>::runOnFunction(llvm::Function&)+0x17)[0x82201d7]
> >> Output/2005-06-15-ExpandGotoInternalProblem.c.out.script: line 1:  5013 
> >Done
> >>
> >> 
> >PATH="/home/hb/projects/build/FC1/llvm-1-1/Debug/bin:/home/hb/projects/build/FC1/llvm-1-1/Release/bin:/home/hb/llvm/bin:/home/hb/bin:/home/hb/projects/CMHTREE/PLT/BASH.PLT:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin"
> >> "/home/hb/llvm/bin/llvm-gcc" -std=c99
> >> 
> >/home/hb/projects/src/llvm-1/llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c
> >> -S -o -
> >>       5015 Aborted                 | gccas -o /dev/null
> >> --------------------
> >>
> >> What went wrong in my build/test? I assume that the other errors are ok, 
> >due
> >> to I've only had build for the host-only architechture:
> >> --------------------
> >> uname -a
> >> Linux fc1s050612 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686
> >> i686 i386 GNU/Linux
> >>
> >> Henrik
> >>
> >> =============================================================
> >> Henrik Bach
> >> LLVM Open Source Developer
> >>
> >> e-mail: henrik_bach_llvm at hotmail.com
> >> =============================================================
> >> 'Nothing is impossible; The impossible just takes longer time :)'
> >> - Inventor of a new energy saver light bulp from Denmark.
> >>
> >> Got Freedom?
> >> Software Freedom Day - 10th of september
> >> http://www.softwarefreedomday.org/
> >> =============================================================
> >>
> >> _________________________________________________________________
> >> Log p MSN Messenger direkte fra nettet  http://webmessenger.msn.com/
> >> _______________________________________________
> >> LLVM Developers mailing list
> >> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> >> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> ><< signature.asc >>
> >_______________________________________________
> >LLVM Developers mailing list
> >LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> >http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> _________________________________________________________________
> Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-dev mailing list