Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!news2.arglkargh.de!news.wiretrip.org!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'skip:p 40': 0.04; 'skip:- 90': 0.07; 'suggestions.': 0.07; 'command-line': 0.09; 'subject:Modules': 0.09; 'to:name:python mailing list': 0.09; 'output': 0.11; 'subject:error': 0.11; 'error:': 0.12; 'skip:[ 20': 0.12; 'subject:python': 0.12; '-shared': 0.16; 'arguments:': 0.16; 'ontario,': 0.16; 'powerpc': 0.16; 'received:cable.rogers.com': 0.16; 'received:cpe.net.cable.rogers.com': 0.16; 'received:net.cable.rogers.com': 0.16; 'subject: \n ': 0.16; 'truncated': 0.16; 'wind': 0.16; 'skip:= 70': 0.17; 'thanks,': 0.17; 'linux': 0.18; 'exists': 0.19; 'appropriate': 0.20; 'this?': 0.22; "i'm": 0.27; 'compile': 0.29; 'exit': 0.29; 'subject:skip:u 10': 0.29; 'url:ca': 0.29; 'environment': 0.29; '1700': 0.30; 'lines': 0.31; 'error': 0.31; 'list': 0.32; 'it.': 0.33; 'anyone': 0.33; 'url:in': 0.33; 'to:addr:python-list': 0.34; 'header:User- Agent:1': 0.34; 'there': 0.34; '...': 0.34; 'starting': 0.35; 'charset:us-ascii': 0.36; 'subject:/': 0.36; 'file': 0.36; 'beginning': 0.36; 'open': 0.37; 'but': 0.37; 'using': 0.37; 'board,': 0.38; 'returned': 0.39; 'to:addr:python.org': 0.39; 'full': 0.63; 'day': 0.69; '***': 0.73; 'flagged': 0.84; 'skip:d 90': 0.84; 'skip:/ 60': 0.91; 'river': 0.93 Date: Sun, 24 Jul 2011 21:49:13 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost6.localdomain6 To: Python Mailing List Subject: cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311587728 news.xs4all.nl 23962 [2001:888:2000:d::a6]:39920 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10254 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 ========================================================================