<div dir="ltr">There could be a million differences relevant (unicode, ints, ...). Perhaps the importlib bootstrap is failing. Perhaps the dynamic loading code changed. Did you get a stack track? (IIRC strace shows a syscall trace -- also useful, but doesn't tell you precisely how it segfaulted.)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 28, 2015 at 6:43 AM, Cyd Haselton <span dir="ltr"><<a href="mailto:chaselton@gmail.com" target="_blank">chaselton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
I recently ditched my attempts to port Python 2.7.8 to Android in<br>
favor of Python 3.4.2. Unfortunately, after using the same configure<br>
options in the same environment, and modifying the setup.py as needed,<br>
the newly built binary throws a segfault when the generate-posix-vars<br>
portion of the build is reached...and when it is run as well (i.e.<br>
./python --help, ./python -E -S -m sysconfig, or similar)<br>
<br>
I took a strace of ./python, however I'm a bit lost when reviewing it.<br>
Any ideas as to what may be going on...i.e. why Python 2.7 works but<br>
3.x throws a segfault?<br>
<br>
Thanks in advance,<br>
Cyd<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" target="_blank">https://mail.python.org/mailman/options/python-dev/guido%40python.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)</div>
</div>