[syslinux] syslinux-4.03-pre4 + MCONFIG.devel + gcc 4.5

H. Peter Anvin hpa at zytor.com
Mon Oct 11 10:40:34 PDT 2010


On 10/10/2010 12:29 PM, Sebastian Herbszt wrote:
> I am getting
> 
> cc1: warnings being treated as errors
> strspn.c: In function 'strxspn':
> strspn.c:14:20: error: inlining failed in call to 'set_bit': optimizing for size and code size would grow
> strspn.c:32:9: error: called from here
> strspn.c:14:20: error: inlining failed in call to 'set_bit': optimizing for size and code size would grow
> strspn.c:36:9: error: called from here
> 
> with gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
> 

Yeah, not to mention the fact that that code is generic code which can
be done *much* better on x86...

On the other hand, for 4.03 we should probably just drop the "inline".

	-hpa




More information about the Syslinux mailing list