[Bug 2076148] Re: dh-clean issues warning about LTO optimize
Sebastien Bacher
2076148 at bugs.launchpad.net
Fri May 15 13:34:52 UTC 2026
** Tags removed: dcr-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dh-golang in Ubuntu.
https://bugs.launchpad.net/bugs/2076148
Title:
dh-clean issues warning about LTO optimize
Status in debhelper package in Ubuntu:
Confirmed
Status in dh-golang package in Ubuntu:
Triaged
Status in pollen package in Ubuntu:
Invalid
Bug description:
dh clean --builddirectory=_build --buildsystem=golang
dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
dh_auto_clean: warning: LTO optimize is enable in buildflags. But cgo doesn't support it. LTO flags will be stripped in cgo.
dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
dh_clean -O--builddirectory=_build -O--buildsystem=golang
dpkg-source -i -I.bzr -I.svn -I.git -b .
Nothing in the source tree refers to LTO, so this is presumably
something coming in from the build system itself. It doesn't appear
to generate any subsequent issues (at least, as far as I can detect).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/2076148/+subscriptions
More information about the foundations-bugs
mailing list