[PATCH] D30566: [ELF] - Do not try to create .eh_frame_hdr for relocatable output.

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 4 09:41:10 PST 2017


emaste added a comment.

The FreeBSD components that prompted PR32118 link with this change.

Unable to test full image as lld now fails an assertion later in the build - PR to follow.

  /tank/emaste/obj/tank/emaste/src/freebsd-xlld/tmp/usr/bin/ld: error: Section has different type from others with the same name autoload.o:(.eh_frame)
  Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file ../include/llvm/Support/Casting.h, line 236.
  cc: error: unable to execute command: Abort trap (core dumped)
  cc: error: linker command failed due to signal (use -v to see invocation)


https://reviews.llvm.org/D30566





More information about the llvm-commits mailing list