[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#971537: Impossible to run /sbin/ldconfig on buster using qemu-i386-static



control: reassign -1 qemu-user-static
control: found -1 qemu-user-static/1:3.1+dfsg-8
control: fixed -1 qemu-user-static/1:5.0-1
control: affect -1 libc-bin

Hi,

On 2020-10-01 18:11, Rudra Saraswat wrote:
> Package: libc-bin
> Version: 2.28-10
> 
> It impossible to run /sbin/ldconfig using qemu-i386-static (debootstrap
> --foreign chroot) on a Raspberry Pi 4B with libc-bin at 2.28-10 (on Debian
> Buster in the debootstrap chroot). However, it does work on a stretch
> debootstrap chroot, without any errors.
> 
> Here is the error encountered with Buster:
> 
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped

This is an issue that is not specific to the Raspberry Pi 4B or even
arm64, but can be reproduced on amd64. It affects all 32-bit emulated
target when running PIE binaries. This has been fixed in qemu 5.0 by the
following upstream commit:

https://git.qemu.org/?p=qemu.git;a=commit;h=6fd5944980f4ccee728ce34bdaffc117db50b34d

> Multiple people have faced this issue, which is why I'm reporting it as a
> bug.
> 
> On all setups, Debian Buster/Raspbian Buster is used as the operating
> system.

This is definitely not a glibc bug. I am therefore reassigning the bug
to QEMU. Note that you might fix the issue by installing a recent
version of qemu-user-static in your chroot.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: