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-pub...@archlinux.org > To: Evangelos Foutras <evange...@foutrelis.com> > Daniel Micay <danielmi...@gmail.com>, Public mailing list for Arch Linux > development <arch-dev-pub...@archlinux.org> > On 5 July 2017 at 19:51, Daniel Micay <danielmi...@gmail.com> 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.