Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2019 21:34:42 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r494456 - branches/2019Q1/multimedia/libmpeg2
Message-ID:  <201903022134.x22LYgkM038547@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Mar  2 21:34:42 2019
New Revision: 494456
URL: https://svnweb.freebsd.org/changeset/ports/494456

Log:
  MFH: r494455
  
  multimedia/libmpeg2: unbreak on armv7
  
  ld: error: can't create dynamic relocation R_ARM_ABS32 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 ./.libs/libmpeg2arch.a(motion_comp_arm_s.o)
  >>> referenced by motion_comp_arm_s.o:(.text+0x104) in archive ./.libs/libmpeg2arch.a
  
  Reported by:	pkg-fallout
  Approved by:	ports-secteam blankte

Modified:
  branches/2019Q1/multimedia/libmpeg2/Makefile
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/multimedia/libmpeg2/Makefile
==============================================================================
--- branches/2019Q1/multimedia/libmpeg2/Makefile	Sat Mar  2 21:33:55 2019	(r494455)
+++ branches/2019Q1/multimedia/libmpeg2/Makefile	Sat Mar  2 21:34:42 2019	(r494456)
@@ -15,6 +15,8 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 CONFIGURE_ARGS=	--enable-shared
+LDFLAGS_armv6=	-Wl,-z,notext
+LDFLAGS_armv7=	-Wl,-z,notext
 
 PORTDOCS=	libmpeg2.txt README
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903022134.x22LYgkM038547>