[syslinux] Patch: Building syslinux on gcc 4

H. Peter Anvin hpa at zytor.com
Tue Feb 6 13:02:15 PST 2007


Ram Yalamanchili wrote:
> For newer distro's (like ubuntu 6.10, FC5+), syslinux build fails due
> to gcc 4. Here is a patch to get it to build properly.
> 
> The only thing it does is add -fno-stack-protection to CFLAGS in all
> the Makefiles.
> 
> http://svn.borg.ch/patches/syslinux/syslinux-gcc4.patch

Double NAK.  It's not gcc4, it's a specific hack which has been added by 
ubuntu and gentoo (-fstack-protector by default).  It can't be added 
unconditionally like you did because it breaks earlier gccs.

	-hpa




More information about the Syslinux mailing list