Subject: | Problem building Verilog-Perl 3.024 |
Date: | Thu, 17 Apr 2008 19:16:51 +0100 |
To: | <bug-Verilog-Perl [...] rt.cpan.org> |
From: | "Jeremy Bennett" <jeremy [...] jeremybennett.com> |
I'm having a consistent problem building Verilog-Perl 3.024. I'm running
under Linux Centos 4.6 with GCC 3.4.4, Bison 2.3 and Perl 5.8.5. An early
g++ compilation fails running out of memory (I am on a 2GB Core2 Duo).
If the next command fails, you probably need to install Bison 1.875 or newer
bison -d -v --debug --verbose -d -k VParseBison.y -pVParseBison -o
VParseBison.c (grep conflicts VParseBison.output || mv VParseBison.c
VParseBison.cpp ) rm -rf VParseBison.c
g++ -c -I. -Isrc -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I../Preproc/src -O2 -g -pipe
-m32 -march=i386 -mtune=pentium4 -DVERSION=\"3.024\"
-DXS_VERSION=\"3.024\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" VParseLex.cpp
cc1plus: out of memory allocating 2784332848 bytes after a total of
17297408 bytes
make[1]: *** [VParseLex.o] Error 1
make[1]: Leaving directory
`/home/jeremy/Tools/Verilator/Verilog-Perl-3.024/Parser'
make: *** [subdirs] Error 2
I've hit the same error with GCC 3.4.6, GCC 4.3.0 and Bison 1.875c.
I suspect this is just a problem with compiler versions - any advice much
appreciated.
Thanks,
Jeremy Bennett
---------------------------------
Tel: +44 1202 417007
Cell: +44 7970 676050
SkypeID: jeremybennett
Email: jeremy@jeremybennett.com
Web: www.jeremybennett.com