* Package: sys-boot/lilo-23.2-r2 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux minimal multilib userland_GNU * FEATURES: preserve-libs sandbox >>> Unpacking source... >>> Unpacking lilo-23.2.tar.gz to /var/tmp/portage/sys-boot/lilo-23.2-r2/work >>> Unpacking dolilo-0.5.tar.bz2 to /var/tmp/portage/sys-boot/lilo-23.2-r2/work >>> Source unpacked in /var/tmp/portage/sys-boot/lilo-23.2-r2/work >>> Preparing source in /var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2 ... make --jobs=1 --load-average=8 'CC=x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic' all ./checkit GCC version 3.3.5 or later is required gcc version 4.8.0 OKAY AS86 version 0.16.14 or later is required as86 version 0.16.19 OKAY LD86 version 0.16.14 or later is required ld86 version 0.16.19 OKAY BCC version 0.16.14 or later is recommended bcc is not present You will not be able to make floppy2, diag2.img, or lilo.com echo Tested >test.img make -C src all make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/src' x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DSHS_MAIN -o version common.c echo "#define CFLAGS \"" -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` "\"" >flags.i tail -$((`wc -l _TmP_ for i in boot.c bsect.c cfg.c common.c device.c edit.c geometry.c identify.c lilo.c map.c partition.c probe.c raid.c shs2.c temp.c bdata.h bitmap.h boot.h bsect.h cfg.h common.h config.h device.h edit.h geometry.h identify.h lilo.h loader.h map.h md-int.h partition.h probe.h raid.h shs2.h temp.h version.h vesainfo.h ; do cat $i >>_TmP_ ; done echo "#define CSOURCE " `./version _TmP_` >>flags.i **Note: LONG is bigger than INT rm -f _TmP_ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` lilo.c lilo.c: In function 'show_images': lilo.c:307:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] offset = *(short*)&boot.sector[1] + 3; ^ lilo.c:353:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(unsigned short *) buffer != DC_MAGIC /* || !buffer[2] */) ^ lilo.c:366:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(unsigned short *) buffer == DC_MAGIC) ^ lilo.c:457:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!*(unsigned int *) descrs.d.descr[image].rd_size) ^ lilo.c:460:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned int *) descrs.d.descr[image].rd_size); ^ lilo.c:476:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(unsigned short *) buffer != DC_MAGIC) ^ lilo.c: In function 'main': lilo.c:218:17: warning: array subscript is above array bounds [-Warray-bounds] if (!strncmp(buf[0].par_c.signature-4,"LILO",4)) { ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` raid.c raid.c: In function 'raid_setup': raid.c:236:10: warning: variable 'disk_fd' set but not used [-Wunused-but-set-variable] int disk_fd; ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` map.c map.c: In function 'map_create': map.c:90:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short *) buffer = DC_MGOFF; ^ map.c:109:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short *) buffer = 0; ^ map.c: In function 'sa6_from_sa': map.c:356:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] sector = *(unsigned int*)&(sa->sector); ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` geometry.c geometry.c: In function 'geo_get': geometry.c:1104:6: warning: variable 'raid_limit' set but not used [-Wunused-but-set-variable] int raid_limit; ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` boot.c boot.c: In function 'boot_image': boot.c:109:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned int *) descr->rd_size = st.st_size; ^ boot.c: In function 'boot_other': boot.c:309:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define PART(s,n) (((struct partition *) (s)[0].par_c.ptable)[(n)]) ^ boot.c:469:9: note: in expansion of macro 'PART' PART(buff,0).boot_ind = geo.device; ^ boot.c:309:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define PART(s,n) (((struct partition *) (s)[0].par_c.ptable)[(n)]) ^ boot.c:470:9: note: in expansion of macro 'PART' PART(buff,0).start_sect = geo.start; /* pseudo partition table */ ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` device.c device.c: In function 'register_bios': device.c:631:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] serial = *(int*)&buff.sector[PART_TABLE_OFFSET-6]; ^ device.c:642:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)&buff.sector[PART_TABLE_OFFSET-6] = serial; ^ device.c:643:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(short*)&buff.sector[PART_TABLE_OFFSET - 2] == 0) ^ device.c:644:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short*)&buff.sector[PART_TABLE_OFFSET - 2] = MAGIC_SERIAL; ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` common.c common.c: In function 'check_version': common.c:175:17: warning: array subscript is above array bounds [-Warray-bounds] if (!strncmp(sect->par_1.signature-4,"LILO",4)) ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` bsect.c bsect.c: In function 'bsect_open': bsect.c:662:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] stage_flags = ((BOOT_SECTOR*)(loader->data)) -> par_2.stage; ^ bsect.c:714:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] = BOOT_SIGNATURE; ^ bsect.c: In function 'get_image': bsect.c:988:13: warning: value computed is not used [-Wunused-value] *tmp++; ^ bsect.c: In function 'bsect_common': bsect.c:1249:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short *) fallback_buf = DC_MAGIC; ^ bsect.c: In function 'bsect_update': bsect.c:1471:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(short*)&bsect_wr.sector[1] = space - 3; ^ bsect.c:1477:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(short*)&bsect_wr.sector[space+1] += len; ^ bsect.c: In function 'bsect_uninstall': bsect.c:1627:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] != BOOT_SIGNATURE) ^ bsect.c: In function 'bsect_raid_update': bsect.c:1698:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(unsigned short *) &bsect.sector[BOOT_SIG_OFFSET] = BOOT_SIGNATURE; ^ bsect.c: In function 'bsect_uninstall': bsect.c:1630:17: warning: array subscript is above array bounds [-Warray-bounds] if (!strncmp(bsect.par_1.signature-4,"LILO",4)) ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` cfg.c x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` partition.c partition.c: In function 'part_nowrite': partition.c:111:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] && *(short*)bs.par_d.bpb.bytes_per_sector == SECTOR_SIZE ^ partition.c:125:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] else if (*(int*)bs.sector == 0xFFFFFFFEU) { ^ partition.c: In function 'part_verify': partition.c:172:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(int*)bs.signature==EX_MAG_HL) mbr = bs.stage; ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` identify.c x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` probe.c probe.c: In function 'fetch': probe.c:194:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(int*)buf.s5.checksum != crc32((unsigned char*)&buf.s5 + 4, got-4, CRC_POLY1)) ^ probe.c: In function 'purge': probe.c:233:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)buf.s5.checksum = crc32((unsigned char*)&buf.s5 + 4, i-4, CRC_POLY1); ^ probe.c: In function 'bios_device': probe.c:937:9: warning: variable 'mbios' set but not used [-Wunused-but-set-variable] int mbios[BD_MAX_HARD]; ^ probe.c: In function 'do_volid': probe.c:1154:33: warning: variable 'valid' set but not used [-Wunused-but-set-variable] int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES]; ^ probe.c:1154:9: warning: variable 'uniq' set but not used [-Wunused-but-set-variable] int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES]; ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` shs2.c x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` edit.c edit.c: In function 'get_std_headers': edit.c:108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] bmh->sizeImageData = *(int*)(fh->size) - *(int*)(fh->offsetToBits); ^ edit.c:108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] edit.c:128:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(int*)(fh->offsetToBits) == sizeof(BITMAPFILEHEADER) + ^ edit.c:136:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)(lh->size) = size; ^ edit.c: In function 'put_std_bmpfile': edit.c:174:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)(fh->offsetToBits) = n = sizeof(BITMAPFILEHEADER) + ^ edit.c:177:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int*)(fh->size) = total + n; ^ edit.c: In function 'bmp_file_close': edit.c:309:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ edit.c: In function 'put_std_bmpfile': edit.c:159:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, fh, sizeof(*fh)); ^ edit.c:160:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bmh, sizeof(*bmh)); ^ edit.c:161:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, palette, npalette*sizeof(palette[0])); ^ edit.c:162:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, lh, sizeof(*lh)); ^ edit.c:179:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, fh, sizeof(*fh)); ^ edit.c:180:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, bmh, sizeof(*bmh)); ^ x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DLILO_BINARY -o mkloader temp.c x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DFIRST=0x62177489 -o first.s first.S x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E -C -traditional -DLILO_ASM -o common.s common.h as86 -0 -a -w -l first.lis -o first.o first.s ld86 -0 -s -o first.img first.o dd if=first.img of=first.b bs=32 skip=1 16+0 records in 16+0 records out 512 bytes (512 B) copied, 0.000130381 s, 3.9 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DTEXT=0x9dd476ec second.S -o second.s as86 -0 -a -w -l second.lis -o second.o second.s ld86 -0 -s -o second.img second.o dd if=second.img of=second.b bs=32 skip=1 224+0 records in 224+0 records out 7168 bytes (7.2 kB) copied, 0.000410132 s, 17.5 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DMENU=0x2012a4a7 second.S -o third.s as86 -0 -a -w -l third.lis -o third.o third.s ld86 -0 -s -o third.img third.o dd if=third.img of=third.b bs=32 skip=1 288+0 records in 288+0 records out 9216 bytes (9.2 kB) copied, 0.000502442 s, 18.3 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DBITMAP=0x2ece2fbe second.S -o bitmap.s as86 -0 -a -w -l bitmap.lis -o bitmap.o bitmap.s ld86 -0 -s -o bitmap.img bitmap.o dd if=bitmap.img of=bitmap.b bs=32 skip=1 304+0 records in 304+0 records out 9728 bytes (9.7 kB) copied, 0.000517807 s, 18.8 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DMBR=0xafbbe760 \ -o mbr.s mbr.S as86 -0 -a -w -l mbr.lis -o mbr.o mbr.s ld86 -0 -s -o mbr.img mbr.o dd if=mbr.img of=mbr.b bs=32 skip=49 16+0 records in 16+0 records out 512 bytes (512 B) copied, 0.000131539 s, 3.9 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DCHAIN=0x536a7646 chain.S -o chain.s as86 -0 -a -w -l chain.lis -o chain.o chain.s ld86 -0 -s -o chain.img chain.o dd if=chain.img of=chain.b bs=32 skip=1 48+0 records in 48+0 records out 1536 bytes (1.5 kB) copied, 0.00017462 s, 8.8 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -DMBX=0x93c00848 \ -o mbr2.s mbr.S as86 -0 -a -w -l mbr2.lis -o mbr2.o mbr2.s ld86 -0 -s -o mbr2.img mbr2.o dd if=mbr2.img of=mbr2.b bs=32 skip=49 16+0 records in 16+0 records out 512 bytes (512 B) copied, 0.000130953 s, 3.9 MB/s ./mkloader >loader.i x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -c -Os -Wall `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` temp.c x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -o lilo lilo.o raid.o map.o geometry.o boot.o device.o common.o bsect.o cfg.o partition.o identify.o probe.o shs2.o edit.o temp.o `if [ -f /usr/include/libdevmapper.h ]; then echo "-ldevmapper"; fi` x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` -o disk.s disk.S as86 -0 -a -w -l disk.lis -o disk.o disk.s ld86 -0 -s -o disk.img disk.o dd if=disk.img of=disk.b bs=32 skip=1 125+1 records in 125+1 records out 4016 bytes (4.0 kB) copied, 0.000290923 s, 13.8 MB/s x86_64-pc-linux-gnu-gcc -ffreestanding -fno-pic -E -traditional `if [ -f /usr/include/linux/version.h ]; then echo -DHAS_VERSION_H; fi` `if [ -f /usr/include/libdevmapper.h ]; then echo -DHAS_LIBDEVMAPPER_H; fi` -DLILO=0xbb920890 `( if [ -r $DESTDIR/etc/lilo.defines ]; then cat $DESTDIR/etc/lilo.defines; else echo -DBDATA -DDSECS=3 -DEVMS -DIGNORECASE -DLVM -DNOKEYBOARD -DONE_SHOT -DPASS160 -DREISERFS -DREWRITE_TABLE -DSOLO_CHAIN -DVERSION -DVIRTUAL -DMDPRAID ; fi ) | sed 's/-D/-DLCF_/g'` \ -DSIZEDISKB=`wc -c >> Source compiled. >>> Test phase [not enabled]: sys-boot/lilo-23.2-r2 >>> Install lilo-23.2-r2 into /var/tmp/portage/sys-boot/lilo-23.2-r2/image/ category sys-boot make --jobs=1 --load-average=8 DESTDIR=/var/tmp/portage/sys-boot/lilo-23.2-r2/image/ install make -C src all make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/src' make -C src install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/src' mkdir -p $DESTDIR/sbin $DESTDIR/etc mkdir -p $DESTDIR/boot $DESTDIR/usr/sbin if [ -f chain.b -a 1 -eq 0 ]; then cp chain.b $DESTDIR/boot; fi if [ -f mbr.b -a 1 -eq 0 ]; then cp mbr.b $DESTDIR/boot; fi if [ -f diag1.img ]; then cp -f diag1.img $DESTDIR/boot; fi if [ -f diag2.img ]; then cp -f diag2.img $DESTDIR/boot; fi cp lilo $DESTDIR/sbin/lilo cp ../mkrescue $DESTDIR/usr/sbin/mkrescue cp ../keytab-lilo.pl $DESTDIR/usr/sbin/keytab-lilo make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/src' make -C hooks install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/hooks' mkdir -p $DESTDIR/etc/initramfs/post-update.d mkdir -p $DESTDIR/etc/kernel/postinst.d mkdir -p $DESTDIR/etc/kernel/postrm.d install -m 0755 initramfs/post-update.d/runlilo $DESTDIR/etc/initramfs/post-update.d install -m 0755 kernel/postinst.d/zz-runlilo $DESTDIR/etc/kernel/postinst.d install -m 0755 kernel/postrm.d/zz-runlilo $DESTDIR/etc/kernel/postrm.d make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/hooks' make -C sample install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/sample' mkdir -p $DESTDIR/etc install -m 0644 lilo.example.conf $DESTDIR/etc/lilo.conf_example make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/sample' make -C scripts install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/scripts' mkdir -p $DESTDIR/usr/sbin install -m 0755 liloconfig $DESTDIR/usr/sbin install -m 0755 lilo-uuid-diskid $DESTDIR/usr/sbin make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/scripts' make -C man install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/man' mkdir -p $DESTDIR/usr/share/man/man5 mkdir -p $DESTDIR/usr/share/man/man8 install -m 0644 lilo.8 $DESTDIR/usr/share/man/man8 install -m 0644 mkrescue.8 $DESTDIR/usr/share/man/man8 install -m 0644 lilo.conf.5 $DESTDIR/usr/share/man/man5 install -m 0644 keytab-lilo.8 $DESTDIR/usr/share/man/man8 make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/man' make -C dos install make[1]: Entering directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/dos' if [ -d $DESTDIR/dosC/boot -a -f lilo.com ]; then \ cp lilo.com $DESTDIR/dosC/boot; fi make[1]: Leaving directory `/var/tmp/portage/sys-boot/lilo-23.2-r2/work/lilo-23.2/dos' >>> Completed installing lilo-23.2-r2 into /var/tmp/portage/sys-boot/lilo-23.2-r2/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version sbin/lilo * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * lilo.c:307:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * lilo.c:353:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * lilo.c:366:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * lilo.c:457:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * lilo.c:460:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * lilo.c:476:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * map.c:90:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * map.c:109:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * map.c:356:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * boot.c:109:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * boot.c:309:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * boot.c:309:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * device.c:631:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * device.c:642:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * device.c:643:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * device.c:644:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:662:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:714:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:1249:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:1471:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:1477:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:1627:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * bsect.c:1698:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * partition.c:111:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * partition.c:125:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * partition.c:172:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * probe.c:194:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * probe.c:233:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:128:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:136:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:174:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * edit.c:177:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * lilo.c:218:17: warning: array subscript is above array bounds [-Warray-bounds] * common.c:175:17: warning: array subscript is above array bounds [-Warray-bounds] * bsect.c:1630:17: warning: array subscript is above array bounds [-Warray-bounds] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: https://alioth.debian.org/projects/lilo/ * Removing /usr/share/gtk-doc/ * Removing /usr/share/locale/ * Removing /usr/share/doc * checking 14 files for package collisions >>> Merging sys-boot/lilo-23.2-r2 to / --- /usr/ --- /usr/sbin/ >>> /usr/sbin/mkrescue >>> /usr/sbin/lilo-uuid-diskid >>> /usr/sbin/liloconfig >>> /usr/sbin/keytab-lilo --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man5/ >>> /usr/share/man/man5/lilo.conf.5 --- /usr/share/man/man8/ >>> /usr/share/man/man8/mkrescue.8 >>> /usr/share/man/man8/lilo.8 >>> /usr/share/man/man8/keytab-lilo.8 --- /sbin/ >>> /sbin/lilo --- /boot/ >>> /boot/.keep_sys-boot_lilo-0 --- /etc/ >>> /etc/lilo.conf_example --- /etc/initramfs/ --- /etc/initramfs/post-update.d/ >>> /etc/initramfs/post-update.d/runlilo --- /etc/kernel/ --- /etc/kernel/postrm.d/ >>> /etc/kernel/postrm.d/zz-runlilo --- /etc/kernel/postinst.d/ >>> /etc/kernel/postinst.d/zz-runlilo >>> Safely unmerging already-installed instance... >>> Original instance of package unmerged safely. >>> sys-boot/lilo-23.2-r2 merged.