[Android Software/Hacking General [Developers Only]] FSadino:
Fixed vdso32 :o

Now i´m at 31% with these error.

Remember that i reverted this commit because i don't have drivers/soc/qcom/smp2p_test.c in NitrogenOS project...

FAILED: TARGET_KERNEL_BINARIES
/bin/bash -c "(PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/bin:\$PATH LD_LIBRARY_PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/lib64:\$LD_LIBRARY_PATH make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8996 O=/home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ/.config; then	echo -e \"Building DTBs\" ;	PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/bin:\$PATH LD_LIBRARY_PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/lib64:\$LD_LIBRARY_PATH make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8996 O=/home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\" dtbs;	fi ) && (if grep -q '^CONFIG_MODULES=y' /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ/.config; then	echo -e \"Building Kernel Modules\" ;	PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/bin:\$PATH LD_LIBRARY_PATH=/home/fsadino/Android_Build/NitrogenOS_pie/prebuilts/clang/host/linux-x86/clang-4691093/lib64:\$LD_LIBRARY_PATH make -j8 CFLAGS_MODULE=\"-fno-pic\" -C kernel/oneplus/msm8996 O=/home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE=\"aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"arm-linux-androideabi-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\" clang\" modules;	fi )"
make: Entering directory '/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996'
make[1]: Entering directory '/home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/setlocalversion: linha 185: scm: comando não reconhecido
UPD include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Using /home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996 as source for kernel
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/sound/soc/codecs/tfa9890/tfa_container.c:291:7: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
if (!prof->list[i].type == dscRegister) {
^ ~~
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/sound/soc/codecs/tfa9890/tfa_container.c:291:7: note: add parentheses after the '!' to evaluate the comparison first
if (!prof->list[i].type == dscRegister) {
^
( )
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/sound/soc/codecs/tfa9890/tfa_container.c:291:7: note: add parentheses around left hand side expression to silence this warning
if (!prof->list[i].type == dscRegister) {
^
( )
1 error generated.
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:265: recipe for target 'sound/soc/codecs/tfa9890/tfa_container.o' failed
make[4]: *** [sound/soc/codecs/tfa9890/tfa_container.o] Error 1
make[4]: ** Esperando que outros processos terminem.
CC kernel/trace/trace_stat.o
LD drivers/clocksource/built-in.o
CC kernel/trace/trace_printk.o
CC kernel/trace/trace_sched_switch.o
LD fs/kernfs/built-in.o
CC fs/nls/nls_base.o
CC fs/notify/fsnotify.o
LD drivers/clk/msm/mdss/built-in.o
LD drivers/clk/msm/built-in.o
LD drivers/clk/built-in.o
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:410: recipe for target 'sound/soc/codecs' failed
make[3]: *** [sound/soc/codecs] Error 2
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:410: recipe for target 'sound/soc' failed
make[2]: *** [sound/soc] Error 2
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/Makefile:974: recipe for target 'sound' failed
make[1]: *** [sound] Error 2
make[1]: ** Esperando que outros processos terminem.
CC drivers/media/platform/msm/camera_v2/common/cam_soc_api.o
In file included from /home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/drivers/input/touchscreen/synaptics_driver_s3320.c:2562:
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/drivers/input/touchscreen/fw_update_v7.if:1692:20: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
if (add_buf[4]>>5 && 0x2)
^ ~~~
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/drivers/input/touchscreen/fw_update_v7.if:1692:20: note: use '&' for a bitwise operation
if (add_buf[4]>>5 && 0x2)
^~
&
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/drivers/input/touchscreen/fw_update_v7.if:1692:20: note: remove constant to silence this warning
if (add_buf[4]>>5 && 0x2)
~^~~~~~
1 error generated.
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:265: recipe for target 'drivers/input/touchscreen/synaptics_driver_s3320.o' failed
make[4]: *** [drivers/input/touchscreen/synaptics_driver_s3320.o] Error 1
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:410: recipe for target 'drivers/input/touchscreen' failed
make[3]: *** [drivers/input/touchscreen] Error 2
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/scripts/Makefile.build:410: recipe for target 'drivers/input' failed
make[2]: *** [drivers/input] Error 2
make[2]: ** Esperando que outros processos terminem.
/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996/Makefile:974: recipe for target 'drivers' failed
make[1]: *** [drivers] Error 2
make[1]: Leaving directory '/home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/KERNEL_OBJ'
Makefile:145: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/fsadino/Android_Build/NitrogenOS_pie/kernel/oneplus/msm8996'
[ 31% 29491/92497] build /home/fsadino/Android_Bu...cy_neverallows_intermediates/sepolicy_neverallows
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/ETC/sepolicy_neverallows_intermediates/policy.conf
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/ETC/sepolicy_neverallows_intermediates/sepolicy_neverallows
[ 31% 29492/92497] build /home/fsadino/Android_Bu.../obj/ETC/sepolicy.recovery_intermediates/sepolicy
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: policy configuration loaded
/home/fsadino/Android_Build/NitrogenOS_pie/out/host/linux-x86/bin/checkpolicy: writing binary representation (version 30) to /home/fsadino/Android_Build/NitrogenOS_pie/out/target/product/oneplus3/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp
ninja: build stopped: subcommand failed.
20:49:34 ninja failed with: exit status 1

#### failed to build some targets (03:18 (mm:ss)) ####

fsadino@xda-developers:~/Android_Build/NitrogenOS_pie$