blob: e046c626977a829e0678ab6856cd2a116b47c43e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
qemu-alpha linux-user breaks python3.6
Running on Gentoo Linux in a chroot environment:
# python3 -c 'import selectors; selectors.DefaultSelector()'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/selectors.py", line 349, in __init__
self._selector = self._selector_cls()
OSError: [Errno 22] Invalid argument
However, on real hardware, with the same binaries there is no exception.
This impacts whole python3 based Gentoo ebuild system (package management), and renders linux user mode alpha emulation in chroot environment building useless, more or less.
The used systems:
# qemu-alpha --version
qemu-alpha version 4.2.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
# uname -a
Linux blackbird 5.4.28-gentoo-blackbird-06 #2 SMP Sat Apr 4 13:13:10 CEST 2020 x86_64 AMD Ryzen 5 3600 6-Core Processor AuthenticAMD GNU/Linux
(chroot)# python3 --version
Python 3.7.7
|