When I try to compile the olden bc's off the webpage I am getting
undefined symbols. My compile script works as follows:
#!/bin/sh
echo "Generating assembly file."
llc -f $1.bc
echo "Assembling s file."
/opt/SUNWspro/bin/cc -xarch=v9 -lm $1.s -o $1
echo "Removing s file."
rm $1.s
and here is an example of the symbol issues:
Undefined first referenced
symbol in file
NumNodes Olden-bh.o
nbody Olden-bh.o
For each bmk, the undefined symbols are coming from args.c as far as I can
tell. Do I need to link in args.c's bc file for each of them or am I
doing something terribly wrong?
For each bmk, the undefined symbols are coming from args.c as far as I can
tell. Do I need to link in args.c's bc file for each of them or am I
doing something terribly wrong?
These benchmarks were compile a long time ago in a galaxy far far away.
In this galaxy, uninitialized globals (int X;) were handled differently,
so how these old bytecode files aren't useful anymore.
If you recompile the bytecode files now, (go into each directory and type
'make final' they should be ok. Perhaps someone can do this and post the
results for everyone to use...
-Chris
../llvm/test/Programs/MultiSource/Olden-bh|% gmake final
gmake: *** No rule to make target `Output/bh.llvm', needed by `final'. Stop.
Any ideas?
> If you recompile the bytecode files now, (go into each directory and type
> 'make final' they should be ok. Perhaps someone can do this and post the
> results for everyone to use...
../llvm/test/Programs/MultiSource/Olden-bh|% gmake final
gmake: *** No rule to make target `Output/bh.llvm', needed by `final'. Stop.
You probably need to build opt, link, or one of the other tools.
-Chris
I put up what I could compile here: http://tank.cs.uiuc.edu/Olden/
However, I could not get mst to compile:
% make final
dis: bytecode didn't read correctly.
gmake: *** [Output/mst.linked.rll] Error 1
So if anyone can get an up-to-date version of mst and wants to share,
please speak up.
I put up what I could compile here: http://tank.cs.uiuc.edu/Olden/
Disregarding the self-quote and whatever I said previously, mst compiles
and all the Olden benchmarks can be found above.