Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147492 - Building kdelibs-3.5.2 caused gcc 4.1.1 to segfault
Summary: Building kdelibs-3.5.2 caused gcc 4.1.1 to segfault
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 12:08 UTC by Mike Bourgeous
Modified: 2006-09-13 12:16 UTC (History)
0 users

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 Mike Bourgeous 2006-09-13 12:08:23 UTC
A second attempt at manual compilation several hours later did not crash.

Here is the output:

creating libkjs_html_la.all_cpp.cpp ...
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I../.. -I../../kio -I../../kio/bookmarks -I../../khtml -I../../khtml/java -I../../kwallet/client -I../../kutils -I../../kjs -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-xp -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o libkjs_html_la.all_cpp.lo libkjs_html_la.all_cpp.cpp
kjs_html.cpp: In member function 'virtual KJS::Value KJS::HTMLElementFunction::tryCall(KJS::ExecState*, KJS::Object&, const KJS::List&)':
kjs_html.cpp:2212: warning: passing 'double' for argument 1 to 'void DOM::HTMLInputElement::setSelectionRange(long int, long int)'
kjs_html.cpp:2212: warning: passing 'double' for argument 2 to 'void DOM::HTMLInputElement::setSelectionRange(long int, long int)'
kjs_html.cpp:2244: warning: passing 'double' for argument 1 to 'void DOM::HTMLTextAreaElement::setSelectionRange(long int, long int)'
kjs_html.cpp:2244: warning: passing 'double' for argument 2 to 'void DOM::HTMLTextAreaElement::setSelectionRange(long int, long int)'
kjs_traversal.lut.h: At global scope:
kjs_traversal.lut.h:101: warning: overflow in implicit constant conversion
kjs_html.cpp: In member function 'virtual KJS::Object KJS::OptionConstructorImp::construct(KJS::ExecState*, const KJS::List&)':
kjs_html.cpp:3460: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [libkjs_html_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/khtml/ecma'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/khtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.2-r6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kdelibs-3.5.2-r6.ebuild, line 134:   Called kde_src_compile
  kde.eclass, line 166:   Called kde_src_compile 'all'
  kde.eclass, line 325:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 321:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/portage-xgl'
Comment 1 Mike Bourgeous 2006-09-13 12:13:26 UTC
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r1-kdb i686)
=================================================================
System uname: 2.6.15-gentoo-r1-kdb i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 07:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -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"
LINGUAS=""
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl /root/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 3ds S3TC X a52 aac acl acpi aim alsa amr asm audiofile avi bash-completion berkdb bitmap-fonts bootsplash browserplugin bzip2 cairo cdda cddb cdio cdparanoia cdr cli crypt cscope css cups curl dbus dga dlloader dpms dri dts dv dvb dvd dvdr dvdread edl eds effects elibc_glibc emboss encode ethereal exif fam fame fat fbcon ffmpeg fftw firefox flac flash fluidsynth fmod fortran fping ftp fuse fusion gb gdbm gif gimp gimpprint ginac glut glx gmp gnome gnuplot gphoto2 gpm gs gstreamer gtk gtkhtml hal id3 ieee1394 input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse insecure-savers ipv6 isdnlog jack joystick jp2 jpeg jpeg2k kde kdeenablefinal kdexdeltas kernel_linux ladcca ladspa lame lcms ldap libg++ libsamplerate lirc lirc_devices_irman live lm_sensors lzo mad matroska mikmod ming mjpeg mmap mmx mmxext mng mod modplug mozilla mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn musepack musicbrainz mysql mythtv nas ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg on-the-fly-crypt openal openexr opengl osc oscar oss pam pcre perl plotutils png portaudio povray ppds pppd python qt3 qt4 quicktime rar readline real reflection reiserfs rtc samba sblive scanner screen sdl session shorten silverxp sndfile soundtouch speex spell spl sse ssl startup-notification stencil-buffer stream subp subtitles subversion svg svgz sysfs tcpd tga theora threads tidy tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vfat video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vim-pager vim-with-x visualization vlm vorbis win32codecs xanim xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xv xvid xvmc yv12 zeroconf zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 12:16:59 UTC
> The bug is not reproducible, so it is likely a hardware or OS problem.

So, can you reproduce it, i.e. - does it fail again at *exactly* the same place? If yes, then attach the preprocesses source here and reopen.