[PATCH] D41037: Create reserved symbols early so they can be versioned

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 18:40:29 PST 2017


emaste added a comment.

Spoke too soon - buildworld is actually failing elsewhere now, with my backported patch in lld.

  /usr/obj/usr/home/emaste/src/freebsd/amd64.amd64/tmp/usr/bin/ld: error: relocation R_X86_64_PLT32 cannot refer to absolute symbol: __tls_get_addr
  >>> defined in <internal>
  >>> referenced by runetype.h:98 (/usr/obj/usr/home/emaste/src/freebsd/amd64.amd64/tmp/usr/include/runetype.h:98)
  >>>               xlat16_iconv.pico:(kiconv_xlat16_open)

I probably have an error in my backport attempt though, this other library (lib/libkiconv) linked succesfully with lld head + this patch.


https://reviews.llvm.org/D41037





More information about the llvm-commits mailing list