[Bug 214864] [exp-run] test build with lld as /usr/bin/ld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 18 14:01:39 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864

--- Comment #148 from commit-hook at freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Sep 18 14:00:45 UTC 2018
New revision: 480024
URL: https://svnweb.freebsd.org/changeset/ports/480024

Log:
  multimedia/libx264: add -znotext to LDFLAGS on i386, for lld

  Example error:
  /usr/bin/ld: error: can't create dynamic relocation R_386_PC32 against
      symbol: gettimeofday in readonly segment; recompile object files
      with -fPIC

  This port links some non-PIC code, which fails with lld as it defaults
  to disallowing relocations against read-only segments.  For i386 we can
  just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
  existing default.

  PR:           214864, 230214
  Reviewed by:  koobs
  Approved by:  koobs
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D17201

Changes:
  head/multimedia/libx264/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list