[Bug 1941710] Re: buggy libc.so created for non-default 32bit multlibs

Dimitri John Ledkov 1941710 at bugs.launchpad.net
Wed Aug 17 10:15:13 UTC 2022


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.

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

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

Status in cross-toolchain-base package in Ubuntu:
  New

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

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




More information about the foundations-bugs mailing list