Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10254 > unrolled thread
| Started by | "Robert P. J. Day" <rpjday@crashcourse.ca> |
|---|---|
| First post | 2011-07-24 21:49 -0400 |
| Last post | 2011-07-24 21:49 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o "Robert P. J. Day" <rpjday@crashcourse.ca> - 2011-07-24 21:49 -0400
| From | "Robert P. J. Day" <rpjday@crashcourse.ca> |
|---|---|
| Date | 2011-07-24 21:49 -0400 |
| Subject | cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o |
| Message-ID | <mailman.1447.1311587728.1164.python-list@python.org> |
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/unicodedata.so
Modules/unicodedata.o: file not recognized: File truncated
collect2: ld returned 1 exit status
Makefile:1159: *** [Modules/unicodedata.so] Error 1
... snip ...
#0 Modules/unicodedata.so at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:1159
#1 oldsharedmods at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:440
#2 all at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:353
Command-line arguments:
"OPT=-g -O2 -fomit-frame-pointer -pipe -g -O2
-fomit-frame-pointer -pipe -D_GNU_SOURCE -fPIC -I=/usr/include
-I=/home/rpjday/workspace/8548_prj/host-cross/powerpc-wrs-linux-gnu/sysroot/usr/include/krb5
DESTDIR=/home/rpjday/workspace/8548_prj/host-cross/powerpc-wrs-linux-gnu/sysroot/usr/lib/../..
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen"
error: Bad exit status from
/home/rpjday/workspace/8548_prj/build/python-2.5.1/rpm-tmp.86223
(%build)
... 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
this?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
Back to top | Article view | comp.lang.python
csiph-web