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

Bug#272908: "g++: Internal error: Illegal instruction (program as)" even on simple programs



Package: g++-3.3
Version: 1:3.3.4-6sarge1.2
Severity: important

Dear Sir,

when trying compiling programs with g++, I get the following message:

[ghuiban@audi]:~/> g++ -c test.cpp
g++: Internal error: Illegal instruction (program as)
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-3.3/README.Bugs>.

The test.cpp file is the following:

#include <iostream>
int main()
{
  std::cout << "hello" << std::endl;
  return 0;
}

which is simple enough to consider that the problem comes from the compiler.
Obviously, the problem also appears with more complicated programs.

Thirty minutes ago, every program was compiling perfectly. The problem
appeared suddendly. The computer has not been rebooted, and no upgrade/system
modification has been performed. I repeat: the problem appeared suddendly
without any reason (at least, to my knowledge).

I believe this bug is related with the bug #256668; but I have no clue about
it.

What additional information can I provide?

Your, sincerely

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages g++-3.3 depends on:
ii  gcc-3.3                1:3.3.4-6sarge1.2 The GNU C compiler
ii  gcc-3.3-base           1:3.3.4-6sarge1.2 The GNU Compiler Collection (base 
ii  libc6                  2.3.2.ds1-16      GNU C Library: Shared libraries an
ii  libstdc++5-3.3-dev     1:3.3.4-6sarge1.2 The GNU Standard C++ Library v3 (d

-- no debconf information



Reply to: