[PATCH] D83721: [LLD] [MinGW] Ignore the --[no-]allow-shlib-undefined option

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 22:25:38 PDT 2020


mstorsjo added a comment.

> This is because GNU ld handles most options in one getopt_long/getopt_long_only. Many ELF specific options are handled by non-ELF ports and ignored. Some newer options use `-z` which is only handled by its ELF ports.
> 
> --allow-shlib-undefined is so rare that we should ask the projects to fix their build systems.

Ok, fair enough. So far, Meson is the only one I've encountered setting this one, and it was fixed once, then regressed, then refixed at a later point. But I guess I should set up continuous testing of the latest version of that to make sure it doesn't regress again.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83721/new/

https://reviews.llvm.org/D83721





More information about the llvm-commits mailing list