[Bug 2000239] Re: Segfault by ldconfig.real in Ubuntu for Xilinx
Hon Ming Hui
2000239 at bugs.launchpad.net
Tue Mar 7 09:48:05 UTC 2023
I am assuming you are running the build-sysroot.sh and encounter the
error.
The script is originally designed for a Ubuntu host to cross compile
with the sysroot on target Xilinx device. I am suspecting the error
comes either from the difference in the host tools version(Debian 10 has
an older glibc version and the kernel in WSL is properly different too)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2000239
Title:
Segfault by ldconfig.real in Ubuntu for Xilinx
Status in glibc package in Ubuntu:
New
Bug description:
When trying to install any additional package to the 'Sysroot for
cross-compilation'
(https://people.canonical.com/~platform/images/xilinx/kria-
ubuntu-22.04/iot-limerick-kria-classic-
desktop-2204-x06-20220614-78-sysroot.tar.xz?_ga=2.175093282.1232585684.1671609425-2015364329.1671609425,
linked at https://ubuntu.com/download/amd-xilinx) I get a segmentation
fault caused by ldconfig called by libc-bin.postinst:
```
Setting up libc-bin (2.35-0ubuntu3.1) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
libc-bin
```
Downgrading libc-bin to version 2.31 fixes this issue. 2.35 and 2.36
both equally result in the segfault.
The host system is:
Description: Debian GNU/Linux 10 (buster)
Release: 10
running on Windows Subsystem Linux.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2000239/+subscriptions
More information about the foundations-bugs
mailing list