package does not compile
Trying to compile this package, I get several errors like
In function 'memset',
inlined from 'init_rock_state.part.0' at fs/isofs/rock.c:74:2:
./include/linux/fortify-string.h:172:17: error: call to '__write_overflow' declared with attribute error: detected write beyond size of object passed as 1st parameter
172 | __write_overflow();
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:271: fs/isofs/rock.o] Error 1
make[1]: *** [scripts/Makefile.build:514: fs/isofs] Error 2
and also
In function 'memcpy',
inlined from 'tl_to_darg.part.0' at fs/ext4/fast_commit.c:1295:2:
./include/linux/fortify-string.h:187:25: error: call to '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter
187 | __read_overflow2();
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:271: fs/ext4/fast_commit.o] Error 1
make[1]: *** [scripts/Makefile.build:514: fs/ext4] Error 2
UPDATE: This seems to be due to issues in some parts of the code that are still present although kernel 5.14 has been released as of 02 Sep 2021. Until these are fixed, a dirty workaround is setting the following config option:
CONFIG_FORTIFY_SOURCE=n
UPDATE: This is due to the C compiler version used. These errors only occur with gcc-12
but not with stock gcc-11
from the core repo.