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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1D3ACCAC5B5 for ; Mon, 29 Sep 2025 12:38:27 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v3D71-0005e0-DI; Mon, 29 Sep 2025 08:36:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v3D6p-0005dW-Tn for qemu-devel@nongnu.org; Mon, 29 Sep 2025 08:36:05 -0400 Received: from smtp-relay-services-0.canonical.com ([185.125.188.250]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v3D6R-0002wH-Ji for qemu-devel@nongnu.org; Mon, 29 Sep 2025 08:36:02 -0400 Received: from scripts.lp.internal (scripts.lp.internal [10.131.215.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-services-0.canonical.com (Postfix) with ESMTPSA id 2DA2B40E50 for ; Mon, 29 Sep 2025 12:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=launchpad.net; s=20210803; t=1759149330; bh=895g0oWNKq67h3iFXHfuZ3I4zY1FMVAZ1T4FQPRX/gI=; h=MIME-Version:Content-Type:Date:From:To:Reply-To:References: Message-Id:Subject; b=BJJCIukCCKSEaX33/MnNJSPf8281V3HXwFm4S1Pf5GwizJxCE5gssuaApRiFhCv0C JbFECMTlMierJvBjSqOMVAnZKqy7Z5SNLVd329O0pO6C9vbRP0fXK/tH9G2Zff9p/X Io2n5/GLvvkAHa2gtihB0XZERVSqxP5jJMxABKZMIprxoogcmbBaWT8OQYmwc0jR1k XOkB1p4YtuOOZFjFkqjR362YDqgkUrBYHXAGqR4wQZ2y8ktVQXybuA9GQbS5DXiVPR SSp1ZFikr7U0N9oaEbRXvm8Q5EjGSZWiYOaRDOqMmElwMk39ZJhHjI+9hMwsUsjqsU b9v3WyAbrKMfQ== Received: from scripts.lp.internal (localhost [127.0.0.1]) by scripts.lp.internal (Postfix) with ESMTP id 0184C7F590 for ; Mon, 29 Sep 2025 12:35:30 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Sep 2025 12:27:43 -0000 From: Launchpad Bug Tracker <2123828@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Unknown; assignee=None; X-Launchpad-Bug: distribution=ubuntu; sourcepackage=gcc-15; component=main; status=Invalid; importance=Undecided; assignee=None; X-Launchpad-Bug: distribution=ubuntu; sourcepackage=glibc; component=main; status=Invalid; importance=Undecided; assignee=None; X-Launchpad-Bug: distribution=ubuntu; sourcepackage=qemu; component=main; status=Confirmed; importance=Undecided; assignee=valentin.haudiquet@canonical.com; X-Launchpad-Bug-Tags: dcr-incoming update-excuse X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: schopin slyon vhaudiquet xypron X-Launchpad-Bug-Reporter: =?utf-8?q?Lukas_M=C3=A4rdian_=28slyon=29?= X-Launchpad-Bug-Modifier: Launchpad Janitor (janitor) References: <175793222278.1250191.6568998309826575823.malonedeb@juju-98d295-prod-launchpad-2> Message-Id: <175914886533.967377.226331067846190204.launchpad@scripts-bzrsyncd.lp.internal> Subject: [Bug 2123828] Re: RISC-V: incorrect emulation of load and store on big-endian systems X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="40c015a761d54cd531f2c57f69df2c142ef8bbda"; Instance="launchpad-scripts" X-Launchpad-Hash: ee968ee459155b8d6739eb8e788e8dc3152c9eb2 Received-SPF: pass client-ip=185.125.188.250; envelope-from=noreply@launchpad.net; helo=smtp-relay-services-0.canonical.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 2123828 <2123828@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org ** Merge proposal linked: https://code.launchpad.net/~vhaudiquet/ubuntu/+source/qemu/+git/qemu/+me= rge/493437 --=20 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/2123828 Title: RISC-V: incorrect emulation of load and store on big-endian systems Status in QEMU: New Status in gcc-15 package in Ubuntu: Invalid Status in glibc package in Ubuntu: Invalid Status in qemu package in Ubuntu: Confirmed Bug description: QEMU's DEP-8 test fails on s390x, due to warning output on stderr about "unsupported version 256 of Verdef record", which is blocking migration of glibc 2.42-0ubuntu3. Minimal reproducer: ``` ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ sudo apt update && su= do apt install qemu-user ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ dpkg -l | grep libc6 ii libc6:s390x 2.42-0ubuntu3 ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ dpkg -l | grep qemu-u= ser ii qemu-user 1:10.1.0+ds-5ubuntu1 ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ dpkg --print-architec= ture s390x ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ sudo dpkg --add-archi= tecture riscv64 ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ sudo apt update ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ sudo apt install hell= o:riscv64 ubuntu@slyon-lp-2123828-slyon-glibc-qemu-riscv64:~$ /usr/bin/qemu-riscv64= /usr/bin/hello /usr/bin/hello: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version 256= of Verdef record /usr/bin/hello: /lib/riscv64-linux-gnu/libc.so.6: unsupported version 256= of Verdef record /usr/bin/hello: /lib/riscv64-linux-gnu/libc.so.6: unsupported version 256= of Verdef record /usr/bin/hello: /lib/riscv64-linux-gnu/libc.so.6: unsupported version 256= of Verdef record /usr/bin/hello: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version 256= of Verdef record /usr/bin/hello: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version 256= of Verdef record /usr/bin/hello: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version 256= of Verdef record ``` DEP-8 logs: """ 323s =3D=3D=3D Checking if /usr/bin/qemu-riscv64 can run executables: 323s glob with sh: /usr/bin/qemu-riscv64 /bin/busybox ash -c "/usr/bin/qe= mu-riscv64 /bin/busybox ls -dCFl debian/*[t]*": 323s /bin/busybox: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libresolv.so.2: unsupported ver= sion 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version = 256 of Verdef record 323s 323s Reading package lists.../bin/busybox: /lib/riscv64-linux-gnu/libc.so= .6: unsupported version 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/riscv64-linux-gnu/libc.so.6: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version = 256 of Verdef record 323s /bin/busybox: /lib/ld-linux-riscv64-lp64d.so.1: unsupported version = 256 of Verdef record 323s Expected output not found [...] 328s autopkgtest [22:14:52]: @@@@@@@@@@@@@@@@@@@@ summary 328s test-qemu-img.sh PASS (superficial) 328s test-qemu-system.sh PASS (superficial) 328s test-qemu-user.sh FAIL stderr: /bin/busybox: /lib/ld-linux-riscv6= 4-lp64d.so.1: unsupported version 256 of Verdef record """ To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/2123828/+subscriptions