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

Bug 139461

Summary: dev-lang/perl-5.8.8-r2 fails with segfault.
Product: Gentoo Linux Reporter: Alexander Rajula <superrajula>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Rajula 2006-07-06 11:03:48 UTC
emerge perl fails and quits with a segfault.

Emerge --info:

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium II (Klamath)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl ogg oss pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Error:

1772 bytes (2.08%) saved spotting duplicates
../../../miniperl "-I../../../lib" ../bin/enc2xs -"Q" -o eu_01_t.c -f eu_01_t.fnm
Reading euc-kr (euc-kr)
Writing compiled form
36763 bytes in string tables
4318 bytes (10.5%) saved spotting duplicates
../../../miniperl "-I../../../lib" ../bin/enc2xs -"Q" -o cp_00_t.c -f cp_00_t.fnm
Reading cp949 (cp949)
Writing compiled form
83711 bytes in string tables
3158 bytes (3.64%) saved spotting duplicates
../../../miniperl "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp  -nolinenumbers -typemap ../../../lib/ExtUtils/typemap  KR.xs > KR.xsc && mv KR.xsc KR.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   KR.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   cp_00_t.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   eu_01_t.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   jo_02_t.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   ks_03_t.c
i686-pc-linux-gnu-gcc -c  -I../Encode -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium2 -pipe -fomit-frame-pointer   -DVERSION=\"2.00\" -DXS_VERSION=\"2.00\" -fPIC "-I../../.."   ma_04_t.c
i686-pc-linux-gnu-gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [ma_04_t.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Encode/KR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r2/work/perl-5.8.8/ext/Encode'
make: *** [lib/auto/Encode/Encode.so] Error 2

!!! ERROR: dev-lang/perl-5.8.8-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  perl-5.8.8-r2.ebuild, line 267:   Called die

!!! Unable to make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-06 11:12:22 UTC
This has nothing in common with baselayout component. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-06 11:13:44 UTC
Can you reproduce the problem, i.e. - does it fail again at *exactly* the same place? (Also, try w/ gcc-3.4.6-r1 which is current stable).
Comment 3 Alexander Rajula 2006-07-06 11:56:10 UTC
Hm, Iv'e tried re-emerging, but it seems to fail at different places.

Maybe my cpu is a bit too warm.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-07-06 11:58:28 UTC
Quite possible.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-06 11:58:40 UTC

*** This bug has been marked as a duplicate of 20600 ***