gcc 2.95 ICE triggered in kdepim with HEAD kdelibs

Michael Nottebrock michaelnottebrock at gmx.net
Tue Feb 15 16:22:08 GMT 2005


When compiling HEAD kitchensync, this ICE is triggered:

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../kitchensync/kitchensync/lib 
-I../../../kitchensync/libksync -I../../../kitchensync/libkonnector2 
-I../../.. -I../../../libkdepim -I/usr/local/include -I/usr/X11R6/include  
-I/usr/local/include  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT  
-D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
-Wpointer-arith -Wwrite-strings -fno-builtin -g3 -fno-inline -O2 -pipe 
-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 
pluckerconfig.lo pluckerconfig.cpp
/usr/local/include/kstaticdeleter.h: In instantiation of 
`KStaticDeleter<type><KSPlucker::PluckerConfig>':
pluckerconfig.cpp:43:   instantiated from here
/usr/local/include/kstaticdeleter.h:74: Internal compiler error.
/usr/local/include/kstaticdeleter.h:74: Please submit a full bug report.
/usr/local/include/kstaticdeleter.h:74: See 
<URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[4]: *** [pluckerconfig.lo] Error 1
gmake[4]: Leaving directory 
`/usr/home/lofi/kde/kdepim/kitchensync/kitchensync/plucker'

The line in kstaticdeleter.h is

template<class type> class KStaticDeleter : public KStaticDeleterBase {

and pluckerconfig.cpp does this:

static KStaticDeleter<KSPlucker::PluckerConfig> s_deleter;

namespace KSPlucker {

static PluckerConfig *s_config;

PluckerConfig::PluckerConfig()
{}

PluckerConfig::~PluckerConfig()
{}

PluckerConfig* PluckerConfig::self()
{
  if ( !s_config )
    s_deleter.setObject(s_config, new PluckerConfig() );

  return s_config;
}


Any clues what to do?

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050215/374ab9a9/attachment.sig>


More information about the kde-core-devel mailing list