]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: stop using LTO (link-time optimization)
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 Jul 2019 15:40:25 +0000 (11:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Jul 2019 15:40:25 +0000 (11:40 -0400)
LTO breaks reproducible builds, and there is some question as to how
reliable LTO's code generator is --- there are some scary stories that
it doesn't work well, and the GCC maintainers aren't super-interested
in fixing the bugs:

https://lists.debian.org/debian-devel/2019/07/msg00610.html

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/rules

index 2499f6a7059f9c3a045b5dbcbc448275e23ce16a..5fbee8a867cfed555ae777dc9bbdfb193c41933c 100755 (executable)
@@ -40,7 +40,7 @@ LDFLAGS_STATIC = $(filter-out -fPIE -fpie -pie,$(LDFLAGS))
 
 BACKTRACE_CONF_FLAGS ?= $(shell if debian/scripts/test-backtrace ; then echo --disable-backtrace ; fi)
 
-COMMON_CONF_FLAGS = --enable-elf-shlibs --enable-lto --disable-ubsan \
+COMMON_CONF_FLAGS = --enable-elf-shlibs --disable-ubsan \
        --disable-addrsan --disable-threadsan --disable-e2initrd-helper \
        --disable-fsck --disable-libblkid --disable-libuuid --disable-uuidd \
        --infodir=/usr/share/info  --enable-symlink-install \