Created attachment 342207 [details] tar ball with sources and generated *.i files Description of problem: When trying to compile code which contains | char *str = strdupa(str_c); I get | $ cc -combine -D_GNU_SOURCE -DVERSION=\"\" -DLOCALSTATEDIR=\"\" -O2 -g -save-temps -Wall -W -std=gnu99 -Wno-unused -fstack-protector -Wp,-D_FORTIFY_SOURCE=2 -Werror dhcp.c dhcpd.c main.c -MMD -MF ./.dep.dhcpd-simple -o dhcpd-simple | /usr/include/bits/string3.h:51: sorry, unimplemented: inlining failed in call to 'memcpy': function not inlinable | dhcpd.c:229: sorry, unimplemented: called from here error message. Removing the '-combine' (which is required for proper .dep* file generation) or -D_FORTIFY_SOURCE=2 makes the program compile fine. I will attach the three *.i files where the problem can be reproduced by | $ gcc -combine -O *.i | dhcpd.c: In function 'dhcpd_param_parse': | /usr/include/bits/string3.h:51: sorry, unimplemented: inlining failed in call to 'memcpy': function not inlinable | dhcpd.c:229: sorry, unimplemented: called from here Version-Release number of selected component (if applicable): gcc-4.3.2-7.x86_64 glibc-devel-2.9-3.x86_64
-combine has many issues, isn't really supported and will be replaced by LTO/LIPO.