[issue37595] Python 3.7.4 does not build on Raspbian Buster with optimizations

2022-01-13 Thread Christian Heimes


Christian Heimes  added the comment:

./configure --enable-optimizations && make is passing for 3.9 branch on 
Raspbian Buster with latest updates. I tested it on one of my Raspberry Pi 3 
Model B Rev 1.2 in the morning. Python 3.7 and 3.8 are in security fix-only 
mode and therefore no longer in scope.

--
nosy: +christian.heimes
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



[issue37595] Python 3.7.4 does not build on Raspbian Buster with optimizations

2022-01-12 Thread Irit Katriel


Irit Katriel  added the comment:

Closed issue38204 as a duplicate of this. I don't know whether the problem 
still exists in current python versions.

--
nosy: +iritkatriel
title: Python 3.7.4 does not build on Raspbian Buster -> Python 3.7.4 does not 
build on Raspbian Buster with optimizations

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-08-01 Thread Kal Sze


Kal Sze  added the comment:

Yes, removing --enable-optimizations and keeping all other configure options 
allows me to build.

However, I think most people *do* want optimizations, especially because the 
Raspberry Pi itself already isn't very fast.

--

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Benjamin Peterson


Benjamin Peterson  added the comment:

Presumably dropping --enable-optimizations will fix this problem.

--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Kal Sze


Kal Sze  added the comment:

Sorry, I meant most up-to-date version of binutils in Raspbian *Buster* in my 
previous message.

--

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-31 Thread Kal Sze


Kal Sze  added the comment:

I looked at my build log again.

The very first line that jumps out as abnormal is this:

/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref

A quick DuckDuckGoing suggests that this *may* be related to a broken version 
of binutils: 
https://lists.gnu.org/archive/html/bug-binutils/2018-07/msg00150.html

The current, most up-to-date version of binutils in Raspbian Stretch is this:

$ dpkg -l binutils
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   VersionArchitecture Description

+++-==-==--==
ii  binutils   2.31.1-16+rpi1 armhfGNU assembler, linker and 
binary utilities

A quick grep of the output of `apt changelog binutils` doesn't mention the bug 
number (23425).

I don't know what conclusion to draw.

--

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-24 Thread Thomas Knox


Thomas Knox  added the comment:

Any update on this? This is biting me too.

I've tested on a Raspberry Pi 3B+, a 4B and a Zero W all running buster. All of 
them exhibit this same behavior.

Also, this same error is preventing Python 2.7.16 from compiling on the same 
hardware.

--
nosy: +DNSGeek

___
Python tracker 

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



[issue37595] Python 3.7.4 does not build on Raspbian Buster

2019-07-14 Thread Kal Sze


New submission from Kal Sze :

Like the title says.

Tried building with these `configure` options:

--enable-optimizations \
--with-lto \
--enable-shared \
--enable-loadable-sqlite-extensions \
--enable-ipv6 \
--with-system-expat \
--with-system-ffi \
--with-system-libmpdec \
--with-doc-strings \
--with-pymalloc \
--with-c-locale-coercion \
--with-ensurepip=upgrade

And `CFLAGS="-O3 -march=native"`

But got this error message:

```
/usr/bin/ld: ./libpython3.7m.so: undefined reference to 
`__gcov_pow2_profiler_atomic'
/usr/bin/ld: ./libpython3.7m.so: undefined reference to 
`__gcov_average_profiler_atomic'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:733: Programs/_testembed] Error 1
make[3]: Leaving directory '/tmp/python-build.20190712163526.2762/Python-3.7.4'
make[2]: *** [Makefile:521: build_all_generate_profile] Error 2
make[2]: Leaving directory '/tmp/python-build.20190712163526.2762/Python-3.7.4'
make[1]: *** [Makefile:497: profile-gen-stamp] Error 2
make[1]: Leaving directory '/tmp/python-build.20190712163526.2762/Python-3.7.4'
make: *** [Makefile:509: profile-run-stamp] Error 2
```

--
components: Build
files: python-build.20190711104717.24526.log
messages: 347948
nosy: kal.sze
priority: normal
severity: normal
status: open
title: Python 3.7.4 does not build on Raspbian Buster
type: compile error
versions: Python 3.7
Added file: 
https://bugs.python.org/file48482/python-build.20190711104717.24526.log

___
Python tracker 

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