Created attachment 840849 [details] emerge --info and buildlog app-cdr/cdrtools-3.02_alpha09-r4 fails to compile with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing setfp.c: In function 'setfp': setfp.c:47:10: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] 47 | *(long ***)(&((struct frame *)___fpoff((char *)&dummy[0]))->fr_savfp) = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [../RULES/r-gmake.obj:51: OBJ/amd64-linux-cc/pic/setfp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrtools-3.02_alpha09-r4/work/cdrtools-3.02/libschily' make[1]: *** [../RULES/rules.mks:23: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrtools-3.02_alpha09-r4/work/cdrtools-3.02/libschily' make: *** [RULES/rules1.dir:25: all] Error 2
Given this codebase is so old and upstream are gone, this is probably an append-flags -fno-strict-aliasing situation.