[Nexus 9 Android Development] dcrin3:
this was the issue I was facing while trying to build:

Thus the addition into arch/arm64/include/uapi/asm/sigcontext.h for the kernel: Config for 64Bit

[32mtarget StaticLib:[0m libdrmutility_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libdrmutility_intermediates/libdrmutility.a)
[32mtarget StaticLib:[0m libfwdlock-common_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-common_intermediates/libfwdlock-common.a)
[32mtarget StaticLib:[0m libfwdlock-converter_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-converter_intermediates/libfwdlock-converter.a)
[32mtarget arm C:[0m audio.primary.flounder_32 <= device/htc/flounder/audio/hal/audio_hw.c
[32mtarget StaticLib:[0m libfwdlock-decoder_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/libfwdlock-decoder.a)
[32mtarget thumb C:[0m libaudioroute_32 <= system/media/audio_route/audio_route.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/compress.c
[32mtarget thumb C:[0m libtinycompress_32 <= external/tinycompress/utils.c
[32mtarget thumb C++:[0m audio_policy.default_32 <= hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
[32mtarget StaticLib:[0m libaudiopolicy_legacy_32 (/home/soilandwater/android/system/out/target/product/flounder/obj_arm/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
[32mtarget thumb C++:[0m keystore.default_32 <= system/security/softkeymaster/module.cpp
In file included from bionic/libc/include/sys/ucontext.h:63:0,
from bionic/libc/include/signal.h:53,
from bionic/libc/include/sys/select.h:35,
from bionic/libc/include/unistd.h:34,
from bionic/libc/include/fcntl.h:37,
from external/tinycompress/compress.c:57:
out/target/product/flounder/obj/KERNEL_OBJ/usr/include/asm/sigcontext.h:53:2: error: unknown type name '__uint128_t'
__uint128_t vregs[32];
^
make: *** [/home/soilandwater/android/system/out/target/product/flounder/obj_arm/SHARED_LIBRARIES/libtinycompress_intermediates/compress.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/FwdLockEngine.h:20:0,
from frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:18:
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'fd' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'offset' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:400:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'uri' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:432:22: warning: unused parameter 'mime' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'uniqueId' [-Wunused-parameter]
virtual status_t onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'buf' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/common/include/DrmEngineBase.h:449:22: warning: unused parameter 'mimeType' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:122:14: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:135:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onInitialize(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'uniqueId' [-Wunused-parameter]
FwdLockEngine::onSetOnInfoListener(int uniqueId, const IDrmEngine::eek:nInfoListener* infoListener) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:149:1: warning: unused parameter 'infoListener' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:156:19: warning: unused parameter 'uniqueId' [-Wunused-parameter]
android::status_t FwdLockEngine::onTerminate(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:210:17: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmSupportInfo* FwdLockEngine::onGetSupportInfo(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:225:6: warning: unused parameter 'uniqueId' [-Wunused-parameter]
bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfoStatus* FwdLockEngine::onProcessDrmInfo(int uniqueId, const DrmInfo* drmInfo) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:232:16: warning: unused parameter 'drmInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSaveRights(
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'drmRights' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'rightsPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:244:10: warning: unused parameter 'contentPath' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmInfo* FwdLockEngine::onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:254:10: warning: unused parameter 'drmInfoRequest' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onConsumeRights(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'action' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:293:10: warning: unused parameter 'reserve' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:302:6: warning: unused parameter 'description' [-Wunused-parameter]
bool FwdLockEngine::onValidateAction(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
String8 FwdLockEngine::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:312:9: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveRights(int uniqueId, const String8& path) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:357:10: warning: unused parameter 'path' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:363:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onRemoveAllRights(int uniqueId) {
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'playbackStatus' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:370:10: warning: unused parameter 'position' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:381:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:399:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onConvertData(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:435:21: warning: unused parameter 'uniqueId' [-Wunused-parameter]
DrmConvertedStatus* FwdLockEngine::onCloseConvertSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onOpenDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:467:10: warning: unused parameter 'length' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:555:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onCloseDecryptSession(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onInitializeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:587:10: warning: unused parameter 'headerInfo' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId, DecryptHandle* decryptHandle, int decryptUnitId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:595:10: warning: unused parameter 'IV' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onDecrypt(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'encBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:601:10: warning: unused parameter 'decBuffer' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'uniqueId' [-Wunused-parameter]
status_t FwdLockEngine::onFinalizeDecryptUnit(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptHandle' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:610:10: warning: unused parameter 'decryptUnitId' [-Wunused-parameter]
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:617:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
ssize_t FwdLockEngine::onRead(int uniqueId,
^
frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/FwdLockEngine.cpp:643:9: warning: unused parameter 'uniqueId' [-Wunused-parameter]
off64_t FwdLockEngine::onLseek(int uniqueId, DecryptHandle* decryptHandle,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_reference_delay':
device/htc/flounder/audio/hal/audio_hw.c:901:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'get_capture_delay':
device/htc/flounder/audio/hal/audio_hw.c:941:38: warning: unused parameter 'frames' [-Wunused-parameter]
size_t frames,
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'adev_open':
device/htc/flounder/audio/hal/audio_hw.c:4464:46: warning: assignment from incompatible pointer type [enabled by default]
adev->sound_trigger_read_samples =
^
device/htc/flounder/audio/hal/audio_hw.c: In function 'dummybuf_thread':
device/htc/flounder/audio/hal/audio_hw.c:4300:40: warning: 'ctl' may be used uninitialized in this function [-Wmaybe-uninitialized]
mixer_ctl_set_value(ctl, 0, 0);
^