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

2022-01-23 Thread Irit Katriel


Irit Katriel  added the comment:

3.7 is no longer maintained. Please create a new issue if you are having this 
problem with a current version (>= 3.9).

--
nosy: +iritkatriel
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
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)

2021-09-29 Thread STINNER Victor


STINNER Victor  added the comment:

> Use GCC option -fPIC for shared objects, please

Did you try that? I guess that the configure.ac block about CCSHARED="-fPIC" 
doesn't handle your operating system.

Try to modify manually Makefile to use "CCSHARED=-fPIC", make clean, and try 
make again.

I suggest starting without --enable-optimizations until you solve the build 
errors.

--
nosy: +vstinner

___
Python tracker 

___
___
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)

2021-09-29 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Jarl, I don't know if we support compiling on such devices, even though the OS 
is linux.  I suggest that you ask on python-list, where someone might have the 
experience to help you.

--

___
Python tracker 

___
___
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 

___
___
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 
> 
> ___
>

--

___
Python tracker 

___
___
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-05-31 Thread Terry J. Reedy


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 

___
___
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-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 

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