When compiling Ghostscript for 64 bit (LP64) Unix configurations, precompiled fonts produce incorrect code which results in all documents being rejected when Ghostscript initialises. The problem is in ccfont.h. The integer_v and real_v macros at lines 30 and 32 produce 32 bit aligned structures which should be 64 bit aligned. I kludged my way around the problem by replacing line 29 #define ref_(t) struct { struct tas_s tas; t value; } with the following struct tasc_s { union tasc_v { ushort type_attrs; void *alignxx; } tasc_val; }; #define ref_(t) struct { struct tasc_s tas; t value; }
reporter submitted the same bug twice. *** This bug has been marked as a duplicate of 689341 ***