Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216871 - sbcl-1.0.15 cannot be emerged on prefix portage
Summary: sbcl-1.0.15 cannot be emerged on prefix portage
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 14:03 UTC by Rabbe Fogelholm
Modified: 2008-05-13 18:34 UTC (History)
2 users (show)

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


Attachments
applies to ${S}/src/runtime/x86-assem.S (sbcl-binutils.patch,285 bytes, patch)
2008-04-09 22:53 UTC, Jeremy Olexa (darkside) (RETIRED)
Details | Diff
patch applies to sbcl-1.0.15.ebuild (sbcl-1.0.15.ebuild.patch,408 bytes, text/plain)
2008-04-09 22:59 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2008-04-08 14:03:26 UTC
Emerging sbcl on Linux x86 prefix portage fails. The following is seen in the console log:

cc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -c -o x86-linux-os.o x86-linux-os.c
cc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -c -o gencgc.o gencgc.c
cc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -c -o x86-assem.o x86-assem.S
x86-assem.S: Assembler messages:
x86-assem.S:133: Error: suffix or operands invalid for `fnstsw'
make: *** [x86-assem.o] Error 1
make: Leaving directory `/local/scratch/portage/dev-lisp/sbcl-1.0.15/work/sbcl-1.0.15/src/runtime'
 * ERROR: dev-lisp/sbcl-1.0.15 failed:
 *   make failed
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2445:     env - HOME="${T}" PATH="${bindir}/src/runtime:${PATH}" SBCL_HOME="${bindir}/output" GNUMAKE=make ./make.sh "sbcl --sysinit /dev/null --userinit /dev/null	--disable-debugger --core ${bindir}/output/sbcl.core" || die "make failed";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * build log: '/local/scratch/portage/dev-lisp/sbcl-1.0.15/temp/build.log'
 * ebuild environment: '/local/scratch/portage/dev-lisp/sbcl-1.0.15/temp/environment'
 * S: '/local/scratch/portage/dev-lisp/sbcl-1.0.15/work/sbcl-1.0.15'


An attempt was done to mask some recent versions of sbcl, causing 1.0.9 to be emerged. This did not help; the same error occurs.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-04-09 22:51:49 UTC
I fixed this issue. Please use the patch that I will upload here in a sec. 

From [1]:
"Starting from the 2.18.50.0.4 release, the x86 assembler no longer
accepts

        fnstsw %eax

fnstsw stores 16bit into %ax and the upper 16bit of %eax is unchanged.
Please use

        fnstsw %ax 
"

[1]: http://www.nabble.com/The-Linux-binutils-2.18.50.0.4-is-released-td15360254.html
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-04-09 22:53:08 UTC
Created attachment 149251 [details, diff]
applies to ${S}/src/runtime/x86-assem.S
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-04-09 22:59:15 UTC
Created attachment 149253 [details]
patch applies to sbcl-1.0.15.ebuild

@grobian: This one needs to be assigned to the common-lisp herd. I believe they should fix this..yes?
Comment 4 Fabian Groffen gentoo-dev 2008-04-10 07:13:21 UTC
adding common-lisp to CC, we're probably the first to see it since we don't have stable keywords ;)
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2008-04-10 08:52:00 UTC
patch sent upstream
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-13 18:34:30 UTC
Fixed in r21842, closing bug. Patch sent upstream (comment #5) so resolving as UPSTREAM.