[PATCH] D48433: [ELF] - Report unimplemented -z options.

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 4 09:47:41 PDT 2018


dim added a comment.

Ah, only now I've noticed that in the FreeBSD kernel link, we've been using the unsupported `-z common-page-size=` option:

  --- kernel.full ---
  linking kernel.full
  ld: error: unknown -z value: common-page-size=4096
  *** [kernel.full] Error code 1

This flag was added for ifunc support, but I'm not 100% sure if it is needed at all. Does lld always assume a common page size of 4096 (or whatever the OS reports as `PAGESIZE`)?


https://reviews.llvm.org/D48433





More information about the llvm-commits mailing list