From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C580C433E0 for ; Fri, 8 Jan 2021 11:31:05 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA4F8239FC for ; Fri, 8 Jan 2021 11:31:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA4F8239FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxpyx-0006Wf-FI for qemu-devel@archiver.kernel.org; Fri, 08 Jan 2021 06:31:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxpwM-0005Do-AY for qemu-devel@nongnu.org; Fri, 08 Jan 2021 06:28:22 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:44907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxpwK-0000Hh-AN for qemu-devel@nongnu.org; Fri, 08 Jan 2021 06:28:22 -0500 Received: by mail-oi1-f181.google.com with SMTP id d189so10928124oig.11 for ; Fri, 08 Jan 2021 03:28:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=S80ZtTC6km0r13uKHFUfNFhYdqrSHnMmZ6G6uwFQpFI=; b=QeyaYMh/XDck1VT8MatXUiKm4wqD672mF0XcWKqbGMKhkqVX3+xzRQBZ1BRefuftoc JJyEzx31O/T8eDt1nYzquadId3bSSDqjttBWkYXvwkDtyFa1+6Z7AsngB2FQx0iJ0lc4 sspwkoxIwyyeaNVnNI+qqAOglkLLAVlXjC6j0tr1yqlotlhSaFipiUcaCYcfgw8/iD6w NusDIeA8OteTJKBMT1KLYX681ZE18Lm/5u4+zbSV8HAcPNCPixd/Yd+aa+62Qz/lOake PnjwxygNeKmBjwmETlp8iCHul/fhtXPPBAjPFkapJiXpAtidomW1qX86U0uQlQ5eYx5d EEcA== X-Gm-Message-State: AOAM530hEbZkkr6eos057KnxuX/RZpAHBErzZ2QwUcXN6TPGx/6xZVNZ dDe18baSJUcJhOkBNS1jHuLaTXrkHjQ2L+QLMBw= X-Google-Smtp-Source: ABdhPJxpKtAus5KyrLHWpLwh9Z3ROs83jFBzasg0zzKiK9HOZA6uxFDzb1wO3xG1KQtnjMxLGHuejrhi7TlALbfXe4s= X-Received: by 2002:aca:58d6:: with SMTP id m205mr1946644oib.121.1610105299185; Fri, 08 Jan 2021 03:28:19 -0800 (PST) MIME-Version: 1.0 References: <20210107222253.20382-1-f4bug@amsat.org> In-Reply-To: From: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Date: Fri, 8 Jan 2021 12:28:07 +0100 Message-ID: Subject: Re: [PULL 00/66] MIPS patches for 2021-01-07 To: Peter Maydell Content-Type: multipart/alternative; boundary="00000000000068b43805b861da3b" Received-SPF: pass client-ip=209.85.167.181; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-oi1-f181.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aleksandar Rikalo , kvm-devel , Paul Burton , Libvirt , Huacai Chen , Richard Henderson , "qemu-devel@nongnu.org Developers" , Laurent Vivier , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --00000000000068b43805b861da3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Peter, Le ven. 8 janv. 2021 11:35, Peter Maydell a =C3=A9crit : > On Thu, 7 Jan 2021 at 22:25, Philippe Mathieu-Daud=C3=A9 > 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=3Ddecode_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 > 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) > My lastname in the copyright line =3D) [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=3D > 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 > 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. > Can you provide more information on your host so we can cover it in Gitlab-CI? Thanks, Phil. > --00000000000068b43805b861da3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Peter,

Le ven. 8 janv. 2021 11:35, Peter Ma= ydell <peter.maydell@linaro.= org> a =C3=A9crit=C2=A0:
On = Thu, 7 Jan 2021 at 22:25, Philippe Mathieu-Daud=C3=A9 <f4bug@amsat.org&= gt; wrote:
>
> The following changes since commit 470dd6bd360782f5137f7e3376af6a44658= eb1d3:
>
>=C2=A0 =C2=A0Merge remote-tracking branch 'remotes/stsquad/tags/pul= l-testing-060121-4' into staging (2021-01-06 22:18:36 +0000)
>
> are available in the Git repository at:
>
>=C2=A0 =C2=A0https://gitlab.com/philmd/qemu.git= tags/mips-20210107
>
> for you to fetch changes up to f97d339d612b86d8d336a11f01719a10893d670= 7:
>
>=C2=A0 =C2=A0docs/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&= #39;.
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=3Ddecode_mips64r6 -o libqemu-mipsel-softmmu.fa.p/decode-mips64r6.c.inc Traceback (most recent call last):
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
1397, in <module>
=C2=A0 =C2=A0 main()
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
1308, in main
=C2=A0 =C2=A0 parse_file(f, toppat)
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
994, in parse_file
=C2=A0 =C2=A0 for line in f:
=C2=A0 File "/usr/lib/python3.6/encodings/ascii.py", line 26, in = decode
=C2=A0 =C2=A0 return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in pos= ition
80: ordinal not in range(128)

My lastname in the copyright line =3D)

[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=3D
decode_msa64 -o libqemu-mipsel-softmmu.fa.p/decode-msa64.c.inc
Traceback (most recent call last):
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
1397, in <module>
=C2=A0 =C2=A0 main()
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
1308, in main
=C2=A0 =C2=A0 parse_file(f, toppat)
=C2=A0 File "/home/petmay01/qemu-for-merges/scripts/decodetree.py"= ;, line
994, in parse_file
=C2=A0 =C2=A0 for line in f:
=C2=A0 File "/usr/lib/python3.6/encodings/ascii.py", line 26, in = decode
=C2=A0 =C2=A0 return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in pos= ition
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.

Can you provide more info= rmation on your host so we can cover it in Gitlab-CI?

Thanks,=C2=A0

Phil.
--00000000000068b43805b861da3b--