Bug with getopt on sparc64?

Martin v. Loewis martin at v.loewis.de
Sun Nov 10 02:55:32 EST 2002


Chris Humphries <chumphries at devis.com> writes:

>    while working on getting the python port for openbsd to compile,
>  it seems to break when doing the "./python setup.py build".

Are you creating 64-bit binaries, or 32-bit binaries? If 64-bit
binaries, what compiler? If gcc 2: don't. That compiler is known to
produce bad executables. Generate 32-bit binaries instead.

> Core was generated by `python'.
> Program terminated with signal 10, Bus error.
> #0  0x135408 in _PyOS_GetOpt ()

So what source code line does it show you (command l)? What is the
current instruction (command disass)? What registers are involved in
the current instruction? What are the values of these registers
(command info reg)?

Regards,
Martin



More information about the Python-list mailing list