You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
last week I encountered an error during building. The error evolved on the target hitags.
Here 's the build log: compiler version: arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620 [-] GEN fpga_version_info.c [-] CC fpga_version_info.c [-] GEN obj/fpga_all.bit.z [-] GEN obj/fpga_all.o [-] CC start.c [-] CC iso15693.c [-] CC ../common/iso15693tools.c [-] CC thinfilm.c [-] CC lfops.c [-] CC lfsampling.c [-] CC pcf7931.c [-] CC ../common/lfdemod.c [-] CC lfadc.c [-] CC ../common/lz4/lz4.c [-] CC legicrf.c [-] CC legicrfsim.c [-] CC ../common/legic_prng.c [-] CC ../common/hitag2/hitag2_crypto.c [-] CC hitag2.c [-] CC hitagS.c hitagS.c: In function 'hts_select_tag': hitagS.c:1158:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] key_le = *(uint64_t *)packet->key; ^~~~~~ hitagS.c:1160:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] uint64_t state = ht2_hitag2_init(reflect48(key_le), reflect32(tag.data.s.uid_le), reflect32(*(uint32_t *)rnd)); ^~~~~~~~ hitagS.c:1252:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] uint64_t state = ht2_hitag2_init(reflect48(key_le), reflect32(tag.data.s.uid_le), reflect32(*(uint32_t *)rnd)); ^~~~~~~~ cc1: all warnings being treated as errors ../common_arm/Makefile.common:118: recipe for target 'obj/hitagS.o' failed make[1]: *** [obj/hitagS.o] Error 1 Makefile:167: recipe for target 'armsrc/all' failed make: *** [armsrc/all] Error 2
john@pc:~/Githubs/proxmark3$ cc --version cc (Ubuntu 10.3.0-1ubuntu1~18.04~1) 10.3.0
Any hints to solve that are appreciated.
Best regards
JD.
The text was updated successfully, but these errors were encountered:
Dear community,
last week I encountered an error during building. The error evolved on the target hitags.
Here 's the build log:
compiler version: arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620 [-] GEN fpga_version_info.c [-] CC fpga_version_info.c [-] GEN obj/fpga_all.bit.z [-] GEN obj/fpga_all.o [-] CC start.c [-] CC iso15693.c [-] CC ../common/iso15693tools.c [-] CC thinfilm.c [-] CC lfops.c [-] CC lfsampling.c [-] CC pcf7931.c [-] CC ../common/lfdemod.c [-] CC lfadc.c [-] CC ../common/lz4/lz4.c [-] CC legicrf.c [-] CC legicrfsim.c [-] CC ../common/legic_prng.c [-] CC ../common/hitag2/hitag2_crypto.c [-] CC hitag2.c [-] CC hitagS.c hitagS.c: In function 'hts_select_tag': hitagS.c:1158:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] key_le = *(uint64_t *)packet->key; ^~~~~~ hitagS.c:1160:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] uint64_t state = ht2_hitag2_init(reflect48(key_le), reflect32(tag.data.s.uid_le), reflect32(*(uint32_t *)rnd)); ^~~~~~~~ hitagS.c:1252:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] uint64_t state = ht2_hitag2_init(reflect48(key_le), reflect32(tag.data.s.uid_le), reflect32(*(uint32_t *)rnd)); ^~~~~~~~ cc1: all warnings being treated as errors ../common_arm/Makefile.common:118: recipe for target 'obj/hitagS.o' failed make[1]: *** [obj/hitagS.o] Error 1 Makefile:167: recipe for target 'armsrc/all' failed make: *** [armsrc/all] Error 2
john@pc:~/Githubs/proxmark3$ cc --version cc (Ubuntu 10.3.0-1ubuntu1~18.04~1) 10.3.0
Any hints to solve that are appreciated.
Best regards
JD.
The text was updated successfully, but these errors were encountered: