Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121830 - sbcl 0.9.X doesn't emerge on PPC for me
Summary: sbcl 0.9.X doesn't emerge on PPC for me
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 06:59 UTC by Chris Austin-Lane
Modified: 2006-03-03 09:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Austin-Lane 2006-02-06 06:59:51 UTC
source forge compiles fine for me (but then I lack the CL integration Matthew's added, and non-gentoo asdf can't find cl-base64 for somereason, which I need for cl-smtp :)

Portage error:

; SYS:SRC;PCL;COMPILER-SUPPORT.FASL.NEWEST written
; compilation finished in 0:00:01
; compiling file "/var/tmp/portage/sbcl-0.9.9/work/sbcl-0.9.9/src/pcl/low.lisp" (written 21 SEP 2005 11:01:1\
4 AM):
; compiling (IN-PACKAGE "SB-PCL")Entry point 409e003c
fatal error encountered in SBCL pid 22811:
GC invariant lost, file "gc-common.c", line 352

(I can email you my gc-common.c if you want, it looks like it is generated by the compile).  The line is:

        gc_assert_verbose(is_lisp_pointer(entry_point), "Entry point %lx\n",
                          (long)entry_point);

in function scav_code_header

Not a stack space problem, I think, which I have had with SBCL in the past: 

lanstin bin # ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 1024
max locked memory       (kbytes, -l) 128
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 65535
cpu time               (seconds, -t) unlimited
max user processes              (-u) 2048
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


lanstin bin # emerge --info
Portage 2.0.54 (default-linux/ppc/2004.3, gcc-3.4.4-vanilla, glibc-2.3.5-r3, 2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 7400, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -fno-strict-aliasing -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fno-strict-aliasing -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks keeptemp keepwork nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X Xaw3d aim alsa altivec amd apache2 audiofile berkdb bitmap-fonts blas bzip2 cdr crypt cups curl debug disablexmb doc droproot dvd dvdr eds emacs emacs-w3 emboss encode esd ethereal evo expat f77 fam fbcon font-server fortran freedts gb gd gdbm gif ginac gnome gpm gtk gtk2 gtkhtml guile hardened hardenedphp icq idn imagemagick imlib innodb ipv6 java jpeg junit kde lcms ldb leim libwww mhash mime mng motif mozilla moznocompose moznomail mozplaintext mozsvg mp3 mpeg mysql mysqli ncurses nethack nls oav objc offensive ogg oggvorbis opengl openssh oscar pam pcre pdflib perl php pic pie png posix ppds python qt quicktime rage128 readline rtc ruby samba sdl sftplogging sharedmem sheep slang sockets spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb utf8 vim-with-x vorbis xml2 xmlrpc xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Chris Austin-Lane 2006-02-06 07:53:07 UTC
I forgot to mention that the output below is from an attempt with 0.9.9
Comment 2 Chris Austin-Lane 2006-02-07 14:37:02 UTC
The problem is the LDB option - /var/tmp/portage/sbcl-0.9.9 builds fine without it and sourceforge fails with it.  Another PPC limitation (on top of threads).
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2006-02-07 22:37:49 UTC
Hi Chris, does this imply if you disable ldb in USE, sbcl builds on your PPC?
Comment 4 Chris Austin-Lane 2006-02-08 15:19:06 UTC
Yes, that was my next experiment - taking out LDB (which I had in there in case I get time to investigate debugging the generational GC on PPC - ha ha) from the USE flags, and it emerges fine.  Might as well close the bug :)
Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2006-02-08 21:35:22 UTC
Before I close this bug, I'll change the ebuild to not enable ldb when the arch is ppc and also check the other arch requirements.  
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-03 09:15:35 UTC
In sbcl-0.9.10.ebuild I added a check for ldb w/ PPC.