[Nook HD, HD+ Android Development] andrerz:
Yes, followed by a massive splurge of error messages, unfortunately I don't know enough to interpret the error messages.

[ 2% 156/6680] target thumb C++: libtiutils <= hardware/ti/omap4/libtiutils/DebugUtils.cpp

FAILED: /bin/bash -c "(PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/bn/common/include -I frameworks/native/include/media/openmax -I frameworks/native/include -I bionic/libc/include -I hardware/ti/omap4/domx/omx_core/inc -I hardware/ti/omap4/domx/mm_osal/inc -I hardware/ti/omap4/libtiutils -I /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates -I /mnt/Android-out/output/cm14/target/product/hummingbird/gen/SHARED_LIBRARIES/libtiutils_intermediates -I libnativehelper/include/nativehelper \$(cat /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril/include -isystem /mnt/Android-out/output/cm14/target/product/hummingbird/obj/include -isystem hardware/ti/omap4/kernel-headers -isystem bionic/libc/arch-arm/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fvisibility-inlines-hidden -Wsign-promo -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -fno-short-enums -DANDROID_API_N_MR1_OR_LATER -DANDROID_API_N_OR_LATER -DANDROID_API_MM_OR_LATER -DANDROID_API_LP_MR1_OR_LATER -DANDROID_API_LP_OR_LATER -DANDROID_API_KK_OR_LATER -DANDROID_API_JB_MR1_OR_LATER -DANDROID_API_JB_OR_LATER -DANDROID_API_ICS_OR_LATER -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.d -o /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.o hardware/ti/omap4/libtiutils/DebugUtils.cpp ) && (cp /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.d /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.d >> /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.P; rm -f /mnt/Android-out/output/cm14/target/product/hummingbird/obj/SHARED_LIBRARIES/libtiutils_intermediates/DebugUtils.d )"

In file included from hardware/ti/omap4/libtiutils/DebugUtils.cpp:17:

In file included from hardware/ti/omap4/libtiutils/DebugUtils.h:21:

In file included from system/core/include/utils/threads.h:35:

In file included from system/core/include/utils/Thread.h:31:

system/core/include/utils/RefBase.h:20:10: fatal error: 'atomic' file not found

#include <atomic>

^

1 error generated.