cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o

Robert P. J. Day rpjday at
Mon Jul 25 03:49:13 CEST 2011

  not sure if this is the right list for this, but it's a starting
point.  i'm using a wind river linux development environment to build
a full system for a powerpc board, and that includes cross-compiling
python-2.5.1 for ppc.  the compile fails thusly:

powerpc-wrs-linux-gnu-ppc_e500v2-glibc_std-gcc -shared
Modules/unicodedata.o   -o Modules/
Modules/unicodedata.o: file not recognized: File truncated
collect2: ld returned 1 exit status
Makefile:1159: *** [Modules/] Error 1

... snip ...
#0  Modules/ at
#1  oldsharedmods at
#2  all at
Command-line arguments:
        "OPT=-g -O2 -fomit-frame-pointer -pipe -g -O2
-fomit-frame-pointer -pipe -D_GNU_SOURCE -fPIC -I=/usr/include
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen"
error: Bad exit status from
... snip ...

  you can see that the file Modules/unicodedata.o is flagged as not
recognized.  in fact, it exists but is empty.  i'm going to continue
digging around but i'm open to suggestions.  i also have the full 1700
lines of output from the beginning of the cross-compile if anyone
wants to see it.  thanks, and is there a more appropriate place to ask



Robert P. J. Day                                 Ottawa, Ontario, CANADA


More information about the Python-list mailing list