[Bug 1980494] Re: krb5-multidev is not multi-arch installable due to differences in /usr/bin/krb5-config.mit

Andreas Hasenack 1980494 at bugs.launchpad.net
Fri Jul 1 12:47:48 UTC 2022


https://wiki.ubuntu.com/ToolChain/LTO

LTO is not enabled for i386: "Compiler flags for LTO are injected in
dpkg-buildflags, and can be overridden in the package build. LTO will be
enabled on amd64, arm64, ppc64el and s390x. " I don't even know if lto
can be enabled on 32bit architectures.

LTO are linker flags, so it's correct to have them exposed in LDFLAGS.

Foundations take care of build flags and i386, I'm subscribing their
team.

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

Title:
  krb5-multidev is not multi-arch installable due to differences in
  /usr/bin/krb5-config.mit

Status in krb5 package in Ubuntu:
  New

Bug description:
  I am trying to build wine in a wow64 configuration and need to install
  the i386 and amd64 version of the krb5-multidev package on Ubuntu
  22.04.  The two version are not co-installable due to differences in
  the /usr/bin/krb5-config.mit file between the two version of the
  package.

  The diff between the two files is:

  --- krb5-config.mit-i386	2022-06-18 21:32:44.034889873 -0400
  +++ krb5-config.mit-amd64	2022-06-18 21:31:37.302149522 -0400
  @@ -40,7 +40,7 @@
   libdir=/usr/lib/${tripple}/mit-krb5
   CC_LINK='$(CC) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CFLAGS) $(LDFLAGS)'
   KDB5_DB_LIB=
  -LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'
  +LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro'
   RPATH_FLAG=''
   PROG_RPATH_FLAGS=''
   PTHREAD_CFLAGS='-pthread'

  The krb5-multidev package is co-installable on Debian. It appears that
  Ubuntu uses different default linker flags for the i386 and amd64
  platforms and Debian does not.

  This bug is related to
  https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1970979

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1980494/+subscriptions




More information about the foundations-bugs mailing list