AFAICT I'm not building from source, just installing the software, which happens to require compiling some C sources. I tried building 11.2 on a fresh Fedora 37 and gcc 12.1.2 install and the build failed. The errors from the output are in the 11.2 attached file.
I noticed that 12.0.9 allegedly supports compiling in newer toolchains but the build failed again and the errors I got are in the 12.0.9 file. I'm new to building software and submitting bugs and hopefully this is the right place to ask: should I submit this via Savannah?
In file included from chacha12.c:49: chacha.i:80:22: error: argument 1 of type ‘uint8_t *’ {aka ‘unsigned char *’} declared as a pointer [-Werror=array-parameter=] 80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k, | ~~~~~~~~~^~~ In file included from chacha.i:34: chacha.h:44:23: note: previously declared as an array ‘uint8_t[64]’ {aka ‘unsigned char[64]’} 44 | void chacha12_core(uint8_t[chacha_core_OUTPUTBYTES], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chacha.i:80:42: error: argument 2 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=] 80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k, | ~~~~~~~~~~~~~~~^~ chacha.h:45:13: note: previously declared as an array ‘const uint8_t[16]’ {aka ‘const unsigned char[16]’} 45 | const uint8_t[chacha_core_INPUTBYTES], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chacha.i:80:61: error: argument 3 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=] 80 | chacha_core(uint8_t *out, const uint8_t *in, const uint8_t *k, | ~~~~~~~~~~~~~~~^ chacha.h:46:13: note: previously declared as an array ‘const uint8_t[32]’ {aka ‘const unsigned char[32]’} 46 | const uint8_t[chacha_core_KEYBYTES], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chacha.i:81:20: error: argument 4 of type ‘const uint8_t *’ {aka ‘const unsigned char *’} declared as a pointer [-Werror=array-parameter=] 81 | const uint8_t *c) | ~~~~~~~~~~~~~~~^ chacha.h:47:13: note: previously declared as an array ‘const uint8_t[16]’ {aka ‘const unsigned char[16]’} 47 | const uint8_t[chacha_core_CONSTBYTES]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:182: chacha12.o] Error 1 make[1]: Leaving directory '/home/amadorbarragan/mit-scheme-11.2/src/microcode' make: *** [Makefile:796: microcode/scheme] Error 2
regex.c: In function ‘re_match’: regex.c:155:45: error: pointer ‘stack_start’ may be used after ‘realloc’ [-Werror=use-after-free] 155 | (& (stack_temporary [(stack_pointer - stack_start)])); \ | ^ regex.c:874:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’ 874 | PUSH_FAILURE_POINT ((pattern_pc + offset), match_pc); | ^~~~~~~~~~~~~~~~~~ regex.c:149:11: note: call to ‘realloc’ here 149 | (realloc \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | (stack_start, (stack_length * (sizeof (unsigned char *)))))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:874:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’ 874 | PUSH_FAILURE_POINT ((pattern_pc + offset), match_pc); | ^~~~~~~~~~~~~~~~~~ regex.c:155:45: error: pointer ‘stack_start’ may be used after ‘realloc’ [-Werror=use-after-free] 155 | (& (stack_temporary [(stack_pointer - stack_start)])); \ | ^ regex.c:982:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’ 982 | PUSH_FAILURE_POINT (NULL, NULL); | ^~~~~~~~~~~~~~~~~~ regex.c:149:11: note: call to ‘realloc’ here 149 | (realloc \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | (stack_start, (stack_length * (sizeof (unsigned char *)))))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:982:9: note: in expansion of macro ‘PUSH_FAILURE_POINT’ 982 | PUSH_FAILURE_POINT (NULL, NULL); | ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:182: regex.o] Error 1 make[1]: Leaving directory '/home/amadorbarragan/mit-scheme-12.0.90/src/microcode' make: *** [Makefile:753: microcode/scheme] Error 2