Sebastian Herbszt
2010-Oct-10 19:29 UTC
[syslinux] syslinux-4.03-pre4 + MCONFIG.devel + gcc 4.5
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) Sebastian
H. Peter Anvin
2010-Oct-11 17:40 UTC
[syslinux] syslinux-4.03-pre4 + MCONFIG.devel + gcc 4.5
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