I compared with the most recent (2021-06-13) buildlog from the debian pkg here https://buildd.debian.org/status/fetch.php?pkg=syslinux&arch=amd64&ver=3%3A6.04~git20190206.bf6db5b4%2Bdfsg1-3%2Bb1&stamp=1623592451&raw=0 and the -fcf-protection flag is not present.
I will try to determine when it was added and why it is not compatible.
Found this similar bug https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1940029
The error message maybe misleading, because this flag is supposed to be compatible with the i386 arch (as per this doc https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection).
I compared with the most recent (2021-06-13) buildlog from the debian pkg here https:/ /buildd. debian. org/status/ fetch.php? pkg=syslinux& arch=amd64& ver=3%3A6. 04~git20190206. bf6db5b4% 2Bdfsg1- 3%2Bb1& stamp=162359245 1&raw=0 and the -fcf-protection flag is not present.
I will try to determine when it was added and why it is not compatible.
Found this similar bug https:/ /bugs.launchpad .net/ubuntu/ +source/ gcc-11/ +bug/1940029
The error message maybe misleading, because this flag is supposed to be compatible with the i386 arch (as per this doc https:/ /wiki.ubuntu. com/ToolChain/ CompilerFlags# A-fcf-protectio n).