[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751024: marked as done (g++ 4.7.3 - Internal compiler error)



Your message dated Sat, 20 Sep 2014 13:28:35 -0400
with message-id <CALTCyqum-UcZBpXagbtawmOGSfM1NH3Xf7qfFsY++uFZDovQnA@mail.gmail.com>
and subject line Bug#743716: analysis mode is broken when xboard is upgraded from 4.6.2-1 to 4.7.3-1
has caused the Debian Bug report #751024,
regarding g++ 4.7.3 - Internal compiler error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
751024: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751024
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: g++
Version: (Debian 4.7.3-14) 4.7.3


Hello.
I tried to build a 'target.cpp'.

[ build ]----------------------------------------------------------------------
$ g++ -std=c++11 -Wall target.cpp
‘
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccE2zJ9e.out file, please attach this to your bugreport.

-------------------------------------------------------------------------------


sources here.

[ target.cpp ]-----------------------------------------------------------------
#include <iostream>
#include <vector>

int main() {
    enum Numbers { ONE, };
    std::vector<std::vector<Numbers>> rows;// <-- type of 'enum'
    std::vector<int> cols(1);// <-- type of 'int'
    rows.emplace_back(cols);// <-- 'Internal compiler error'
    return 0;
}

-------------------------------------------------------------------------------

please add error message.



environs.
-------------------------------------------------------------------------------
$ uname -sor
Linux 3.2.0-4-686-pae GNU/Linux

$ dpkg --status g++
Package: g++
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 34
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Architecture: i386
Source: gcc-defaults (1.120)
Version: 4:4.7.2-1
Provides: c++-compiler
Depends: cpp (>= 4:4.7.2-1), gcc (>= 4:4.7.2-1), g++-4.7 (>= 4.7.2-1~), gcc-4.7 (>= 4.7.2-1~)
Suggests: g++-multilib
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
 .
 This is a dependency package providing the default GNU C++ compiler.

-------------------------------------------------------------------------------

Attachment: target-cpp-ccE2zJ9e.out.tar.bz2
Description: application/bzip


--- End Message ---
--- Begin Message ---
I asked upstream about this issue. The discussion starts at http://lists.gnu.org/archive/html/xboard-devel/2014-09/msg00044.html . The fix is to use -lgf (-loadGameFile) option in front of the filename. So a typical command would look like

rajulocal@hogwarts:~/chess$ xboard -fcp crafty -initialMode Analysis -lgf KamarajuKusumanchi_vs_paconov_2014_04_02.pgn

The addition of "-initialMode Analysis" will start xboard directly in the Analysis mode saving couple of seconds in the overall process.

Since this is not a bug but rather my lack of understanding of how xboard works... I am closing this bug.

thanks
--
Kamaraju S. Kusumanchi
http://malayamaarutham.blogspot.com/

--- End Message ---

Reply to: