Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201039 - [4.1/ICE] dev-libs/libsigc++-2.0.18: Unable to emerge - Segmentation fault in "signal_base.cc:107: internal compiler error"
Summary: [4.1/ICE] dev-libs/libsigc++-2.0.18: Unable to emerge - Segmentation fault in...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 00:13 UTC by Claude-Sebastien Jean
Modified: 2007-12-03 11:15 UTC (History)
0 users

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


Attachments
build.log (build.log,11.76 KB, text/plain)
2007-12-03 00:14 UTC, Claude-Sebastien Jean
Details
Preprocess source file of trackable.cc (ccIXux58.out,742.52 KB, text/plain)
2007-12-03 00:18 UTC, Claude-Sebastien Jean
Details
Preprocess source file of signal_base.cc (ccjznflc.out,445.32 KB, text/plain)
2007-12-03 00:20 UTC, Claude-Sebastien Jean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claude-Sebastien Jean 2007-12-03 00:13:30 UTC
While emerging either world or just dev-libs/libsigc++-2.0.18, the emerge process stops on the 4th file (signal_base.cc) and segfaults.

Tried to ldconfig and even restart (in case of a windoze type bug ;-) ).

Since in seems that gnome depends on this, I can't emerge world at this time.


Reproducible: Always

Steps to Reproduce:
1.emerge -v libsigc++ 
2.
3.

Actual Results:  
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/libsigc++-2.0.18/work/libsigc++-2.0.18'
Making all in sigc++
make[2]: Entering directory `/var/tmp/portage/dev-libs/libsigc++-2.0.18/work/libsigc++-2.0.18/sigc++'
make  all-am
make[3]: Entering directory `/var/tmp/portage/dev-libs/libsigc++-2.0.18/work/libsigc++-2.0.18/sigc++'
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I.. -I..   -O2 -march=pentium4 -pipe -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c -o signal.lo signal.cc
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I.. -I..   -O2 -march=pentium4 -pipe -MT signal_base.lo -MD -MP -MF .deps/signal_base.Tpo -c -o signal_base.lo signal_base.cc
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=pentium4 -pipe -MT signal_base.lo -MD -MP -MF .deps/signal_base.Tpo -c signal_base.cc  -fPIC -DPIC -o .libs/signal_base.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=pentium4 -pipe -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.cc  -fPIC -DPIC -o .libs/signal.o
signal_base.cc: In destructor 'sigc::signal_base::~signal_base()':
signal_base.cc:107: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=pentium4 -pipe -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.cc -o signal.o >/dev/null 2>&1
mv -f .deps/signal.Tpo .deps/signal.Plo
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I.. -I..   -O2 -march=pentium4 -pipe -MT trackable.lo -MD -MP -MF .deps/trackable.Tpo -c -o trackable.lo trackable.cc
Preprocessed source stored into /var/tmp/portage/dev-libs/libsigc++-2.0.18/temp/ccjznflc.out file, please attach this to your bugreport.
make[3]: *** [signal_base.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -march=pentium4 -pipe -MT trackable.lo -MD -MP -MF .deps/trackable.Tpo -c trackable.cc  -fPIC -DPIC -o .libs/trackable.o
trackable.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
trackable.cc:127: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/dev-libs/libsigc++-2.0.18/temp/ccIXux58.out file, please attach this to your bugreport.



emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Sun, 02 Dec 2007 20:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa asf bash-completion berkdb bitmap-fonts cdr cli cracklib crypt cups dlloader doc dri dts dvd dvdr emacs expat firefox fortran gcj gdbm gnome gpm gtk iconv ieee1394 isdnlog java kde ldap lighttpd midi mmx mp3 mudflap ncurses network nls nptl nptlonly objc openmp oss pam pcre perl postgres pppd python qt readline reflection session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts unicode usb v4l win32codecs x86 xorg xvid zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa dummy"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Included as attachment is the build.log and the 2 preprocess sources.
Comment 1 Claude-Sebastien Jean 2007-12-03 00:14:51 UTC
Created attachment 137582 [details]
build.log
Comment 2 Claude-Sebastien Jean 2007-12-03 00:18:33 UTC
Created attachment 137583 [details]
Preprocess source file of trackable.cc
Comment 3 Claude-Sebastien Jean 2007-12-03 00:20:02 UTC
Created attachment 137585 [details]
Preprocess source file of signal_base.cc
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2007-12-03 00:43:36 UTC
Can't get an ICE with either file.

Claude:
Does it happen on the same files every time?  Have you tried rebuilding gcc?
Comment 5 Claude-Sebastien Jean 2007-12-03 02:26:41 UTC
(In reply to comment #4)
> Can't get an ICE with either file.
> 
> Claude:
> Does it happen on the same files every time?  Have you tried rebuilding gcc?
> 

Hi Mark,

Thanks for the prompt reply.

It does happen on the same files every time (i've tried about 6-10 times allready).  I haven't tried to rebuild gcc but I will do so now and keep you posted tomorow (in about 12h).


Comment 6 SpanKY gentoo-dev 2007-12-03 02:54:07 UTC
yeah, both files build fine for me as well with gcc-4.1.2
Comment 7 Claude-Sebastien Jean 2007-12-03 11:15:28 UTC
I recompiled gcc and everything worked fine.

Thanks for your help.

Claude