You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the NDK upgrade, the libs/verify-android-environment script fails for mac users. We've established there is a problem with the build script attempting to run the system assembler and passing in a --64 option, which the mac assembler doesn't support.
In the mean time, a few notes:
This does not affect anyone with an already existing build of NSS (i.e you've run verify-android-environment before the upgrade) and still have a working libs/android directory
% /Users/skip/Library/Android/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/as --version
GNU assembler (GNU Binutils) 2.27.0.20170315
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-android'.
% /usr/bin/as --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
apparently the new ndk doesn't come with any GCC tools - there's no as installed. According to this-fno-integrated-as should help, but didn't for me. However, the failing compilation is passing -no-integrated-as - and removing that seems to help, even though it seems the opposite of what should happen.
So I'm still confused but mildly less confused than I was :)
After the NDK upgrade, the
libs/verify-android-environment
script fails for mac users. We've established there is a problem with the build script attempting to run the system assembler and passing in a--64
option, which the mac assembler doesn't support.In the mean time, a few notes:
verify-android-environment
before the upgrade) and still have a workinglibs/android
directory21.3.6528147
in Android Studio (or verify it's already installed)libs/android
libs/verify-android-environment.sh
libs/android
┆Issue is synchronized with this Jira Task
┆Sprint End Date: 2023-05-04
The text was updated successfully, but these errors were encountered: