[PATCH] D61583: [ELF] Create Undefined for local STT_SECTION symbol if the section is discarded

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 16:48:19 PDT 2019


phosek added a comment.

We're now getting a lot of `STT_SECTION symbol should be defined` warnings when building libFuzzer: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8911634509805270864/+/steps/clang/0/steps/build/0/stdout. The libFuzzer uses lld to produce a single relocatable file with libc++ linked in: https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/fuzzer/CMakeLists.txt#L132. I haven't yet figured out what's going on (the warning could be also a little more specific, e.g. which symbol and which section). Do you have any idea what's going on?


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D61583





More information about the llvm-commits mailing list