FYI clang devs don't want to take 1 line patch adding another no-op flag upstream. https://lists.llvm.org/pipermail/cfe-dev/2017-July/054588.html > -------- Original Message -------- > Subject: Re: [arch-dev-public] Changing compilation flags > From: arch-dev-public@xxxxxxxxxxxxx > To: Evangelos Foutras <evangelos@xxxxxxxxxxxxx> > Daniel Micay <danielmicay@xxxxxxxxx>, Public mailing list for Arch Linux development <arch-dev-public@xxxxxxxxxxxxx> > On 5 July 2017 at 19:51, Daniel Micay <danielmicay@xxxxxxxxx> wrote: > So I think it would be a good idea to flip the default to -z,now in the > linker if we"re going to use -fno-plt. I think they"d take a patch for > that upstream. Clang issue could be avoided with a 1 line patch adding > another no-op flag and they"d take that upstream. It"s harmless to use > the slower lazy linking calling convention when -fno-plt is passed.