"Kamil Rytarowski" wrote: > Module Name: src > Committed By: kamil > Date: Fri Jun 5 21:48:04 UTC 2020 > > Modified Files: > > src/sys/arch/x86/x86: cpu_rng.c > > Log Message: > > Change const unsigned to preprocessor define > > Fixes GCC -O0 build with the stack protector.
Surely a gcc bug? This almost certainly needs an /* XXX gcc stack protector -O0 bug */ comment and possibly an entry in doc/HACKS as well otherwise someone will come along later and de-uglify this change. Cheers, Simon.