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

Bug 639898

Summary: sci-mathematics/maxima-5.41.0 with dev-lisp/sbcl-1.4.2 - src_compile(): Condition in FUNCALL [or a callee]: INTERNAL-SIMPLE-ERROR: The assertion !fprintf(stderr,"Unrelocated non-local symbol: %s\n",st1+sym->st_name) on line 237 of sfaslelf.c in functio...
Product: Gentoo Linux Reporter: Vincent-Xavier JUMEL <endymion+gentoo>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal CC: bugs.gentoo.org.list, o.freyermuth, slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 645954    
Bug Blocks: 642232    
Attachments: emerge --info
build.log

Description Vincent-Xavier JUMEL 2017-12-05 10:48:56 UTC
Maxima fails to build with latest sbcl
Comment 1 Vincent-Xavier JUMEL 2017-12-05 10:50:39 UTC
Created attachment 508232 [details]
emerge --info
Comment 2 Vincent-Xavier JUMEL 2017-12-05 10:51:28 UTC
Created attachment 508234 [details]
build.log
Comment 3 Andrey Grozin gentoo-dev 2017-12-06 10:15:41 UTC
It seems that the 17.0 profile is designed to break everything related to lisp. I don't want to switch to it before those who proposed it fix all they have broken.
Comment 4 Vincent-Xavier JUMEL 2017-12-06 19:31:55 UTC

I'm trying every single version of SBCL in tree and the all failed. Seems to have a -no-pie flag to be set about this : https://sourceforge.net/p/sbcl/sbcl/ci/3403dbaffc0a9bab49b78cf0bb5308cce0a0c153/
Comment 5 Vincent-Xavier JUMEL 2017-12-08 09:44:44 UTC
Specifically about maxima, it builds fine with and only with ecls.
Comment 6 Andrey Grozin gentoo-dev 2017-12-08 13:46:05 UTC
(In reply to Vincent-Xavier JUMEL from comment #5)
> Specifically about maxima, it builds fine with and only with ecls.
For me, it builds fine with 6 lisps on ~x86

grozin@elrond ~ $ maxima --list-avail
Available versions:
version 5.41.0, lisp cmucl
version 5.41.0, lisp ecl
version 5.41.0, lisp clisp
version 5.41.0, lisp gcl
version 5.41.0, lisp sbcl
version 5.41.0, lisp openmcl

On ~amd64 cmucl is not available:

grozin@dns ~ $ maxima --list-avail
Available versions:
version 5.41.0, lisp ecl
version 5.41.0, lisp gcl
version 5.41.0, lisp clisp
version 5.41.0, lisp sbcl
version 5.41.0, lisp openmcl

No unexpected errors in run_testsuite(); on all 6 lisps.

If the 17.0 profile breaks all of this, I'm not going to switch.
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2018-12-12 22:04:56 UTC
(In reply to Vincent-Xavier JUMEL from comment #4)
> 
> I'm trying every single version of SBCL in tree and the all failed. Seems to
> have a -no-pie flag to be set about this :
> https://sourceforge.net/p/sbcl/sbcl/ci/
> 3403dbaffc0a9bab49b78cf0bb5308cce0a0c153/

This patch is upstream since sbcl-1.3.14. Gentoo has 1.3.21 pending stable: bug #645954. Is it good enough to fix the issue? Or should be more bugs filed for other lisp implementations on 17.0 profile?
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2019-06-02 17:41:03 UTC
Closing as resolved as bug #645954 is fixed and maxima[sbcl] works here on amd64/17.0 profile. Let's sort rest of implementation failures in individual bugs.