This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/9518: apparent header file problems


>Number:         9518
>Category:       c++
>Synopsis:       apparent header file problems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 31 05:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Zagrabelny
>Release:        gcc version 3.2.2 20030129 (Debian prerelease)
>Organization:
>Environment:
duron processor, linux kernel 2.4.18
>Description:
#include <iostream>
 
int main(int _argc, char ** _argv){
        cout << "problem!" << endl;
        return 0;
}
>How-To-Repeat:
g++ -v -save-temps temp.cc

i am sure it will work for you, here is the output of my command:

Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20030124 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/3.2.2/cpp0 -lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ temp.cc temp.ii
GNU CPP version 3.2.2 20030129 (Debian prerelease) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/i386-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/3.2
 /usr/include/c++/3.2/i386-linux
 /usr/include/c++/3.2/backward
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/3.2.2/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-linux/3.2.2/cc1plus -fpreprocessed temp.ii -quiet -dumpbase temp.cc -version -o temp.s
GNU CPP version 3.2.2 20030124 (Debian prerelease) (cpplib) (i386 Linux/ELF)
GNU C++ version 3.2.2 20030124 (Debian prerelease) (i386-linux)
        compiled by GNU C version 3.2.2 20030124 (Debian prerelease).
In file included from /usr/include/c++/3.2/istream:297,
                 from /usr/include/c++/3.2/iostream:46,
                 from temp.cc:1:
/usr/include/c++/3.2/bits/istream.tcc:984: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


i think my header files are munged, i apologize for not knowing more.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]