Problem identical to Bug 27507, only for lilo package. lilo builds fine after I do hardened-gcc -R but fail to build after I do hardened-gcc -A gcc -c -O1 -Wall -g `( if [ -r $ROOT/etc/lilo.defines ]; then cat $ROOT/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM - DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION - DVIRTUAL; fi ) | sed 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo - DHAS_BOOT_H` `cat mylilo.h` partition.c partition.c: In function `_llseek': partition.c:40: can't find a register in class `BREG' while reloading `asm' make: *** [partition.o] Error 1 Reproducible: Always Steps to Reproduce: 1.emerge hardened-gcc 2.hardened-gcc -A 3.emerge lilo Actual Results: failed to compile, as described under 'details' Expected Results: successful compilation System uname: 2.4.20-gentoo-r6 #3 SMP Sat Aug 30 00:08:21 CEST 2003 i686 Intel (R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
lilo and grub will get -yet_exec if has_version sys-devel/hardened-gcc is found
made the appropriate changes to the respective ebuilds to disable etdyn support by encompassing -yet_exec as CC or CFLAGS please test sunday evening (emerge sync takes time to mirror) and report back thanks in advance, Alex
New enbuild containing -yet_exec compiles & works OK
changes added to cvs