Building Python 2.2.1 for HP Tru64 UNIX V4.0F
Michael Hudson
mwh at python.net
Wed Oct 9 12:38:46 EDT 2002
Skip Montanaro <skip at pobox.com> writes:
> Narendra> I'm trying to build Python 2.2.1 for HP (COMPAQ) Tru64 UNIX
> Narendra> V4.0F with the debug option.
>
> Narendra> The build fails in Python/marshal.c:
>
> Narendra> cc -c -O -Olimit 1500 -I. -I./Include -DHAVE_CONFIG_H -o Python/marshal.o
> Narendra> Python/marshal.c
> Narendra> cc: Error: Python/marshal.c, line 64: Invalid expression. (badexpr)
> Narendra> *p->ptr++ = Py_SAFE_DOWNCAST(c, int, char);
> Narendra> ----------------------------^
> Narendra> cc: Error: Python/marshal.c, line 64: Invalid statement. (badstmt)
> Narendra> *p->ptr++ = Py_SAFE_DOWNCAST(c, int, char);
> Narendra> ----------------------------^
> Narendra> *** Exit 1
> Narendra> Stop.
>
> Can you check the 2.2.2 branch out of CVS or download the recently announced
> 2.2.2b1 and give it a try to see if this problem still exists? Failing
> that, submitting a patch to SourceForge is the best way to get the problem
> looked at.
It did:
2002/09/24 11:55:54 mwh Python/marshal.c 1.69.8.1
backport theller's checkin of
revision 1.73 of marshal.c
Fix SF 588452: debug build crashes on marshal.dumps([128] * 1000).
See there for a description.
Added test case.
Bugfix candidate for 2.2.x, not sure about previous versions:
probably low priority, because virtually no one runs debug builds.
Cheers,
M.
--
And then the character-only displays went away (leading to
increasingly silly graphical effects and finally to ads on
web pages). -- John W. Baxter, comp.lang.python
More information about the Python-list
mailing list