sys-boot/lilo-23.2-r2 fails to build with gcc 4.8 There is similiar bug in debian tracker: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701315 they haven't fixed it yet, however i managed to compile lilo with -ffreestanding gcc flag as in: http://gcc.gnu.org/gcc-4.8/porting_to.html but haven't tested if it actualy boots. Reproducible: Always
Created attachment 349164 [details] failed build log
Created attachment 349166 [details] successful build log
Created attachment 349168 [details] emerge --info
Lunar Linux developer cavalier pointed me to this patch: http://download.lunar-linux.org/lunar/patches/lilo-23.2-gcc-4.8.patch --- lilo-23.0-4.7/src/Makefile 2010-06-27 14:53:05.000000000 +0200 +++ lilo-23.0-4.8/src/Makefile 2013-05-30 09:10:37.412311814 +0200 @@ -185,7 +185,7 @@ (dd if=first.b bs=512 conv=sync; dd if=bitmap.b) >boot-bmp.b common.s: common.h - $(CPP) -C -traditional -DLILO_ASM -o common.s common.h + $(CPP) -C -nostdinc -traditional -DLILO_ASM -o common.s common.h bitmap.o: bitmap.s common.s third.o: third.s common.s
Looks sane to me. Has anyone tested this?
I've built lilo on two amd64 machines with gcc-4.8.1 successfully with the patch, and it has been running on both without problems for a month now. Sorry for the late comment.
+*lilo-24.0 (23 Sep 2013) + + 23 Sep 2013; Tony Vroon <chainsaw@gentoo.org> +lilo-24.0.ebuild, + +files/lilo-24.0-novga.patch: + Version bump, as requested by Tomasz Golinski in bug #473366. Rediffed + "novga" patch by Ben Kohler closes bug #452862. Upstream changelog confirms + that this fixes the GCC 4.8 build failure reported by nzqr in bug #471274.