On Monday 28 April 2008 14:51:29 [EMAIL PROTECTED] wrote: > The attached patch fixes a breakage in the build on linux-ppc with jit. > Without it, "make" aborts while trying to link libparrot.so with > > cc -o miniparrot src/main.o \ > -Wl,-rpath=/home/victor/src/perl6/parrot/blib/lib > -L/home/victor/src/perl6/parrot/blib/lib -lparrot -ldl -lm -lpthread > -lcrypt -lrt -lgmp -lreadline -lglut -lGLU -lGL -lcrypto > -L/usr/local/lib -Wl,-E src/null_config.o > /home/victor/src/perl6/parrot/blib/lib/libparrot.so: undefined reference > to `offset_fixup' > > A change in the declaration of offset_fixup from void to static void > appears to have caused this. It's been a long time since I've done any > C programming (decades in fact) so go easy. I can include the myconfig > if requested. This fixes the build for me, but ymmv. I've included a > mysimilar change for ARM on the theory that the declarations are the > same there and may well be similarly broken. I'm not subscribed to the > list, so replies should go to my email rather than the list.
This looks correct to me (and I think I'm the one who broke it). Thanks, applied as r27248. -- c