Summary: | gs 8.64 binary is 3X larger than gs 8.63 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | William Bader <williambader> |
Component: | Regression | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
William Bader
2009-02-19 15:33:42 UTC
Surprising. Are you sure you used the same build configuration? I get 13 MB for 8.64 vs 10 MB for 8.63 on my x86_64 linux system. With --disable-compile-inits, my 8.63 build is 7 MB. Can you reproduce the 3.4 MB size? The included font set is a little bigger in 8.64, but not enough to explain the difference you're seeing. Thanks! I build with my own script. The problem was that the default for COMPILE_INITS changed with gs8.64. $ diff gs8.63/src/unix-gcc.mak gs8.64/base/unix-gcc.mak | grep COMPILE_INITS < COMPILE_INITS=0 > COMPILE_INITS=1 I added COMPILE_INITS=0 to my make command line, and the size went down. $ ls -l gs8.63/gs.lin gs8.64/gs.lin -rwxrwxrwx 1 william users 3386464 2009-01-23 11:59 gs8.63/gs.lin -rwxrwxrwx 1 william users 3483420 2009-02-20 02:41 gs8.64/gs.lin I reread the change logs, and I see that this is documented: 2009-01-27T20:43:37.567128Z Ralph Giles Update documentation on the COMPILE_INITS makefile variable. In particular, it's normally no longer 0. Ok, glad that explains the discrepancy. |