It's -r 641 that builds fine and likely 642 that broke it with: ++# This was necessary at one point to get it to build, but seems to have outlived its purpose. ++# bind.o: bind.c ++# $(CC) $(INCLUDES) $(CPPFLAGS) $(ARCH_CFLAGS) -c -o bind.o $(topdir)/bind.c
hnhn Adriaan de Groot wrote: > On Thursday 16 April 2009 19:12:49 Jan Hnatek wrote: >> pkgbuild: ld: fatal: relocation error: R_386_GOTOFF: file bind.o: symbol >> .CG17.2409: a GOT relative relocation must reference a local symbol > > Can you check .. dang, what can you check. You could roll readline back to > the > "impure" version and check if that still builds. That would be r. > 831a8b63da41. There was a quite peculiar patch (readline-Makefile.3.diff) > that > changed the compile flags for bind.o *only* which failed for me -- and I > didn't hit any compile error after removing the hack. You could try re- > instating the hack (the two lines that add a comment in the Makefile) and > seeing what that does -- but getting %ARCH_CFLAGS into the build might be > tricky. > > Sorry to affect you like that. -- Jan Hnatek jan.hnatek at sun.com
