Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc1plus: out of memory allocating for make in Parser #472

Closed
veripoolbot opened this issue Mar 28, 2012 · 1 comment
Closed

cc1plus: out of memory allocating for make in Parser #472

veripoolbot opened this issue Mar 28, 2012 · 1 comment
Assignees

Comments

@veripoolbot
Copy link
Collaborator


Author Name: lionhead wang
Original Redmine Issue: 472 from https://www.veripool.org
Original Date: 2012-03-28
Original Assignee: Wilson Snyder (@wsnyder)


I'm install on cgwin in winxp. gcc version 3.3.3

Administrator@com ~/.cpan/build/Verilog-Perl-3.314
$ make
make[1]: Entering directory `/home/Admin/.cpan/build/Verilog-Perl-3.314/Parser'
g++ -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include
-DUSEIMPORTLIB -I../Preproc -O -O   -DVERSION=\"3.314\" -DXS_VERSION=\"3.314\"
"-I/usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE"   VParseLex.cpp

cc1plus: out of memory allocating 1124932116 bytes after a total of 158138368 b
tes
make[1]: *** [VParseLex.o] Error 1
make[1]: Leaving directory `/home/Admin/.cpan/build/Verilog-Perl-3.314/Parser'
make: *** [subdirs] Error 2

Administrator@com ~/.cpan/build/Verilog-Perl-3.314
$ cd Parser/

Administrator@com ~/.cpan/build/Verilog-Perl-3.314/Parser
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs
Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr --exec-pref
x=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/
hare/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc
pascal --enable-nls --without-included-gettext --enable-libgcj --with-system-zl
b --enable-interpreter --enable-threads=posix --enable-java-gc=boehm --enable-s
lj-exceptions --disable-version-specific-runtime-libs --disable-win32-registry
Thread model: posix
gcc version 3.3.3 (cygwin special)

Administrator@com ~/.cpan/build/Verilog-Perl-3.314/Parser

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2012-03-28T22:08:25Z


GCC is a memory hog, probably it just needs more than 1GB. If you really don't have more memory than that you can try to remove the "-O" flags to turn off optimizations. (cd to the directory shown, then cut the gcc line from the message and paste without the "-O -O".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants