Public bug reported:

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 ...

** Affects: cross-toolchain-base (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1941710

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cross-toolchain-base/+bug/1941710/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to