[Python-Dev] Python build trouble with the new gcc/binutils

Guido van Rossum guido@python.org
Fri, 16 Aug 2002 14:51:18 -0400


> I've narrowed it down somewhat.
> 
> Apparently what happens is that setup.py successfully installs the
> "struct" extension (or so it thinks), then crashes when it is trying
> to import it.  After it has done so, I can duplicate the crash by
> executing ./python and then typing
> 
> 	  import struct
> 
> so I don't have to run setup.py at all to cause the crash at that
> point.
> 
> I'm trying to rebuild without dynamic loading now, to see what happens.

I'm sure the 'struct' module is implicated only because it happens to
be the first module that setup.py tries to build.

This points to a problem with the dynamic linker.

--Guido van Rossum (home page: http://www.python.org/~guido/)