Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 632014

Summary: dev-lisp/gcl: ebuild failed: "multiple definition" and "undefined reference"
Product: Gentoo Linux Reporter: Max Rees <maxcrees>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: UNCONFIRMED ---    
Severity: normal CC: sam, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=683256
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Max Rees 2017-09-25 20:07:43 UTC
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"
Comment 1 Max Rees 2017-09-25 20:08:34 UTC
Created attachment 496410 [details]
emerge --info

Also note that the build log is truncated to fit the filesize limit (real size 1.8 MB)
Comment 2 Max Rees 2017-09-26 20:48:17 UTC
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
Comment 3 Cyprien Nicolas (fulax) 2019-09-14 13:03:31 UTC
*** Bug 652800 has been marked as a duplicate of this bug. ***
Comment 4 Petr Zima 2020-04-02 19:21:02 UTC
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.
Comment 5 Max Rees 2020-04-02 19:54:43 UTC
I no longer have a Gentoo system with which to test. You can change the status of this bug as you like.