Bug 1322447 - building firefox/ARM64 fails, include/nspr/prtypes.h:585:38: error: size of array ‘arg’ is negative. r=ted.
☠☠ backed out by 66b31b9d9a1a ☠ ☠
authorsk <sk.alvin.x>
Mon, 12 Dec 2016 16:47:00 +0800
changeset 374270 17f6d9f37a213278dd1b1048f09c55708185d63a
parent 374269 34b75871dd7e7c86f942533a99fd3d62996c7e99
child 374271 b0cc4f45e1cd166ecf2640338e47f8613d2121b0
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1322447
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1322447 - building firefox/ARM64 fails, include/nspr/prtypes.h:585:38: error: size of array ‘arg’ is negative. r=ted.
security/nss/lib/freebl/freebl.gyp
--- a/security/nss/lib/freebl/freebl.gyp
+++ b/security/nss/lib/freebl/freebl.gyp
@@ -401,16 +401,21 @@
           [ 'target_arch=="arm"', {
             'defines': [
               'MP_ASSEMBLY_MULTIPLY',
               'MP_ASSEMBLY_SQUARE',
               'MP_USE_UINT_DIGIT',
               'SHA_NO_LONG_LONG',
             ],
           }],
+          [ 'target_arch=="arm64"', {
+            'defines': [
+              'NSS_USE_64',
+            ],
+          }],
         ],
       }],
     ],
   },
   'variables': {
     'module': 'nss',
   }
 }