Python Forum

Full Version: Float operations not working after cross-compilation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm trying to run python3.6.5 in PowerPC architecture.
So far, I'm facing a problem with built-in float operations - always return same magic number:

Python 3.6.5 (default, Jun 29 2018, 17:39:38)
[GCC 4.3.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> 0.1*2
-5.3140116856411011e+303
>>>

Any ideas what this could be?

These are the configure switches used:
./configure --host=powerpc-linux-gnu --build=x86_64-pc-linux-gnu \
--disable-ipv6 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no \
ac_cv_have_long_long_format=yes

Thanks!