This is the mail archive of the gcc-bugs@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]

g++: Internal error: Segmentation fault (program collect2)


Hi buglist, hope this is the correct way of reporting a bug.
I get this error with two different versions of g++. The attached code
that generates the error is just a little experiment concerning
exceptions. The same code compiles OK with MS Visual C++.

Thank you for this great software!
Gratefully
Torben Neesgaard


The error message:
H:\>g++ -o con constructException.cpp
g++: Internal error: Segmentation fault (program collect2)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


The two g++ versions:
gcc version 3.2 20020927 (prerelease)
gcc version 2.95.3-5 (cygwin special)


Compiler information:
H:\>g++ -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,java --enable-libgcj -
-enable-threads=posix --with-system-zlib --enable-nls
--without-included-gettext --enable-interprete
r --disable-sjlj-exceptions --disable-version-specific-runtime-libs
--enable-shared --build=i686-pc-
linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa
--prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include
--libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)

Attachment: constructException.cpp
Description: constructException.cpp


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