Package: dpkg
Version: 1.16.1
Severity: wishlist
Tags: lfs

Three cheers for the new dpkg-buildflags interface!

I would like to suggest an addition to the default flags:  the output of
getconf LFS_CFLAGS should be included in the CFLAGS/CXXFLAGS variables.  On
32-bit archs, this gives the following:

  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

(on 64-bit archs, it returns an empty string.)

I make this suggestion because we had lfs as a release goal nearly a decade
ago already, and we've never really had very good coverage for this and made
very little progress since then.  Turning this on by default would make a
big dent.

However, there are some major risks with this being a default.  Any library
that exports off_t in its interface would suddenly have an ABI change as a
result of this flag being set!  So if this were to be enabled by default, it
would need to be carefully coordinated.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to