From owner-svn-ports-all@freebsd.org Wed Sep 26 16:12:14 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45ACD10B0D63; Wed, 26 Sep 2018 16:12:14 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED78383F37; Wed, 26 Sep 2018 16:12:13 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E85C819841; Wed, 26 Sep 2018 16:12:13 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8QGCDpX063034; Wed, 26 Sep 2018 16:12:13 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8QGCCll063027; Wed, 26 Sep 2018 16:12:12 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201809261612.w8QGCCll063027@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 26 Sep 2018 16:12:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480747 - in head: audio/zinf emulators/mupen64plus-core games/q2pro games/quakeforge lang/clover multimedia/gstreamer-ffmpeg multimedia/libass X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head: audio/zinf emulators/mupen64plus-core games/q2pro games/quakeforge lang/clover multimedia/gstreamer-ffmpeg multimedia/libass X-SVN-Commit-Revision: 480747 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 16:12:14 -0000 Author: emaste (src committer) Date: Wed Sep 26 16:12:12 2018 New Revision: 480747 URL: https://svnweb.freebsd.org/changeset/ports/480747 Log: Add -znotext to LDFLAGS on i386, for lld These ports link 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: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation Modified: head/audio/zinf/Makefile head/emulators/mupen64plus-core/Makefile head/games/q2pro/Makefile head/games/quakeforge/Makefile head/lang/clover/Makefile head/multimedia/gstreamer-ffmpeg/Makefile head/multimedia/libass/Makefile Modified: head/audio/zinf/Makefile ============================================================================== --- head/audio/zinf/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/audio/zinf/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -23,6 +23,7 @@ CONFIGURE_ARGS= --enable-ipv6 \ CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -D_WANT_SEMUN LDFLAGS+= -lpthread -L${LOCALBASE}/lib +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= ESOUND VORBIS OPTIONS_DEFAULT=VORBIS Modified: head/emulators/mupen64plus-core/Makefile ============================================================================== --- head/emulators/mupen64plus-core/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/emulators/mupen64plus-core/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -19,6 +19,7 @@ USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes ONLY_FOR_ARCHS= i386 amd64 +LDFLAGS_i386= -Wl,-znotext OPTFLAGS= # Modified: head/games/q2pro/Makefile ============================================================================== --- head/games/q2pro/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/games/q2pro/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -22,6 +22,7 @@ SVN_REV= 142 MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" LIBDIR= ${PREFIX}/lib/${PORTNAME} +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= CLIENT DEDICATED GAME GL SOFT UI OPTIONS_DEFINE_i386= ASM Modified: head/games/quakeforge/Makefile ============================================================================== --- head/games/quakeforge/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/games/quakeforge/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -34,6 +34,7 @@ CONFIGURE_ARGS= --disable-alsa \ USE_CSTD= gnu89 INSTALL_TARGET= install-strip USE_LDCONFIG= yes +LDFLAGS_i386= -Wl,-znotext SUB_FILES= pkg-message Modified: head/lang/clover/Makefile ============================================================================== --- head/lang/clover/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/lang/clover/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -22,6 +22,7 @@ CONFIGURE_ARGS+= --enable-opencl --enable-opencl-icd - --disable-egl --disable-gbm --disable-gles2 --disable-glx \ --disable-va --disable-vdpau --disable-xvmc \ --with-gallium-drivers=r600,radeonsi # only supported GPUs +LDFLAGS_i386= -Wl,-znotext #MESA_BUILD_WRKSRC= src/util src/compiler src/mesa src/gallium MESA_INSTALL_WRKSRC= src/gallium/targets/opencl src/gallium/targets/pipe-loader Modified: head/multimedia/gstreamer-ffmpeg/Makefile ============================================================================== --- head/multimedia/gstreamer-ffmpeg/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/multimedia/gstreamer-ffmpeg/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -27,6 +27,7 @@ USE_LDCONFIG= yes USE_GSTREAMER= yes GNU_CONFIGURE= yes PLIST_SUB= VERSION="${PORTVERSION:R}" +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= FFMPEG FFMPEG_DESC?= Use system ffmpeg instead of internal libav Modified: head/multimedia/libass/Makefile ============================================================================== --- head/multimedia/libass/Makefile Wed Sep 26 16:07:26 2018 (r480746) +++ head/multimedia/libass/Makefile Wed Sep 26 16:12:12 2018 (r480747) @@ -20,6 +20,7 @@ USES= autoreconf iconv libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= HARFBUZZ OPTIONS_DEFAULT=HARFBUZZ