Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] python-native: configure unicode to ucs4
Date: Fri, 17 Sep 2010 15:57:02 +0200	[thread overview]
Message-ID: <4C9373AE.3070302@eukrea.com> (raw)
In-Reply-To: <4C8FE671.9030205@mentor.com>

Hi,

Le 14/09/2010 23:17, Tom Rini a écrit :
> Eric Bénard wrote:
>> * while trying to run gdb from an SDK created by OE, I got the following
>> errors: /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb:
>> undefined symbol:
>> PyUnicodeUCS2_FromEncodedObject
>>
>> * the reason is that the workstation (ubuntu 10.04 or 9.01)'s Python
>> is compiled using ucs4
>> and the python-native used to create arm-angstrom-linux-gnueabi-gdb is
>> using ucs2, the
>> problem is detailed here :
>> http://docs.python.org/faq/extending#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2
>>
>>
>> * configuring python-native with ucs=4 solves this problem.
>>
>> Signed-off-by: Eric Bénard <eric@eukrea.com>
>
> Can you test this out on some form of Red Hat? Thanks!
>
generated SDK tested on Fedora Core 10 : it works.

As discussed on IRC, I RedHat is compiling it's python wuth ucs=4 at 
least since RedHat 7 from what I saw in the SRPMS.

Eric



      reply	other threads:[~2010-09-17 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14 19:39 [PATCH] python-native: configure unicode to ucs4 Eric Bénard
2010-09-14 21:17 ` Tom Rini
2010-09-17 13:57   ` Eric Bénard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C9373AE.3070302@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox