Closed hungrydonkey closed 3 months ago
I guess that might be a compiler issue, we haven't tested things with GCC 14. Maybe its more strict with pointer types.
Adding -Wno-incompatible-pointer-types
to the mupq/mk/config.mk
solves this problem. A better way is to improve the source code of dilithium_m4fstack.
We are commonly testing and benchmarking with the GNU Arm toolchain. They haven't released the gcc14 toolchain yet, so we haven't yet tested it. I briefly tried it with arm-none-eabi-gcc 14.1.0 from the arch package manger https://archlinux.org/packages/extra/x86_64/arm-none-eabi-gcc/, but that causes other problems that I don't have time to look into right now. I guess we'll wait until Arm releases the new toolchain later this year.
Feel free to open a PR to change the Dilithium sources and we'll happily merge it.
Env
OS: Manjaro x86_64 6.9.2-1-MANJARO arm-none-eabi-gcc: 14.1.0
Compilation error
The output of
make -j4 PLATFORM=stm32f4discovery
: