Trying to build maxima, but fails on x86_64 during its configure stage checking
clisp runtime is "/usr/lib64/clisp/base/lisp.run"
/usr/lib/gcl-2.6.7/unixport/saved_ansi_gcl: relocation error:
/usr/lib/gcl-2.6.7/unixport/saved_ansi_gcl: symbol personality, version
GLIBC_2.2.5 not defined in file libc.so.6 with link time reference
configure: error: unable to run gcl executable "gcl".
error: Bad exit status from /var/tmp/rpm-tmp.10829 (%build)
Full failed build.log:
Now, I'm not sure this is necessarily gcl's fault, because I see the last change
to gcl was made on Aug 14 (according to changelog), but I had a successful
maxima build very recently (a couple of days ago):
and it too used gcl-2.6.7-15.fc8.x86_64
Any ideas what's going on here?
maybe glibc? it was updated Aug 25, and included in its changelog (x86_64-related):
- readd x86_64 gettimeofday stuff, initialize it earlier
maybe try rebuilding gcl?
Tried rebuilding gcl, and now it fails:
cp init_pre_gcl.lsp.in init_pre_gcl.lsp.tmp
gcc -o raw_pre_gcl \
-L. -Wl,-Map raw_pre_gcl_map -lpre_gcl -lm -lgmp
/usr/lib64/libbfd.a /usr/lib64/libiberty.a -lreadline -lncurses
-lncurses -lc -lgclp
./libpre_gcl.a(main.o): In function `main':
/builddir/build/BUILD/gcl-2.6.7/o/main.c:132: undefined reference to `personality'
/builddir/build/BUILD/gcl-2.6.7/o/main.c:135: undefined reference to `personality'
collect2: ld returned 1 exit status
make: *** [raw_pre_gcl_map] Error 1
make: Leaving directory `/builddir/build/BUILD/gcl-2.6.7/unixport'
make: *** [unixport/saved_pre_gcl] Error 2
This is due to hack to change personality, something to do with executable heap
(randomized address), I think. The personality function is in
/usr/include/sys/personality.h. Probably something changed with the libc?
Should be fixed in glibc-2.6.90-13.