This is the mail archive of the cygwin mailing list for the Cygwin 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]

gcc crash (memory?)


I am experiencing a gcc/g++ crash when compiling polymake (the polyhedron
manipulation utility at, download at

g++ -c -o facets_from_incidence.o   -I../../../apps/polytope/include
mmon/include -I../../../modules/graph/include
-I../../../lib/poly_client/include -I../../.
./lib/PTL/include -I../../../lib/PTL/include/std
-I../../../lib/gmp_wrapper/include -march
=pentium4 -Wall -ftemplate-depth-200 -DALL_PLAUSIBLE_CHECKS=0 -O0 -MD
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:> for instructions.
make[2]: *** [facets_from_incidence.o] Error 1
make[1]: *** [do_all] Error 2
make[1]: Leaving directory
make: *** [all] Error 2

Since cc1plus is pushing the total commit charge for the machine to 1.1GB at
the point of the crash, I suspect this may be a memory-related problem. The
cc1plus process is taking 560,116KB at the moment of the crash. 

As you can see from the above, it also happens when I disable optimizations
(-O0). A successful build on a Red Hat Enterprise Linux 4 showed that
gcc/g++ needs about 1.5GB to get through

I also investigated whether this is an inherent Windows limitation. As is
well known, Windows XP allows at most 2GB of user-side memory. A test
program I wrote successfully allocated 1.7GB in 10 blocks of 170MB each on
this machine. 

Your help would be most appreciated.


Attachment: cygcheck.out
Description: Binary data

Unsubscribe info:
Problem reports:

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