Public bug reported:
seen when trying to get target flags on an amd64v3 buildd, flags for
variant are set despite an incompatible host arch
$ DEB_HOST_ARCH_VARIANT=amd64v3 DEB_HOST_ARCH=arm64 dpkg-buildflags --get CFLAGS
dpkg-buildflags: warning: debian/changelog not found. Not setting ELF package
metadata parameter.
-g -O2 -Werror=implicit-function-declaration -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/home/packages/tmp/m=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -mbranch-protection=standard -march=x86-64-v3
these are the correct flags for arm64, but -march=x86-64-v3 is added for
no reason, letting builds fail.
** Affects: dpkg (Ubuntu)
Importance: Critical
Status: Confirmed
** Tags: rls-rr-incoming
** Changed in: dpkg (Ubuntu)
Status: New => Confirmed
** Changed in: dpkg (Ubuntu)
Importance: Undecided => Critical
** Tags added: rls-rr-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138929
Title:
flags for variant are set despite an incompatible host arch
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2138929/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs