After having recently built a brand new version of 5.8.9, I'm having trouble
getting PAR::Packer installed.  Compilation consistently fails at static.c
with:

catastrophic error: The compiler has run out of memory; terminating the
compilation.

It seems to work fine with the version of perl already on the system
(ActiveState 5.8.8).  Compilation also fails for self-compiled 5.10.1.  Many
of the compiler options you will see in the logs are an attempt to copy
those that ActiveState used, but it fails with the same message when
configured with the defaults as well.

--------------
# make
        cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +Z
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED
-I/home/smiller1/bin/perl/5.8.9/IA64.ARCHREV_0/lib/5.8.9/IA64.ARCHREV_0-thread-multi/CORE
-DPARL_EXE=\"parl\" -fast +DSitanium2 +Ofltacc=strict main.c
"internals.c", line 5: warning #2236-D: controlling expression is constant
      PUSHEVAL((&cxstack[0]) , "", Nullgv);
                               ^

        cc main.o my_par_pl.o  -Wl,-E -Wl,-B,deferred   -L/usr/lib/hpux32
-L/home/smiller1/bin/perl/5.8.9/IA64.ARCHREV_0/lib/5.8.9/IA64.ARCHREV_0-thread-multi/CORE
-lperl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc -o ./par
cc: warning 983: The -lc library specified on the command line is also added
automatically by the compiler driver.
        /home/smiller1/bin/perl/5.8.9/IA64.ARCHREV_0/bin/perl -e1
        /home/smiller1/bin/perl/5.8.9/IA64.ARCHREV_0/bin/perl
./file2c.pl./par my_par.c load_my_par 0 30000
        cc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +Z
-DUSE_SITECUSTOMIZE -DNO_HASH_SEED
-I/home/smiller1/bin/perl/5.8.9/IA64.ARCHREV_0/lib/5.8.9/IA64.ARCHREV_0-thread-multi/CORE
-DPARL_EXE=\"parl\" -fast +DSitanium2 +Ofltacc=strict static.c
catastrophic error: The compiler has run out of memory; terminating the
compilation.
*** Error exit code 4

Stop.
*** Error exit code 1

Stop.
--------------

Thanks in advance,

Scott

Reply via email to