lto-disabled-list not documented in dpkg-buildflags man page

Bug #2059107 reported by Krzysztof Adamski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

When debugging some compilation issue I couldn't understand why the buildflags would be changed depending in the source package name. I did go through dpkg-buildflags man page but couldn't find an answer. It took me quite some time to figure out what's going on and only after I found out about lto-disabled-list file, I was able to find documentation on https://wiki.ubuntu.com/ToolChain/LTO.

I understand this was considered temporary but it seems like it is to stay for some time. Man page is one of the most important documentation many people would be looking into in case of problems and it is quite unexpected that multiple ways of configuring dpkg-buildflags are mentioned but this one isn't. It is even adding to the confusion by mentioning lto is disabled by default which is not the case on Ubuntu:

"lto This setting (since dpkg 1.21.0; disabled by default)"

Would you consider adding information about that feature also to the man page?

I'm using Ubuntu 23.10 with 1.22.0ubuntu1.1 but as far as I can tell that is also not documented in ubuntu/devel branch of https://git.launchpad.net/ubuntu/+source/dpkg.

Related branches

Revision history for this message
Dan Bungert (dbungert) wrote :

uploaded

Changed in dpkg (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.