On Fri, Aug 3, 2018 at 3:26 AM Thomas Gleixner <t...@linutronix.de> wrote: > > On Wed, 18 Jul 2018, Alistair Strachan wrote: > > export CPPFLAGS_vdso.lds += -P -C > > > > -VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ > > - -Wl,--no-undefined \ > > - -Wl,-z,max-page-size=4096 > > -Wl,-z,common-page-size=4096 \ > > - $(DISABLE_LTO) > > +VDSO_LDFLAGS_vdso.lds = -m elf_x86_64 -soname linux-vdso.so.1 > > --no-undefined \ > > + -z max-page-size=4096 -z common-page-size=4096 > > Aside of the fact that it does not apply to upstream,
It seems to apply fine to Linus's tree (0585df4), but I'll send a v2 which is rediffed. > why is this dropping > the $(DISABLE_LTO) part? > > The changelog is utterly silent about that. $ git grep DISABLE_LTO arch/sparc/vdso/Makefile:KBUILD_CFLAGS += $(DISABLE_LTO) arch/sparc/vdso/Makefile: $(DISABLE_LTO) arch/x86/entry/vdso/Makefile:KBUILD_CFLAGS += $(DISABLE_LTO) arch/x86/entry/vdso/Makefile: $(DISABLE_LTO) kernel/Makefile:CFLAGS_sys_ni.o = $(DISABLE_LTO) scripts/Makefile.build:cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< Looks like a dead option to me, but maybe somebody else knows better. v2 will explain this removal. > Thanks, > > tglx