Created attachment 496408 [details] build log emerge -pqv '=dev-lisp/gcl-2.6.10::gentoo' [ebuild N ] dev-lisp/gcl-2.6.10 USE="X ansi readline -athena -emacs -tk"
Created attachment 496410 [details] emerge --info Also note that the build log is truncated to fit the filesize limit (real size 1.8 MB)
Building with -std=gnu89 or -fgnu89-inline gets past these linker errors, but then a new error is produced: Compiling GCL_PCL_FIN... Compiling /var/tmp/portage/dev-lisp/gcl-2.6.10/work/gcl/unixport/../pcl/gcl_pcl_fin.lisp. End of Pass 1. End of Pass 2. OPTIMIZE levels: Safety=1 (No runtime error checking), Space=0, Speed=3 Finished compiling /var/tmp/portage/dev-lisp/gcl-2.6.10/work/gcl/unixport/../pcl/gcl_pcl_fin.o. Loading binary of GCL_PCL_FIN... Loading /var/tmp/portage/dev-lisp/gcl-2.6.10/work/gcl/unixport/../pcl/gcl_pcl_fin.o Error: This file was dumped with FASD version 0 not 2. Fast links are on: do (si::use-fast-links nil) for debugging Error signalled by OR. Broken at OR. Type :H for Help. >>make[1]: *** [makefile:36: gcl_pcl_boot.c] Error 255 make[1]: Leaving directory '/var/tmp/portage/dev-lisp/gcl-2.6.10/work/gcl/pcl' make: *** [makefile:83: unixport/saved_pcl_gcl] Error 2
*** Bug 652800 has been marked as a duplicate of this bug. ***
Check bug #683256, I have uploaded ebuild for gcl-2.6.13_pre90 which works for me. Building w/ -fgnu89-inline causes errors "multiple definition" during linking. Note that it is commented out in my ebuild.
I no longer have a Gentoo system with which to test. You can change the status of this bug as you like.