# emerge kde .... (skipped) .... checking for shl_unload in -ldld... no checking for vsnprintf... yes checking for snprintf... yes checking if Qt compiles without flags... no checking if STL implementation is SGI like... no checking if STL implementation is HP like... no configure: error: "no known STL type found - did you forget to install libstdc++-devel ?" !!! ERROR: kde-base/arts-1.1.4 failed. !!! Function kde_src_compile, Line 125, Exitcode 1 !!! died running ./configure, kde_src_compile:configure # emerge info Portage 2.0.49-r15 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r7, 2.4.22-sparc-r0) ================================================================= System uname: 2.4.22-sparc-r0 sparc64 sun4u Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc arts avi crypt cups encode fbcon foomaticdb gif jpeg kde mad mikmod motif mpeg ncurses nls oss png pdflib sdl spell truetype xv xml2 xmms zlib directfb gdbm berkdb slang readline tetex nas tcltk mysql postgres X gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt opengl ldap cdr amd antlr apache2 autofs bonobo bsh cgi clamav clanJavaScript clanVoice dga doc dv dvd dvdr evo exiscan exiscan-acl faad fam fastcgi fax fbdev ffmpeg fltk freetds gb gd geoip gnomedb gphoto2 gps gtk2 gtkhtml imap informix innodb java javascript jbig jdepend jikes joystick lcd libgda maildir mbox mcal memlimit mozcalendar mozilla mozinterfaceinfo moznoxft mozp3p mozsvg mozxmlterm oci8 odbc offensive pcap pda php quicktime rplay samba sasl scanner sdk snmp socks5 sox sqlite tiff usb wmf wxwindows xine xinerama xosd xvid" Reproducible: Always Steps to Reproduce: 1. emerge kde 2. 3. The quick checks shows that configure failed to compile a very simple STL test. The attempt to compile it without flags like: gcc test.cpp - fails to link with missing references to STL. The following works, though: gcc test.cpp -lstdc++
Able to replicate here, adding the gentoo kde team to CC to see if they have any suggestions or if they've seen it before.
Please attach config.log to the bug /var/tmp/portage/arts-1.1.4/work/arts-1.1.4/config.log
Created attachment 20061 [details] arts-1.1.4 config.log from sparc64 Attached my config.log
Forgot ebuilds don't notify on attachments. I've attached my config.log
This seems to be working for me now. I've upgraded to perl-5.8.2 and binutils-2.14.90.0.7-r3, not sure if they have effected this or not. Is this problem still happening for you? And if so, does updating the previously mentioned packages help?
The problem disappeared AFTER I've emerged GCC 3.3.2. It looks like re-emerging GCC (v 3.2.2) would do the same. BTW, after I removed the STL detection from configure - it compiled just fine.
KDE Team: What about removing STL detection if [ ${ARCH} = "sparc" ] ?
This sounds more like a fluke than a KDE problem - I haven't heard of this problem for non-Gentoo Sparc users. I don't have a problem patching the ebuild if it's necessary, but I would think that if this is a "bigger" problem that it would be fixed on the KDE end of things.
As everything seems to be working, marking resolved:fixed. Feel free to re-open if this re-occurs.