From owner-svn-ports-all@freebsd.org Sat Feb 4 09:46:37 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D2EBCCF052; Sat, 4 Feb 2017 09:46:37 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id 55206A2B; Sat, 4 Feb 2017 09:46:37 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v149kaml000495; Sat, 4 Feb 2017 09:46:36 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v149kaSo000494; Sat, 4 Feb 2017 09:46:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702040946.v149kaSo000494@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 4 Feb 2017 09:46:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433293 - head/www/firefox/files X-SVN-Group: ports-head 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.23 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: Sat, 04 Feb 2017 09:46:37 -0000 Author: jbeich Date: Sat Feb 4 09:46:36 2017 New Revision: 433293 URL: https://svnweb.freebsd.org/changeset/ports/433293 Log: www/firefox: attempt to unbreak aarch64 after r431737 gfx/skia/skia/src/core/SkBitmapProcState_matrixProcs.cpp:(.text._ZN17SkBitmapProcState16chooseMatrixProcEb+0xc4): undefined reference to `RepeatX_RepeatY_Procs_neon' gfx/skia/skia/src/core/SkBitmapProcState_matrixProcs.cpp:(.text._ZN17SkBitmapProcState16chooseMatrixProcEb+0x144): undefined reference to `ClampX_ClampY_Procs_neon' gfx/skia/skia/src/core/SkBlitter_RGB16.cpp:(.text._ZN22SkRGB16_Opaque_Blitter5blitVEiiih+0x3c): undefined reference to `SkRGB16BlitterBlitV_neon(unsigned short*, int, unsigned long, unsigned int, unsigned int)' [...] /usr/bin/ld: libxul.so: hidden symbol `_Z24SkRGB16BlitterBlitV_neonPtimjj' isn't defined /usr/bin/ld: final link failed: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocation) Reported by: pkg-fallout Added: head/www/firefox/files/patch-bug1142056 (contents, props changed) Added: head/www/firefox/files/patch-bug1142056 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/firefox/files/patch-bug1142056 Sat Feb 4 09:46:36 2017 (r433293) @@ -0,0 +1,64 @@ +commit ef0d953d9e2d +Author: Makoto Kato +Date: Tue Aug 23 16:54:06 2016 +0900 + + Bug 1142056 - Add aarch64 configuration on Skia's moz.build. r=gw280 + + MozReview-Commit-ID: 60iAZjFg6W6 + + --HG-- + extra : histedit_source : b3bb5a3e556393ba49f43dc4ab8bdaa9be40fb0c +--- + gfx/skia/generate_mozbuild.py | 6 ++++-- + gfx/skia/moz.build | 12 ++++++++++-- + 2 files changed, 14 insertions(+), 4 deletions(-) + +diff --git gfx/skia/generate_mozbuild.py gfx/skia/generate_mozbuild.py +index 2088b729d476..1eb04c1d7f57 100755 +--- gfx/skia/generate_mozbuild.py ++++ gfx/skia/generate_mozbuild.py +@@ -429,10 +429,12 @@ def write_mozbuild(sources): + f.write("if CONFIG['INTEL_ARCHITECTURE']:\n") + write_sources(f, sources['intel'], 4) + +- f.write("elif CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_CC']:\n") ++ f.write("elif CONFIG['CPU_ARCH'] in ('arm', 'aarch64') and CONFIG['GNU_CC']:\n") + write_sources(f, sources['arm'], 4) + +- f.write(" if CONFIG['BUILD_ARM_NEON']:\n") ++ f.write(" if CONFIG['CPU_ARCH'] == 'aarch64':\n") ++ write_sources(f, sources['neon'], 8) ++ f.write(" elif CONFIG['BUILD_ARM_NEON']:\n") + write_list(f, 'SOURCES', sources['neon'], 8) + write_cflags(f, sources['neon'], 'neon', "CONFIG['NEON_FLAGS']", 8) + +diff --git gfx/skia/moz.build gfx/skia/moz.build +index b33f1cdbee54..9dba87978dd3 100644 +--- gfx/skia/moz.build ++++ gfx/skia/moz.build +@@ -519,7 +519,7 @@ if CONFIG['INTEL_ARCHITECTURE']: + 'skia/src/opts/SkOpts_sse41.cpp', + 'skia/src/opts/SkOpts_ssse3.cpp', + ] +-elif CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_CC']: ++elif CONFIG['CPU_ARCH'] in ('arm', 'aarch64') and CONFIG['GNU_CC']: + UNIFIED_SOURCES += [ + 'skia/src/core/SkUtilsArm.cpp', + 'skia/src/opts/SkBitmapProcState_opts_arm.cpp', +@@ -528,7 +528,15 @@ elif CONFIG['CPU_ARCH'] == 'arm' and CONFIG['GNU_CC']: + SOURCES += [ + 'skia/src/opts/SkBlitRow_opts_arm.cpp', + ] +- if CONFIG['BUILD_ARM_NEON']: ++ if CONFIG['CPU_ARCH'] == 'aarch64': ++ SOURCES += [ ++ 'skia/src/opts/SkBitmapProcState_arm_neon.cpp', ++ 'skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp', ++ 'skia/src/opts/SkBlitMask_opts_arm_neon.cpp', ++ 'skia/src/opts/SkBlitRow_opts_arm_neon.cpp', ++ 'skia/src/opts/SkOpts_neon.cpp', ++ ] ++ elif CONFIG['BUILD_ARM_NEON']: + SOURCES += [ + 'skia/src/opts/SkBitmapProcState_arm_neon.cpp', + 'skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp',