g++-3.3 report internal error even on simplest program
Bug #6888 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-3.3 (Debian) |
Fix Released
|
Unknown
|
|||
gcc-3.3 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #256668
http://
Changed in gcc-3.3: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
what is the version of libgcc1 installed? If it's 1:3.4.0-2, please incoming. debian. org, or
upgrade to 1:3.4.0-4, available in http://
tonight in the experimental distribution.
I'm unable to reproduce this behaviour.
Hongzheng Wang writes: c++/3.3/ i486-linux/ bits/c+ +locale. h:42, c++/3.3/ iosfwd: 46, c++/3.3/ ios:44, c++/3.3/ ostream: 45, c++/3.3/ iostream: 45, langinfo. h:280: internal compiler error: Segmentation fault gcc.gnu. org/bugs. html> for instructions. ///usr/ share/doc/ gcc-3.3/ README. Bugs>.
> Subject: g++-3.3 report internal error even on simplest program
> Package: g++-3.3
> Version: 1:3.3.4-2
> Severity: serious
> Justification: unkown
>
> *** Please type your report below this line ***
> Hi,
> I found g++-3.3 can't work, even on the simplest program `hello
> world`.
>
> The source is:
>
> //test.cpp
> #include <iostream>
>
> int main()
> {
> std::cout << "hello" << std::endl;
> return 0;
> }
>
> When I use g++ to compile it, g++ report internal error:
>
> $ g++ test.cpp -o test
>
> In file included from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from test.cpp:1:
> /usr/include/
> Please submit a full bug report, with preprocessed source if appropriate.
> See <URL:http://
> For Debian GNU/Linux specific bug reporting instructions, see
> <URL:file:
>
> Since this program is simple enough, I think it should be a g++ bug.
>
> BTW: I found this problem when re-make one of my program written in
> C++.
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.6
> Locale: LANG=C, LC_CTYPE=zh_CN.GBK
>
> Versions of packages g++-3.3 depends on:
> ii gcc-3.3 1:3.3.4-2 The GNU C compiler
> ii gcc-3.3-base 1:3.3.4-2 The GNU Compiler Collection
> (base
> ii libc6 2.3.2.ds1-13 GNU C Library: Shared
> libraries an
> ii libstdc++5-3.3-dev 1:3.3.4-2 The GNU Standard C++
> Library v3 (d
>
> -- no debconf information
>
> --
> Hongzheng Wang
> Department of Electronic Engineering
> Tsinghua University
> Beijing 100084, China
> Tel: (+86 10) 6278 2690
>
>
>
> --
> To UNSUBSCRIBE, email to <email address hidden>
> with a subject of "unsubscribe". Trouble? Contact <email address hidden>