Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82623 - kdelibs-3.3.2-r3 fails to compile on ksocks.cpp
Summary: kdelibs-3.3.2-r3 fails to compile on ksocks.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 15:07 UTC by Alessandro Ronchi
Modified: 2005-03-27 20:11 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 Alessandro Ronchi 2005-02-19 15:07:46 UTC
When I try to emerge kdelibs-3.3.2-r3 it fails to compile. I get this error:

/bin/sh ../libtool --silent --mode=compile --tag=CXX powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kdefx -I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.3/include  -I/usr/include/libart-2.0  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o ksycocadict.lo ksycocadict.cpp
/bin/sh ../libtool --silent --mode=compile --tag=CXX powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kdefx -I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.3/include  -I/usr/include/libart-2.0  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o ksycocafactory.lo ksycocafactory.cpp
ksocks.cpp: In constructor `KSocks::KSocks(KConfigBase*)':
ksocks.cpp:412: internal compiler error: Segmentation fault
Please submit a full bug report,



More informations:
abook ~ # emerge info
Portage 2.0.51-r15 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 ppc)
=================================================================
System uname: 2.6.10-gentoo-r7 ppc 7447A, altivec supported
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:19:31)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa altivec arts audiofile bitmap-fonts bzip2 bzlib cdr codecs crypt cups curl directfb dvd emboss esd f77 fam fbcon firefox flac font-server fortran freetype gcj ggi gif gimp glut gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jabber java joystick jpeg jpeg2k junit kde libwww mad maildir messages mime motif mp3 mpeg mpeg4 ncurses net nls nntp nptl oggvorbis opengl pam pda pdf perl png postgres ppc pwdb python qt radeon readline samba sdl slang spell ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts usb wifi xine xml xml2 xmms xv zlib video_cards_radeon linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

emerge -vp kdelibs

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] kde-base/kdelibs-3.3.2-r3 [3.3.2-r2] +alsa +arts +cups -debug -doc -ipv6 -kdeenablefinal -kerberos -ldap +spell +ssl +tiff -xinerama* 0 kB


abook ~ # emerge info
Portage 2.0.51-r15 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 ppc)
=================================================================
System uname: 2.6.10-gentoo-r7 ppc 7447A, altivec supported
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:19:31)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="it_IT@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa altivec arts audiofile bitmap-fonts bzip2 bzlib cdr codecs crypt cups curl directfb dvd emboss esd f77 fam fbcon firefox flac font-server fortran freetype gcj ggi gif gimp glut gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jabber java joystick jpeg jpeg2k junit kde libwww mad maildir messages mime motif mp3 mpeg mpeg4 ncurses net nls nntp nptl oggvorbis opengl pam pda pdf perl png postgres ppc pwdb python qt radeon readline samba sdl slang spell ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts usb wifi xine xml xml2 xmms xv zlib video_cards_radeon linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Reproducible: Always
Steps to Reproduce:
1. emerge kdelibs
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-20 03:17:10 UTC
Does the same happen if you try again?
Comment 2 Alessandro Ronchi 2005-02-20 03:37:41 UTC
Yes. I've tried 4-5 times (I have emerged qt again, and made some efforts to make kdelibs emerge correctly)
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-20 06:00:33 UTC
Probably ppc specific...

I don't see what it can be other than a compiler bug or maybe the compiler
going out of RAM.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2005-03-05 02:07:31 UTC
Most likely, you've got kernel preemption turned on.  Kernel preempt on PPC often causes segfaults when compiling large C++ apps.  Turn it off in the kernel and try again.
Comment 5 Joe Jezak (RETIRED) gentoo-dev 2005-03-27 20:11:13 UTC
Most likely this was kernel preemption on ppc causing problems as kde is the most reported package to die with segfaults.  I'm going to close this bug but if you're still having problems and you're sure that preemption is off, feel free to reopen it.