krb5-multidev is not multi-arch installable due to differences in /usr/bin/krb5-config.mit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
krb5 (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
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/
The diff between the two files is:
--- krb5-config.
+++ krb5-config.
@@ -40,7 +40,7 @@
libdir=
CC_LINK='$(CC) $(PROG_LIBPATH) $(PROG_RPATH_FLAGS) $(CFLAGS) $(LDFLAGS)'
KDB5_DB_LIB=
-LDFLAGS=
+LDFLAGS=
RPATH_FLAG=''
PROG_RPATH_
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:/
tags: | added: foundations-triage-discuss |
tags: | removed: foundations-triage-discuss |
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.