Summary: | The garbage collector is broken on linux/ppc | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Luca Barbato <lu_zero> |
Component: | General | Assignee: | Jack Moffitt <jack> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | alex, ralph.giles |
Priority: | P2 | ||
Version: | 7.07 | ||
Hardware: | Macintosh | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | obj/arch.h |
Description
Luca Barbato
2004-10-05 14:36:28 UTC
This doesn't happen on Darwin system provided by SourceForge $ uname -a Darwin ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~ 2/RELEASE_PPC Power Macintosh powerpc $ gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1493) How can I get hold on Linux on PPC? I can get you an account on a local box here (the only problem is that I'm on a dialup most time) Can you post the file you're running that shows this problem? I do regular development on linux ppc and have never noticed such a problem. Of course, we distribute none of the versions you mention. Do you mean GPL Ghostscript 8.15? That is the behaviour that applies when no arguments are given (with arguments given the result is almost the same). esp sources are the vanilla ones took from sf, the gentoo patched ones and the cvs source as was 2 days ago. gnu sources are the ones from the ghostscript-8.15.tar.bz2 tarball. afpl sources are again the ones from the official tarball. The problem appear to happen on mandrake too, leading to the very same trace. The patch for the bug 687643 helps here too. Thanks to Mr. Barbato for verifying this. *** This bug has been marked as a duplicate of 687643 *** Luca, We were just reviewing this in the context of Bug 687643, and it seems odd that this issue would be related. Just to check whether gcc 3.4 has done something odd with the ppc alignment, can you atttach the obj/arch.h you get from this bug? Created attachment 1087 [details]
obj/arch.h
I'm sorry for the delay of the reply but I got some connectivity (now hopefully
fixed) and some hardware (yet to repair, but a second battery is helping enough
to let me check email and hopefully provide the information you need).
I hope it helps.
This bug is indeed realted to the bug 687643. ARCH_ALIGN_PTR_MOD == 4 ==> sizeof(ref) == 8 ARCH_ALIGN_STRUCT_MOD == 16 When sizeof(ref) < ARCH_ALIGN_STRUCT_MOD Ghostscript requires the patch submitted on 2004-09-14 for the bug 687643. Ok, thanks; as Alex says, arch.h is complatible with the diagnosis of 687643. Closing this one (again) as a duplicate. I believe Raph has a preferred fix which will be committed after the 8.50 release freeze. *** This bug has been marked as a duplicate of 687643 *** |