Message6790
Logged In: YES
user_id=6380
Thanks. It looks like it's not happy with the alignment of
a pointer to double; in particular, it's in Number.__repr__
in function complexes(). I'm assuming that on your
architecture:
- sizeof(long) == 4
- a double requires 8-byte alignment
Then I believe I have a fix. Can you try this:
In Include/objimpl.h, in the structure PyGC_Head, after "int
gc_refs;" (line 272), insert another -- dummy -- int field,
e.g. "int dummy;".
Then recompile and re-run the test.
If this fixes the problem, I have some work to do, but it
would confirm my theory (that the alignment is botched
because the GC header moves the structure up 12 bytes). |
|
Date |
User |
Action |
Args |
2007-08-23 13:56:40 | admin | link | issue467145 messages |
2007-08-23 13:56:40 | admin | create | |
|