On Fri, 1 Sep 2017, Adam Borowski wrote:
Also, the vast majority of packages don't trigger this warning as they request LFS unconditionally instead of trying to autodetect it.
The lintian warning here: https://lintian.debian.org/tags/binary-file-built-without-LFS-support.html says "This can be done by using the AC_SYS_LARGEFILE macro with autoconf, or... " This is what I've done in mpgrafic, since (in principle) autoconf makes things less hardwired. Isn't it cleaner to use the AC_SYS_LARGEFILE autoconf macro rather than hardwire something such as -D_FILE_OFFSET_BITS=64 as a non-optional compile option? Also, a rather important question seems to me to be: are there some architectures (e.g. especially 32-bit) where there is no point trying to ensure LFS support, since it won't work anyway? Or conversely: can gcc implement a software solution for LFS support no matter what the architecture is (among debian official + unofficial ports)?