This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Possible Bug In Gcc Prerelease While Build KDELibs


Hello, I have the latest CVS snapshot from today(5/25/01) and I have a 
problem while building KDELibs.  The error message is:

/bin/sh ../../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui 
-I../../kssl -I/usr/lib/qt-2.3.0/include -I/usr/X11R6/include -I/usr/include  
-I../../arts/mcop  -D_REENTRANT  -O2 -DNDEBUG -fno-exceptions -fno-check-new 
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-Wno-long-long -Wnon-virtual-dtor -fno-builtin -O2 -march=i386 -mcpu=i686 
-fno-exceptions -fno-check-new -O3 -DNDEBUG -UDEBUG -DNODEBUG 
-UDEBUG_ASYNC_TRANSFER -UVPORT_DEBUG -UDEBUG_IO -UDEBUG_MESSAGES -UDEBUG_AUTH 
-UDEBUG_CONNECTION_DATA -DYYDEBUG=0 -UNETWMDEBUG -UCSS_DEBUG 
-UCSS_STYLESHEET_DEBUG -USPEED_DEBUG -UKJS_DEBUGGER -UFORMS_DEBUG 
-UDEBUG_LAYOUT -UDEBUG_DRAW_BORDER -UPARSER_DEBUG -UDECODE_DEBUG 
-UCACHE_DEBUG -UBUFFER_DEBUG -UJPEG_DEBUG -UDEBUG_LINEBREAKS -UBOX_DEBUG 
-UTABLE_DEBUG -UYYERROR_VERBOSE -UKJS_DEBUG_MEM -UMIDIOUTDEBUG 
-UGENERAL_DEBUG_MESSAGES -D_GNU_SOURCE -frtti -DQT_CLEAN_NAMESPACE 
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c libartsflow_la.all_cc.ccg++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl -I../../kdecore 
-I../../kdeui -I../../kssl -I/usr/lib/qt-2.3.0/include -I/usr/X11R6/include 
-I/usr/include -I../../arts/mcop -D_REENTRANT -O2 -DNDEBUG -fno-exceptions 
-fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -O2 
-march=i386 -mcpu=i686 -fno-exceptions -fno-check-new -O3 -DNDEBUG -UDEBUG 
-DNODEBUG -UDEBUG_ASYNC_TRANSFER -UVPORT_DEBUG -UDEBUG_IO -UDEBUG_MESSAGES 
-UDEBUG_AUTH -UDEBUG_CONNECTION_DATA -DYYDEBUG=0 -UNETWMDEBUG -UCSS_DEBUG 
-UCSS_STYLESHEET_DEBUG -USPEED_DEBUG -UKJS_DEBUGGER -UFORMS_DEBUG 
-UDEBUG_LAYOUT -UDEBUG_DRAW_BORDER -UPARSER_DEBUG -UDECODE_DEBUG 
-UCACHE_DEBUG -UBUFFER_DEBUG -UJPEG_DEBUG -UDEBUG_LINEBREAKS -UBOX_DEBUG 
-UTABLE_DEBUG -UYYERROR_VERBOSE -UKJS_DEBUG_MEM -UMIDIOUTDEBUG 
-UGENERAL_DEBUG_MESSAGES -D_GNU_SOURCE -frtti -DQT_CLEAN_NAMESPACE 
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/libartsflow_la.all_cc.pp -c 
libartsflow_la.all_cc.cc  -fPIC -DPIC -o .libs/libartsflow_la.all_cc.o
In file included from libartsflow_la.all_cc.cc:4:
audiosubsys.cc: In method `void Arts::AudioSubSystem::handleIO(int)':
audiosubsys.cc:416: warning: unused variable `int rSize'
audiosubsys.cc:419: warning: unused variable `int len'
audiosubsys.cc: In method `void Arts::AudioSubSystem::read(void*, int)':
audiosubsys.cc:468: warning: unused variable `int rSize'
In file included from libartsflow_la.all_cc.cc:26:
audioiooss.cc: In method `virtual bool Arts::AudioIOOSS::open()':
audioiooss.cc:322: warning: unused variable `int len'
convert.cc: In function `void Arts::convert_stereo_2float_i16le(long unsigned
   int, float*, float*, unsigned char*)':
convert.cc:33: output number 0 not directly addressable
convert.cc:33: output number 0 not directly addressable
convert.cc:33: inconsistent operand constraints in an `asm'
convert.cc:33: inconsistent operand constraints in an `asm'
convert.cc: In function `void Arts::convert_mono_float_16le(long unsigned int,
   float*, unsigned char*)':
convert.cc:33: output number 0 not directly addressable
convert.cc:33: inconsistent operand constraints in an `asm'
synth_play_impl.cc: In method `virtual void
   Arts::Synth_PLAY_impl::notifyIO(int, int)':
synth_play_impl.cc:207: warning: unused parameter `int fd'
make[4]: *** [libartsflow_la.all_cc.lo] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/kdelibs-2.1.2/arts/flow'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/kdelibs-2.1.2/arts/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/kdelibs-2.1.2/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/kdelibs-2.1.2'
make: *** [all-recursive-am] Error 2


The exact lines of offending code are:

static inline long QRound (float inval)
{
  long ret;
  asm ("fistpl %0" : "=m" (ret) : "t" (inval) : "st");
  return ret;
}

This is in kdelibs-2.1.2 and I know they would not output something that 
would not build with gcc-2.95.3.  I also have the latest snapshot from the 
binutils CVS.  Is this really a GCC problem, or is this a KDE problem?  Can 
someone please help me?

Luke


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]