[OnePlus X Original Android Development] Loureiro:
This time I've trie to save the console output on a log file

make -j8 otapackage > ~/Desktop/aosparadox.log

tons of error "unsupported reloc 42" and "unsupported reloc 43" presented on terminal

.................................
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_generic_jni_trampoline: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_to_interpreter_bridge: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_to_interpreter_bridge: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_entry: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_instrumentation_exit: error: unsupported reloc 42
out/host/linux-x86/obj/SHARED_LIBRARIES/libart_intermediates/arch/x86_64/quick_entrypoints_x86_64.o:function art_quick_deoptimize: error: unsupported reloc 42
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj/lib/libart.so] Error 1
make: *** Waiting for unfinished jobs....
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_throw_null_pointer_exception: error: unsupported reloc 43
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_throw_div_zero: error: unsupported reloc 43
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_throw_stack_overflow: error: unsupported reloc 43
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_deliver_exception: error: unsupported reloc 43
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_throw_no_such_method: error: unsupported reloc 43
out/host/linux-x86/obj32/SHARED_LIBRARIES/libart_intermediates/arch/x86/quick_entrypoints_x86.o:function art_quick_throw_array_bounds: error: unsupported reloc 43
.................................
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [out/host/linux-x86/obj32/lib/libart.so] Error 1
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /home/joao/Android/ROMS/AOSParadox/kernel/kernel/timeconst.pl line 373.
make[3]: *** [kernel/timeconst.h] Error 255
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [kernel] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
make: *** [out/target/product/onyx/obj/KERNEL_OBJ/arch/arm/boot/zImage-dtb] Error 2

Thanks.

EDIT: I am trying to fix the "unsupported reloc" errors. Found some workaround on archlinux forum.

The timeconst.pl error I'll fix later.

EDIT2: I've built AOSParadox before without problems. Got this after upgrading to Xenial.

"unsupported reloc" errors fixed after applying this http://review.cyanogenmod.org/#/c/120824/

Binutils are the culprit https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808206