You all just need remove "stacker_rt.ll". the stacker_rt.ll is a generated file, not source. The Makefile should have a dependency on llvm-gcc for it, but doesn't. Just remove stacker_rt.ll and the problem will go away. Reid. On Sat, 2006-12-30 at 08:37 -0500, Nick Lewycky wrote:> Jim Laskey wrote: > > llvm[4]: Compiling stacker_rt.ll to stacker_rt.bc for Release build > > (bytecode) > > /Volumes/Muggles/LLVM/nightlytest/build/llvm/Release/bin/gccas: / > > Volumes/Muggles/LLVM/nightlytest/build/llvm/projects/Stacker/lib/ > > runtime/Release/stacker_rt.ll:21,0: parse error, expecting `LOAD' or > > `STORE' > > /Volumes/Muggles/LLVM/nightlytest/build/llvm/projects/Stacker/lib/ > > runtime/Release/stacker_rt.ll:21: while reading token: 's' > > I can confirm that I'm seeing this on Linux, every time I build. I just > ignore it. Presumably stacker needs to be run through llvm-upgrade? > > Nick > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
I've fixed the makefile. All you now need to do is rebuild. The stacker_rt.ll should get regenerated with correct code, assuming your llvm-gcc or llvm-g++ is up-to-date. Reid. On Sat, 2006-12-30 at 08:18 -0800, Reid Spencer wrote:> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a > generated file, not source. The Makefile should have a dependency on > llvm-gcc for it, but doesn't. Just remove stacker_rt.ll and the problem > will go away. > > Reid. > > On Sat, 2006-12-30 at 08:37 -0500, Nick Lewycky wrote: > > Jim Laskey wrote: > > > llvm[4]: Compiling stacker_rt.ll to stacker_rt.bc for Release build > > > (bytecode) > > > /Volumes/Muggles/LLVM/nightlytest/build/llvm/Release/bin/gccas: / > > > Volumes/Muggles/LLVM/nightlytest/build/llvm/projects/Stacker/lib/ > > > runtime/Release/stacker_rt.ll:21,0: parse error, expecting `LOAD' or > > > `STORE' > > > /Volumes/Muggles/LLVM/nightlytest/build/llvm/projects/Stacker/lib/ > > > runtime/Release/stacker_rt.ll:21: while reading token: 's' > > > > I can confirm that I'm seeing this on Linux, every time I build. I just > > ignore it. Presumably stacker needs to be run through llvm-upgrade? > > > > Nick > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Sat, 2006-12-30 at 11:53 -0800, Chris Lattner wrote:> On Sat, 30 Dec 2006, Reid Spencer wrote: > > You all just need remove "stacker_rt.ll". the stacker_rt.ll is a > > generated file, not source. The Makefile should have a dependency on > > llvm-gcc for it, but doesn't. Just remove stacker_rt.ll and the problem > > will go away. > > This presumably doesn't impact the testers, as they start from a clean > build every night. The testers are failing because the CFE's need to be > rebuilt so they output proper .ll files. Reid, can you change the > makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade > $@" or > the equivalent?Which makefile rule?> > -Chris >
On Sat, 30 Dec 2006, Reid Spencer wrote:> You all just need remove "stacker_rt.ll". the stacker_rt.ll is a > generated file, not source. The Makefile should have a dependency on > llvm-gcc for it, but doesn't. Just remove stacker_rt.ll and the problem > will go away.This presumably doesn't impact the testers, as they start from a clean build every night. The testers are failing because the CFE's need to be rebuilt so they output proper .ll files. Reid, can you change the makefile rule to use "llvm-gcc -S -emit-llvm -o - | llvm-upgrade > $@" or the equivalent? -Chris -- http://nondot.org/sabre/ http://llvm.org/