On Thu, 7 Jan 2021 at 22:25, Philippe Mathieu-Daudé <f4bug(a)amsat.org> wrote:
The following changes since commit 470dd6bd360782f5137f7e3376af6a44658eb1d3:
Merge remote-tracking branch 'remotes/stsquad/tags/pull-testing-060121-4' into
staging (2021-01-06 22:18:36 +0000)
are available in the Git repository at:
https://gitlab.com/philmd/qemu.git tags/mips-20210107
for you to fetch changes up to f97d339d612b86d8d336a11f01719a10893d6707:
docs/system: Remove deprecated 'fulong2e' machine alias (2021-01-07 22:57:49
+0100)
----------------------------------------------------------------
MIPS patches queue
- Simplify CPU/ISA definitions
- Various maintenance code movements in translate.c
- Convert part of the MSA ASE instructions to decodetree
- Convert some instructions removed from Release 6 to decodetree
- Remove deprecated 'fulong2e' machine alias
Hi; this failed to build on some of my hosts:
[1/4674] Generating 'libqemu-mipsel-softmmu.fa.p/decode-mips64r6.c.inc'.
FAILED: libqemu-mipsel-softmmu.fa.p/decode-mips64r6.c.inc
/usr/bin/python3 /home/petmay01/qemu-for-merges/scripts/decodetree.py
../../target/mips/mips64r6.decode --static-deco
de=decode_mips64r6 -o libqemu-mipsel-softmmu.fa.p/decode-mips64r6.c.inc
Traceback (most recent call last):
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
1397, in <module>
main()
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
1308, in main
parse_file(f, toppat)
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
994, in parse_file
for line in f:
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
80: ordinal not in range(128)
[2/4674] Generating 'libqemu-mipsel-softmmu.fa.p/decode-msa64.c.inc'.
FAILED: libqemu-mipsel-softmmu.fa.p/decode-msa64.c.inc
/usr/bin/python3 /home/petmay01/qemu-for-merges/scripts/decodetree.py
../../target/mips/msa64.decode --static-decode=
decode_msa64 -o libqemu-mipsel-softmmu.fa.p/decode-msa64.c.inc
Traceback (most recent call last):
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
1397, in <module>
main()
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
1308, in main
parse_file(f, toppat)
File "/home/petmay01/qemu-for-merges/scripts/decodetree.py", line
994, in parse_file
for line in f:
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
93: ordinal not in range(128)
etc.
Looks like decodetree fails to cope with non-ASCII characters in
its input file -- probably this depends on the host locale settings:
I think these hosts run in the 'C' locale.
thanks
-- PMM