Hello,
I`m not so new compiling roms, now have to OnePlus One Arsenic Rom. I`m now beginning to compile for OnePlus 3 and took a week that I can not spend the same error. I tried to compile using Ubuntu 14.04 and 16.04 with the same result.
I use ubertc 5.3 toolchains + custom optimizations. Open JDK 7 & 8 with the same result. I have done multiple tests with build & vendor of CM without optimizations,
And not use more tests, I tried adding flags -Wno-error=strict-aliasing -fno-strict-overflow -fno-strict-aliasin -Wno-strict-aliasing with the same error.
This is my error
Could someone give me a hand when I'm doing wrong?
Thanks in advance
PD: Forgive my poor English, I'm not very good and use a translator to communicate better.
I`m not so new compiling roms, now have to OnePlus One Arsenic Rom. I`m now beginning to compile for OnePlus 3 and took a week that I can not spend the same error. I tried to compile using Ubuntu 14.04 and 16.04 with the same result.
I use ubertc 5.3 toolchains + custom optimizations. Open JDK 7 & 8 with the same result. I have done multiple tests with build & vendor of CM without optimizations,
And not use more tests, I tried adding flags -Wno-error=strict-aliasing -fno-strict-overflow -fno-strict-aliasin -Wno-strict-aliasing with the same error.
This is my error
Quote:
| system/bt/osi/./src/socket.c: In function 'socket_listen': system/bt/osi/./src/socket.c:108:32: error: dereferencing type-punned pointer might break strict-aliasing rules [-Werror=strict-aliasing] if (bind(socket->fd, (struct sockaddr *)&addr, sizeof(addr)) == -1) { ^ cc1: all warnings being treated as errors make: *** [/home/jc/cm13/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libosi_intermediates/./src/socket.o] Error 1 make: *** Se espera a que terminen otras tareas.... |
Thanks in advance
PD: Forgive my poor English, I'm not very good and use a translator to communicate better.
from xda-developers http://ift.tt/2bBRCEg
via IFTTT
No comments:
Post a Comment