buggy libc.so created for non-default 32bit multlibs

Bug #1941710 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cross-toolchain-base (Ubuntu)
New
Undecided
Unassigned

Bug Description

buggy libc.so created for non-default 32bit multilibs, e.g.

$ dpkg -x libc6-dev-s390-s390x-cross_2.34-0ubuntu1cross2_all.deb .
$ cat usr/s390x-linux-gnu/lib32/libc.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-s390)
GROUP ( /lib32/libc.so.6 /usr/lib32/libc_nonshared.a AS_NEEDED ( /usr/s390x-linux-gnu/lib/ld.so.1 ) )

with the binary taken from
https://launchpad.net/ubuntu/+source/cross-toolchain-base/54ubuntu1

building that locally in a fresh chroot created with mk-sbuild, you'll get a correct file, what we had in the past:
GROUP ( /usr/s390x-linux-gnu/lib32/libc.so.6 /usr/s390x-linux-gnu/lib32/libc_nonshared.a AS_NEEDED ( /usr/s390x-linux-gnu/lib/ld.so.1 ) )

I haven't yet found out what makes the build different/buggy on the buildds.

to build the package just for s390x, call

CROSS_ARCHS=s390x DEB_BUILD_OPTIONS="parallel=N" dpkg-buildpackage ...

Tags: patch
Matthias Klose (doko)
summary: - bugg libc.so created for non-default 32bit multlibs
+ buggy libc.so created for non-default 32bit multlibs
Revision history for this message
Matthias Klose (doko) wrote :

same result, when starting with the chroot tarball (livecd.ubuntu-base.rootfs.tar.gz). what is different on the buildds?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I have done a rebuild in bileto PPA and this came out fine now.

I wonder if upgrading our builders host OS to focal has fixed things.

And will try to check all of them, to ensure all of them are correct first.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

still buggy

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.