[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-05-28 Thread Jarl Gullberg


New submission from Jarl Gullberg :

I am currently trying to compile the latest stable release of Python (3.7.3 at 
the time of writing) on a small ARM device (a DNS-323A1 NAS), running Alt-F (a 
custom linux-based firmware) using GCC 4.3.3. Unfortunately, I've hit a major 
snag that I just can't seem to get past.

In short, the compilation goes well until the [sharedmods] stage, where it 
encounters an error related to readline and the module not having been compiled 
with -fPIC. I've included a truncated log (taken from a second make invocation 
after the first failed) that displays the issue.

This is the ./configure invocation I've used:
'--prefix=/usr' '--enable-shared' '--with-system-expat' '--with-system-ffi' 
'--with-ensurepip=yes' '--enable-optimizations' '--enable-ipv6' 'CFLAGS=-fPIC' 
'CXXFLAGS=-fPIC'

Any assistance would be much appreciated.

--
components: Build
files: make.log
messages: 343796
nosy: Jarl Gullberg
priority: normal
severity: normal
status: open
title: Cannot compile Python3.7.3 on Alt-F (ARM)
type: compile error
versions: Python 3.7
Added file: https://bugs.python.org/file48374/make.log

___
Python tracker 
<https://bugs.python.org/issue37080>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-06-02 Thread Jarl Gullberg


Jarl Gullberg  added the comment:

That's correct, CPython. I'm not sure if MicroPython would fit the bill for
me, since this system is a full-blown Linux system.

On Fri, 31 May 2019 at 23:26, Terry J. Reedy  wrote:

>
> Terry J. Reedy  added the comment:
>
> I presume you are trying to compile CPython.  Perhaps you might do better
> with MicroPython, designed for micro devices.  Steve, do you know anything
> about CPython on Arm with linux?
>
> --
> nosy: +steve.dower, terry.reedy
>
> ___
> Python tracker 
> <https://bugs.python.org/issue37080>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue37080>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37080] Cannot compile Python3.7.3 on Alt-F (ARM)

2019-06-02 Thread Jarl Gullberg


Jarl Gullberg  added the comment:

After some more testing, I can add that the same issue crops up when attempting 
to compile Python 2.7.16 as well.

--

___
Python tracker 
<https://bugs.python.org/issue37080>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com