[Bug 254085] Re: Compiling a file crashes gcc/g++

2008-10-08 Thread Matthias Klose
I don's see this anymore with g++-4.2 from hardy-proposed and intrepid.
closing. please reopen (giving the exact gcc version) if this is still
reproducible.


** Changed in: gcc-4.2 (Ubuntu)
   Status: Incomplete = Fix Released

-- 
Compiling a file crashes gcc/g++
https://bugs.launchpad.net/bugs/254085
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254085] Re: Compiling a file crashes gcc/g++

2008-08-02 Thread Liviu Lalescu
I attach rules.ii file, archived with zip

** Description changed:

- I am the author of FET timetabling software (open source, available in
- some distributions).
+ My open source application FET compiles OK with g++ 4.1.3. But with 4.2.3 it
+ crashes on a bigger file named rules.cpp. My FET program is available at
+ http://lalescu.ro/liviu/fet/
  
- I have downloaded a Kubuntu 8.04.1 for AMD64 bit and installed g++-4.2.
- When compiling my program, it crashes on a large file, named
- rules.cpp.
+ I have 1 GB of RAM, AMD dual core 4000+
  
- FET is available as sources on http://lalescu.ro/liviu/fet/
  
- I am now compiling with g++-4.1 and it works OK
+ The g++ version:
+ 
+ [EMAIL PROTECTED]:~/t/fet-5.6.1$ gcc -v
+ Using built-in specs.
+ Target: x86_64-linux-gnu
+ Configured with: ../src/configure -v
+ --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
+ --enable-shared --with-system-zlib --libexecdir=/usr/lib
+ --without-included-gettext --enable-threads=posix --enable-nls
+ --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
+ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
+ --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
+ --target=x86_64-linux-gnu
+ Thread model: posix
+ gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
+ 
+ 
+ The command and output error:
+ 
+ [EMAIL PROTECTED]:~/t/fet-5.6.1$ make
+ cd src/  make -f Makefile
+ make[1]: Entering directory `/home/goghi/t/fet/src'
+ cd interface/  make -f Makefile
+ make[2]: Entering directory `/home/goghi/t/fet/src/interface'
+ g++ -save-temps -c -pipe -fpermissive -O2 -D_REENTRANT -Wall -W -DQT_SHARED
+ -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB
+ -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I.
+ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
+ -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork
+ -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml
+ -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support
+ -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I../engine -I../../tmp
+ -I../../tmp -o ../../tmp/rules.o ../engine/rules.cpp
+ g++: warning: -pipe ignored because -save-temps specified
+ g++: Internal error: Killed (program cc1plus)
+ Please submit a full bug report.
+ See URL:http://gcc.gnu.org/bugs.html for instructions.
+ For Debian GNU/Linux specific bug reporting instructions, see
+ URL:file:///usr/share/doc/gcc-4.2/README.Bugs.
+ 
+ make[2]: *** [../../tmp/rules.o] Error 1
+ make[2]: Leaving directory `/home/goghi/t/fet/src/interface'
+ make[1]: *** [sub-interface-make_default] Error 2
+ make[1]: Leaving directory `/home/goghi/t/fet/src'
+ make: *** [sub-src-make_default] Error 2
+ [EMAIL PROTECTED]:~/t/fet-5.6.1$
+ 
+ 
+ I'll attach also the .ii file.

** Attachment added: rules.ii file, archived with zip
   http://launchpadlibrarian.net/16491554/rules.ii.zip

-- 
Compiling a file crashes gcc/g++
https://bugs.launchpad.net/bugs/254085
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254085] Re: Compiling a file crashes gcc/g++

2008-08-02 Thread Liviu Lalescu
I modified the description to describe completely the problem

-- 
Compiling a file crashes gcc/g++
https://bugs.launchpad.net/bugs/254085
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254085] Re: Compiling a file crashes gcc/g++

2008-08-01 Thread Daniel Moerner
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Unfortunately we can't fix it, because your description
didn't include enough information.  Specifically, what is the crash?
Could you please provide the exact error message?  It may help to use
gdb (https://wiki.ubuntu.com/Backtrace)

** Changed in: gcc-4.2 (Ubuntu)
   Status: New = Incomplete

-- 
Compiling a file crashes gcc/g++
https://bugs.launchpad.net/bugs/254085
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs