Python 3.7.4 does not build on Raspbian Buster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
This is a cross-posting of a bug already reported at https:/
Just like the title says, Python 3.7.4 does not build in Raspbian Buster (tested on a Raspberry Pi 3B+).
Apparently the same bug is affecting the building of Python 2.7.16, too.
Copying the details from the bug report at bugs.python.org:
Like the title says.
Tried building with these `configure` options:
--enable-
--with-lto \
--enable-shared \
--enable-
--enable-ipv6 \
--with-
--with-
--with-
--with-
--with-pymalloc \
--with-
--with-
And `CFLAGS="-O3 -march=native"`
But got this error message:
```
/usr/bin/ld: ./libpython3.7m.so: undefined reference to `__gcov_
/usr/bin/ld: ./libpython3.7m.so: undefined reference to `__gcov_
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:733: Programs/
make[3]: Leaving directory '/tmp/python-
make[2]: *** [Makefile:521: build_all_
make[2]: Leaving directory '/tmp/python-
make[1]: *** [Makefile:497: profile-gen-stamp] Error 2
make[1]: Leaving directory '/tmp/python-
make: *** [Makefile:509: profile-run-stamp] Error 2
```
Complete build log attached.
It appears that it may have something to do with binutils being broken?
Please refer to my comment in the other bug report: https:/ /bugs.python. org/issue37595# msg348834