[Bug c++/36687] New: g++ can not compile dbcheck.cpp of MythTV

2008-07-01 Thread danielk at cuymedia dot net
Note this is the case with both the 0.21-fixes and trunk of mythtv, same file.
* the exact version of GCC;
gcc (Ubuntu 4.3.1-3ubuntu1) 4.3.1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* the system type;
Linux intrepid-builder64.kristjansson.com 2.6.24-19-xen #1 SMP Wed Jun 18
16:08:38 UTC 2008 x86_64 GNU/Linux
* the complete command line that triggers the bug;

svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/ ; cd
release-0-21-fixes ; ./configure ; cd libs ; qmake ; cd libmythtv ; qmake ; g++
-c -pipe -g -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/directfb
-D_REENTRANT -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC  -DMMX
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUSING_OSS
-DUSING_H264TOOLS -DUSING_DIRECTFB -DUSING_X11 -DUSING_XV -DUSING_XVMC
-DUSING_XVMCW -DUSING_XVMC_VLD -DUSING_OPENGL -DUSING_FRONTEND
-DUSING_FFMPEG_THREADS -DUSING_V4L -DUSING_LINUX_FIREWIRE -DUSING_FIREWIRE
-DUSING_LIBAVC_5_3 -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV
-DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec -I../libavutil
-I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include -I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/include/qt3
-I/usr/X11R6/include -I/usr/X11R6/include -o dbcheck.o dbcheck.cpp


NOTE: If you remove -g, the compile still fails. But if you replace -O3 with
-O0 it succeeds. Also -O1 fails and -O2 fails.

* the compiler output (error messages, warnings, etc.); and

{standard input}: Assembler messages:
{standard input}:11005: Warning: end of file not at end of a line; newline
inserted
{standard input}:12373: Error: unknown pseudo-op: `.ul'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See  for instructions.
make: *** [dbcheck.o] Error 1

* the preprocessed file (*.i*) that triggers the bug, generated by
  adding -save-temps to the complete compilation command, or, in
  the case of a bug report for the GNAT front end, a complete set
  of source files (see below).

Will attach


-- 
   Summary: g++ can not compile dbcheck.cpp of MythTV
   Product: gcc
   Version: 4.3.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danielk at cuymedia dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36687



[Bug c++/36687] g++ can not compile dbcheck.cpp of MythTV

2008-07-01 Thread danielk at cuymedia dot net


--- Comment #1 from danielk at cuymedia dot net  2008-07-01 13:31 ---
Created an attachment (id=15840)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15840&action=view)
Preprocessor output for failing file

Note: I should also note memory consumption by gcc is very high when compiling
this file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36687