Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477536 - dev-lisp/sbcl-1.1.8 and sbcl-1.1.9 fails to emerge in a 32Bit virtual machine (virtualbox-4.2.16), it hangs or fails with SegFault /var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/src/runtime/sbcl --noinform --core /var/tmp/portage/dev-lisp/sbcl-1.1.9
Summary: dev-lisp/sbcl-1.1.8 and sbcl-1.1.9 fails to emerge in a 32Bit virtual machine...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Panagiotis Christopoulos (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-20 22:45 UTC by Juergen Rose
Modified: 2023-11-17 12:26 UTC (History)
4 users (show)

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


Attachments
bzip2ed /var/tmp/portage/dev-lisp/sbcl-1.1.8/temp/build.log (build.log.bz2,292.19 KB, application/x-bzip2)
2013-07-20 22:45 UTC, Juergen Rose
Details
bzip2ed /var/tmp/portage/dev-lisp/sbcl-1.1.9/temp/build.log (build.log.bz2,288.39 KB, application/x-bzip2)
2013-07-28 06:33 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-07-20 22:45:06 UTC
Created attachment 353738 [details]
bzip2ed /var/tmp/portage/dev-lisp/sbcl-1.1.8/temp/build.log

I have a 4GB Dual Core T8300 @ 2.40GHz system.

root@lynx:/root(16)# head /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz
stepping        : 6
microcode       : 0x60f
cpu MHz         : 800.000
cache size      : 3072 KB

In this system I run a virtual machine with one core and 1.9GB RAM:

root@lynxvirt:/usr/local/portage(37)# head /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz
stepping	: 6
cpu MHz		: 2395.117
cache size	: 3072 KB
fdiv_bug	: no
f00f_bug	: no
root@lynxvirt:/usr/local/portage(38)# head /proc/meminfo 
MemTotal:        1924220 kB
MemFree:         1228220 kB
Buffers:          232392 kB
Cached:           355496 kB
SwapCached:            0 kB
Active:           290676 kB
Inactive:         317620 kB
Active(anon):      20504 kB
Inactive(anon):      344 kB
Active(file):     270172 kB

Normally the emerge times in the guest systems are two or three times higher than in the host system:

root@lynxvirt:/usr/local/portage(39)#  genlop -t gcc | tail
 * sys-devel/gcc

     Mon Jul 15 21:22:38 2013 >>> sys-devel/gcc-4.7.3
       merge time: 2 hours, 12 minutes and 43 seconds.

     Tue Jul 16 21:22:07 2013 >>> sys-devel/gcc-4.7.3
       merge time: 2 hours, 22 minutes and 53 seconds.

root@lynxvirt:/usr/local/portage(41)#  genlop -t emacs | tail

     Tue Jul 16 17:21:21 2013 >>> app-editors/emacs-24.3-r2
       merge time: 9 minutes and 7 seconds.

     Wed Jul 17 11:38:02 2013 >>> app-editors/emacs-24.3-r2
       merge time: 10 minutes and 3 seconds.

root@lynxvirt:/usr/local/portage(42)#  genlop -t doxygen | tail
 * app-doc/doxygen

     Wed Jul 17 03:28:34 2013 >>> app-doc/doxygen-1.8.4-r2
       merge time: 4 minutes and 53 seconds.

root@lynxvirt:/usr/local/portage(44)#  genlop -t ghostscript-gpl | tail
 * app-text/ghostscript-gpl

     Tue Jul 16 15:16:07 2013 >>> app-text/ghostscript-gpl-9.07
       merge time: 13 minutes and 32 seconds.

root@lynxvirt:/usr/local/portage(45)#  genlop -t poppler | tail
 * app-text/poppler

     Tue Jul 16 15:02:35 2013 >>> app-text/poppler-0.22.5
       merge time: 3 minutes and 38 seconds.

     Wed Jul 17 00:48:37 2013 >>> app-text/poppler-0.22.5
       merge time: 4 minutes and 1 second.







root@lynx:/root(18)# genlop -t gcc | tail

     Tue Apr 23 18:54:56 2013 >>> sys-devel/gcc-4.6.4
       merge time: 1 hour, 21 minutes and 16 seconds.

     Wed May 15 14:49:57 2013 >>> sys-devel/gcc-4.7.3
       merge time: 1 hour, 23 minutes and 3 seconds.

     Wed May 15 16:11:30 2013 >>> sys-devel/gcc-4.6.4
       merge time: 1 hour, 21 minutes and 33 seconds.

root@lynx:/root(20)# genlop -t emacs | tail

     Sun Mar 31 17:26:49 2013 >>> app-editors/emacs-24.3-r1
       merge time: 3 minutes and 21 seconds.

     Tue Apr 16 13:10:46 2013 >>> app-editors/emacs-24.3-r1
       merge time: 3 minutes and 39 seconds.

     Fri May 24 14:24:57 2013 >>> app-editors/emacs-24.3-r2
       merge time: 3 minutes and 49 seconds.

root@lynx:/root(21)# genlop -t ghostscript-gpl | tail

     Mon Mar  4 18:56:24 2013 >>> app-text/ghostscript-gpl-9.06
       merge time: 6 minutes and 31 seconds.

     Thu May  9 11:43:18 2013 >>> app-text/ghostscript-gpl-9.06
       merge time: 6 minutes and 31 seconds.

     Sun Jun  9 12:14:33 2013 >>> app-text/ghostscript-gpl-9.07
       merge time: 7 minutes and 3 seconds.

root@lynx:/root(22)# genlop -t poppler | tail

     Tue May 14 12:55:20 2013 >>> app-text/poppler-0.22.4
       merge time: 1 minute and 49 seconds.

     Sat Jun  8 13:16:10 2013 >>> app-text/poppler-0.22.4
       merge time: 1 minute and 57 seconds.

     Tue Jun 18 08:44:22 2013 >>> app-text/poppler-0.22.5
       merge time: 1 minute and 52 seconds.


In the host system I need 8 minutes to emerge sbcl-1.1.8. At the guest system
'emerge sbcl' is working several hours at least 5, maybe ten hours until it crashes. During this time I see a slow but almost continous increase of the size of the folder under /var/tmp/portage/dev-lisp/sbcl-1.1.8/work/.

'emerge sbcl' fails with:
...
    47   0.6                   "foreign function maybe_gc" [28]
     0   0.0     47   0.6   "foreign function funcall0" [27]
    47   0.6                   "foreign function call_into_lisp" [5]
------------------------------------------------------------------------
    47   0.6                   "foreign function interrupt_handle_pending" [21]
     0   0.0     47   0.6   "foreign function maybe_gc" [28]
    47   0.6                   "foreign function funcall0" [27]
------------------------------------------------------------------------


           Self        Total        Cumul
  Nr  Count     %  Count     %  Count     %    Calls  Function
------------------------------------------------------------------------
   1   6180  85.0   6180  85.0   6180  85.0        -  SB-SPROF::CONSALOT
   2    826  11.4    826  11.4   7006  96.3        -  "foreign function __kernel_vsyscall"
   3    195   2.7    195   2.7   7201  99.0        -  SB-VM::ALLOC-SIGNED-BIGNUM-IN-EAX
   4     25   0.3     25   0.3   7226  99.4        -  (FLET #:CLEANUP-FUN-499 :IN SB-THREAD::CALL-WITH-SYSTEM-MUTEX/WITHOUT-GCING)
   5     22   0.3     47   0.6   7248  99.7        -  "foreign function call_into_lisp"
   6     21   0.3     24   0.3   7269  99.9        -  GET-UNIVERSAL-TIME
   7      2   0.0      2   0.0   7271 100.0        -  SB-KERNEL:TWO-ARG-+
   8      1   0.0   7273 100.0   7272 100.0        -  SB-SPROF::CONSING-TEST
   9      1   0.0      1   0.0   7273 100.0        -  SB-BIGNUM:ADD-BIGNUMS
  10      0   0.0   7273 100.0   7273 100.0        -  SB-INT:SIMPLE-EVAL-IN-LEXENV
  11      0   0.0   7273 100.0   7273 100.0        -  EVAL-TLF
  12      0   0.0   7273 100.0   7273 100.0        -  (FLET SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE)
  13      0   0.0   7273 100.0   7273 100.0        -  SB-INT:LOAD-AS-SOURCE
  14      0   0.0   7273 100.0   7273 100.0        -  (FLET SB-FASL::LOAD-STREAM :IN LOAD)
  15      0   0.0   7273 100.0   7273 100.0        -  LOAD
  16      0   0.0   7273 100.0   7273 100.0        -  EVAL
  17      0   0.0   7273 100.0   7273 100.0        -  SB-IMPL::PROCESS-EVAL/LOAD-OPTIONS
  18      0   0.0   7273 100.0   7273 100.0        -  SB-IMPL::TOPLEVEL-INIT
  19      0   0.0   7273 100.0   7273 100.0        -  (FLET #:WITHOUT-INTERRUPTS-BODY-44 :IN SAVE-LISP-AND-DIE)
  20      0   0.0   7273 100.0   7273 100.0        -  (LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE)
  21      0   0.0    226   3.1   7273 100.0        -  "foreign function interrupt_handle_pending"
  22      0   0.0    226   3.1   7273 100.0        -  "foreign function __kernel_rt_sigreturn"
  23      0   0.0     47   0.6   7273 100.0        -  "foreign function funcall0"
  24      0   0.0     47   0.6   7273 100.0        -  "foreign function maybe_gc"
  25      0   0.0     25   0.3   7273 100.0        -  SB-THREAD::CALL-WITH-SYSTEM-MUTEX/WITHOUT-GCING
  26      0   0.0     25   0.3   7273 100.0        -  SB-KERNEL:RUN-PENDING-FINALIZERS
  27      0   0.0     25   0.3   7273 100.0        -  (FLET SB-THREAD::EXEC :IN SB-KERNEL::POST-GC)
  28      0   0.0     25   0.3   7273 100.0        -  SB-KERNEL::POST-GC
------------------------------------------------------------------------
          0   0.0                                     elsewhere
; disassembly for SB-SPROF::CONSALOT
; Size: 112 bytes
; 0AE1F37E:       B80B001001       MOV EAX, 17825803          ; no-arg-parsing entry point
;       83:       B9409C0000       MOV ECX, 40000
;       88:       EB53             JMP L4
;       8A: L0:   83E904           SUB ECX, 4                 ; 26/7273 samples
;       8D:       64892D20000000   MOV FS:[#x20], EBP
;       94:       BB30000000       MOV EBX, 48
;       99:       64031D0C000000   ADD EBX, FS:[#xC]
;       A0:       643B1D10000000   CMP EBX, FS:[#x10]
;       A7:       7607             JBE L1
;       A9:       E872B524FD       CALL #x806A920             ; alloc_overflow_ebx
;       AE:       EB0A             JMP L2
;       B0: L1:   64891D0C000000   MOV FS:[#xC], EBX
;       B7:       83EB30           SUB EBX, 48
;       BA: L2:   8D5B07           LEA EBX, [EBX+7]
;       BD:       C643F9B2         MOV BYTE PTR [EBX-7], 178
;       C1:       C643FD28         MOV BYTE PTR [EBX-3], 40
;       C5:       64312D20000000   XOR FS:[#x20], EBP
;       CC:       7402             JEQ L3                     ; 1/7273 samples
;       CE:       CC09             BREAK 9                    ; pending interrupt trap
;       D0: L3:   E8E3161EF6       CALL #x1000AB8             ; ALLOCATE-CONS-TO-EDX
                                                              ; 4764/7273 samples
;       D5:       895AFD           MOV [EDX-3], EBX           ; 194/7273 samples
;       D8:       894201           MOV [EDX+1], EAX           ; 1157/7273 samples
;       DB:       8BC2             MOV EAX, EDX               ; 24/7273 samples
;       DD: L4:   83F900           CMP ECX, 0
;       E0:       7FA8             JNLE L0                    ; 14/7273 samples
;       E2:       8BD0             MOV EDX, EAX
;       E4:       8BE5             MOV ESP, EBP
;       E6:       F8               CLC
;       E7:       5D               POP EBP
;       E8:       C3               RET
;       E9:       CC0A             BREAK 10                   ; error trap
;       EB:       02               BYTE #X02
;       EC:       18               BYTE #X18                  ; INVALID-ARG-COUNT-ERROR
;       ED:       4F               BYTE #X4F                  ; ECX
* make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.1.8/work/sbcl-1.1.8/contrib/sb-sprof'

WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
  sb-concurrency
 * ERROR: dev-lisp/sbcl-1.1.8 failed (compile phase):
 *   make failed
 * 



root@lynxvirt:/usr/local/portage(47)# emerge --info '=dev-lisp/sbcl-1.1.8'
Portage 2.1.12.13 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.17, 3.10.1-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.1-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.2
KiB Mem:     1924220 total,   1179144 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sun, 14 Jul 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl admin alsa apng automount bash-completion berkdb bindist boost bzip2 cairo cli consolekit cracklib crypt cups curl cxx dbus djvu doc dot dri emacs exif extra fftw fontconfig fortran fpx fuse gdbm gif gimp gnome gnome-keyring gnuplot gnutls gpm graphics graphtft graphviz gstreamer gtk gudev hdri hwdb iconv imagemagick ipv6 ithreads jadetex jbig jpeg jpeg2k latex lcms lensfun libkms lzma lzo mmx modules motif mp3 mp4 mudflap ncurses netpbm nls nptl ntp openexr openmp pam pango pcre pdf perl plotutils png policykit postscript preview-latex python q32 qemu raw readline session sockets sound sse sse2 ssl svg tcl tcpd tex threads tiff tk truetype udev udisks unicode usb vala wmf x86 xa xemacs xml xpm yaml zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


root@lynxvirt:/root(51)# emerge -pqv '=dev-lisp/sbcl-1.1.8'
[ebuild  N    ] dev-lisp/sbcl-1.1.8  USE="doc threads unicode zlib -debug -source"
Comment 1 Juergen Rose 2013-07-20 22:46:38 UTC
I have to add the host system is 64Bit system and the guest system is 32Bit.
Comment 2 Juergen Rose 2013-07-28 06:28:20 UTC
After switching to gcc-4.7.3 'ermerge sbcl' fails with Segmentation fault. It fails also after doing 'emerge -uvDNe system' and upgrading to sbcl-1.1.9:

#<ASDF/LISP-ACTION:TEST-OP >
((#<ASDF/LISP-ACTION:TEST-OP > . #<ASDF/SYSTEM:SYSTEM "sb-simple-streams">))
* make: Leaving directory `/var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/contrib/sb-simple-streams'
make: Entering directory `/var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/contrib/sb-sprof'
/var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/src/runtime/sbcl --noinform --core /var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(compile-file (format nil "SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "sb-sprof" "sb-sprof"))' </dev/null
/bin/sh: line 1: 11974 Segmentation fault      /var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/src/runtime/sbcl --noinform --core /var/tmp/portage/dev-lisp/sbcl-1.1.9/work/sbcl-1.1.9/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(compile-file (format nil "SYS:CONTRIB;~:@(~A~);~:@(~A~).LISP" "sb-sprof" "sb-sprof"))' < /dev/null
make: *** [sb-sprof.fasl] Error 139


root@lynxvirt:/usr/local/portage/dev-qt/qthelp(41)# emerge --info '=dev-lisp/sbcl-1.1.9::gentoo'
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.1.13.1 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.10.1-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.1-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.2
KiB Mem:     1924220 total,    299176 free
KiB Swap:    4194300 total,   4192168 free
Timestamp of tree: Sat, 27 Jul 2013 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage_lynxvirt"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X acl admin alsa apng automount bash-completion berkdb bindist boost bzip2 cairo cli consolekit cracklib crypt cups curl cxx dbus djvu doc dot dri emacs exif extra fftw fontconfig fortran fpx fuse gdbm gif gimp gnome gnome-keyring gnuplot gnutls gpm graphics graphtft graphviz gstreamer gtk gudev hdri hwdb iconv imagemagick ipv6 ithreads jadetex jbig jpeg jpeg2k latex lcms lensfun libkms lzma lzo mmx modules motif mp3 mp4 mudflap ncurses netpbm nls nptl ntp openexr openmp pam pango pcre pdf perl plotutils png policykit postscript preview-latex python q32 qemu raw readline session sockets sound sse sse2 ssl svg tcl tcpd tex threads tiff tk truetype udev udisks unicode usb vala wmf x86 xa xemacs xml xpm yaml zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON



root@lynxvirt:/usr/local/portage/dev-qt/qthelp(42)# emerge -pqv '=dev-lisp/sbcl-1.1.9::gentoo'
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
[ebuild  N    ] dev-lisp/sbcl-1.1.9  USE="doc threads unicode zlib -debug -source"
Comment 3 Juergen Rose 2013-07-28 06:33:53 UTC
Created attachment 354378 [details]
bzip2ed /var/tmp/portage/dev-lisp/sbcl-1.1.9/temp/build.log
Comment 4 Juergen Rose 2013-07-29 13:21:47 UTC
Also 'MAKEOPTS="-j1" emerge -vuND maxima' fails with Segmentation fault:

root@lynxvirt:/usr/local/portage/dev-qt/qthelp(56)# MAKEOPTS="-j1" emerge -vuND maxima
...
[building initial core file in "output/cold-sbcl.core": 
writing 4096 bytes [1 page] from #<SB!FASL::GSPACE :READ-ONLY>
writing 4096 bytes [1 page] from #<SB!FASL::GSPACE :STATIC>
writing 29564928 bytes [7218 pages] from #<SB!FASL::GSPACE :DYNAMIC>
/(DESCRIPTOR-BITS INITIAL-FUN)=#XA9B48FD
done]
* //testing for consistency of first and second GENESIS passes
//header files match between first and second GENESIS -- good
//entering make-target-2.sh
//doing warm init - compilation phase
This is SBCL 1.1.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
make-target-2.sh: line 39: 19130 Segmentation fault      ./src/runtime/sbcl --core output/cold-sbcl.core --lose-on-corruption --no-sysinit --no-userinit < make-target-2.lisp
 * ERROR: dev-lisp/sbcl-1.1.9::gentoo failed (compile phase):
Comment 5 Andrey Grozin gentoo-dev 2013-08-09 05:35:37 UTC
I cannot reproduce this on real ~x86 and ~amd64 machines; must be something specific for a virtual machine. I've informed the upstream; hope they will help.
Comment 6 Pacho Ramos gentoo-dev 2016-05-28 08:44:29 UTC
is this still valid with 1.3.5?