Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 14:53:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 214864] [exp-run] test build with lld as /usr/bin/ld
Message-ID:  <bug-214864-7788-3g8Gbwibv4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214864-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214864-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864

--- Comment #149 from commit-hook@freebsd.org ---
A commit references this bug:

Author: emaste
Date: Tue Sep 18 14:53:04 UTC 2018
New revision: 480028
URL: https://svnweb.freebsd.org/changeset/ports/480028

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

  Example error:

  /usr/bin/ld: error: can't create dynamic relocation R_386_32 against
      symbol: dv_vlc_class_index_mask in readonly segment; recompile
      object files with -fPIC
  >>> defined in .libs/vlc.o
  >>> referenced by .libs/vlc_x86.o:(.text+0xF)

  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
  Approved by:  bapt
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D17220

Changes:
  head/multimedia/libdv/Makefile

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214864-7788-3g8Gbwibv4>