Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148028 - kdelibs-3.5.4-r1 compilation fails with gcc-4.1.1
Summary: kdelibs-3.5.4-r1 compilation fails with gcc-4.1.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 01:15 UTC by Frederic Aime
Modified: 2006-10-06 16:07 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 Frederic Aime 2006-09-18 01:15:00 UTC
Building kdelibs with gcc-4.1.1 fails (3.5.4 works 3.5.4-r1 fails):



kfilemetainfowidget.cpp: In member function 'QWidget* KFileMetaInfoWidget::makeDoubleWidget()':
kfilemetainfowidget.cpp:219: warning: '__comp_ctor ' is deprecated (declared at ../../kdeui/knuminput.h:460)
{standard input}: Assembler messages:
{standard input}:59878: Warning: end of file not at end of a line; newline inserted
{standard input}:61157: Error: unbalanced parenthesis in operand 1.
x86_64-pc-linux-gnu-g++: Internal error: Hangup (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [libkfile_la.all_cpp.lo] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/kio/kfile'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4/kio'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.4-r1/work/kdelibs-3.5.4'
make: *** [all] Erreur 2

!!! ERROR: kde-base/kdelibs-3.5.4-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kdelibs-3.5.4-r1.ebuild, line 129:   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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:40:47 UTC
You didn't post emerge --info output. Also, can you reproduce the problem, i.e. - does it fail again at *exactly* the same place?
Comment 2 Frederic Aime 2006-09-18 01:43:21 UTC
Portage 2.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.3.3.20040420-r2,glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Opteron(tm) Processor 150
Gentoo Base System version 1.12.4
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -ffast-math -march=opteron -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -ffast-math -march=opteron -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de ftp://files.gentoo.org http://files.gentoo.org "
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
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="/opt/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X acl alsa amd amd64 ao aotuv apache2 arts artswrappersuid artworkextra audiofile avantgo avi berkdb bitmap-fonts bluetooth browserplugin cairo cdda cddb cdio cdparanoia cdr cdrom cli cpudetection cracklib crypt cups cyrus dbus divx4linux dlloader doc dri dv dvd dvdr dvdread dxr3 eds emboss emerald encode esd expat fam fb fbcon firefox flac fortran freetype gd gdbm gif gnokii gnome gpm gstreamer gtk gtk2 hal ieee1394 ipv6 irmc isdnlog jack java javacomm javadoc javamail jikes jpeg jpeg2k kde kdeenablefinal kdepim kdgraphics kerberos ldap libg++ mad mikmod mime mjpeg mozilla mp3 mpeg msn mysql nas ncurses nis nls nntp nptl nptlonly nvidia ofx ogg oggvorbis opengl oss pam pcre pda pdflib perl png postgres ppds pppd pwdb python qt3 qt4 quicktime readline reflection samba sasl scanner sdl session slp speex spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd vnc vorbis webdav xcomposite xine xinerama xml xmlrpc xorg xprint xv xvid yahoo zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Frederic Aime 2006-09-18 01:46:24 UTC
gcc specs (not available in emerge --info cause I'm currently re-emerging world after gcc/glibc upgrate from 3.4.6 to 4.1.1)

Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:50:35 UTC
> glibc-2.3.3.20040420-r2,glibc-2.4-r3

Your system is clearly messed up, you have two glibc versions installed. (And, on a side note - remove the stupid -ffast-math flag).


Comment 5 Frederic Aime 2006-09-18 02:18:29 UTC
Sorry to correct you, but the glibc-2.3.3-20040420-r2 is a cross compiler built for certain very specific tasks I need (and used without any problem since several years...)

I do not know why emerge --info announce it that way, but it's clearly (;) ) the cross-i686-pc-linux-gnu/glibc package and not the sys-libs, 

so nothing's messed up in my system.

Comment 6 Matteo Azzali (RETIRED) gentoo-dev 2006-09-18 04:47:51 UTC
Ahem.... your system is messed until you don't finish the passage from gcc-3.x
to gcc-4.x (until world isn't re-emerged correctly you'll get much more
unexhistant issues).
Also the -ffast-math may cause issues....
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-10-06 16:07:17 UTC
Please, reopen if it is still a problem for you.