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

Jarl Gullberg report at bugs.python.org
Tue May 28 11:37:32 EDT 2019


New submission from Jarl Gullberg <jarl.gullberg at gmail.com>:

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 <report at bugs.python.org>
<https://bugs.python.org/issue37080>
_______________________________________


More information about the New-bugs-announce mailing list