svn commit: r489697 - head/multimedia/dav1d

Jan Beich jbeich at FreeBSD.org
Tue Jan 8 15:17:32 UTC 2019


Author: jbeich
Date: Tue Jan  8 15:17:29 2019
New Revision: 489697
URL: https://svnweb.freebsd.org/changeset/ports/489697

Log:
  multimedia/dav1d: unbreak with LLD on i386
  
  ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
  >>> defined in src/25a6634@@dav1d at sha/mc_ssse3.obj
  >>> referenced by ../src/x86/mc_ssse3.asm
  >>>               src/25a6634@@dav1d at sha/mc_ssse3.obj:(.text+0x16)
  
  Reported by:	antoine (via emaste, bug 214864 exp-run)

Modified:
  head/multimedia/dav1d/Makefile   (contents, props changed)

Modified: head/multimedia/dav1d/Makefile
==============================================================================
--- head/multimedia/dav1d/Makefile	Tue Jan  8 15:17:16 2019	(r489696)
+++ head/multimedia/dav1d/Makefile	Tue Jan  8 15:17:29 2019	(r489697)
@@ -31,6 +31,7 @@ CONFIGURE_ENV=	UNAME_m=${ARCH} # XXX cpu_family()
 CFLAGS_aarch64=	-no-integrated-as
 CFLAGS_armv6=	-no-integrated-as -B${LOCALBASE}/bin
 CFLAGS_armv7=	-no-integrated-as -B${LOCALBASE}/bin
+LDFLAGS_i386=	-Wl,-z,notext
 
 OPTIONS_DEFINE=	TEST
 


More information about the svn-ports-head mailing list