Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC
Bug 632014 - dev-lisp/gcl: ebuild failed: "multiple definition" and "undefined reference"
Summary: dev-lisp/gcl: ebuild failed: "multiple definition" and "undefined reference"
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
: 652800 (view as bug list)
Depends on:
Reported: 2017-09-25 20:07 UTC by Max Rees
Modified: 2020-04-02 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build log (build.log,976.56 KB, text/x-log)
2017-09-25 20:07 UTC, Max Rees
emerge --info (info.txt,5.50 KB, text/plain)
2017-09-25 20:08 UTC, Max Rees

Note You need to log in before you can comment on or make changes to this bug.
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.