tar -xf lilo-24.2.tar.gz Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From Sl4ck3ver on LQ: |http://www.linuxquestions.org/questions/slackware-14/[patch]-found-a-nasty-lilo-bug-with-a-2-line-fix-for-14-2-a-4175577969/ | |Every BIOS-e820 entry contains start and size of the area as 64-bit value |and is shifted right 10 bits (1024) with "shrd" while searching for the |largest "usable" memory range entry. | | |Finally the found values are converted back into real addresses by shifting |left 10 bits... | |BUT this is done the wrong only using a 32-bit register so the high dword is lost!!! | |0x000000027fffffff gets 0x000000007fffffff :-( | |Every EXISTING system which happens to work fine just happens to |have an entry which just contains "usable" memory at that address. |Often in the form of an entry like: | |BIOS-e820: [mem 0x0000000000100000-0x00000000fxxxxxxx] usable | |Virtually all systems have "usable" memory at that position, so until |now this bug was not noticed! | | |HERE IS THE FIX, A 2-LINER: |=========================== | |Ignore any usable memory range not starting below 4GB and |so avoid the truncation, really just a work around :-) | |--- ./src/second.S.orig 2016-04-21 15:12:57.155456806 -0500 |+++ ./src/second.S 2016-04-21 15:15:08.918466313 -0500 -------------------------- patching file src/second.S Hunk #1 succeeded at 2975. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From alex14641 on LQ: |http://www.linuxquestions.org/questions/slackware-14/requests-for-current-20151216-a-4175561577/page142.html#post5686598 | |On my system, the Sandisk Cruzer USB Stick has file names in /dev/disk/by-id/, that contain |colons: this causes lilo to fail when using one of these files as a boot disk. This patch |replaces the failure with a warning. | |--- ./src/geometry.c.orig 2015-11-21 17:50:18.000000000 -0600 |+++ ./src/geometry.c 2017-03-23 15:30:53.925990587 -0500 -------------------------- patching file src/geometry.c Hunk #1 succeeded at 1357. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naru lilo-24.2/src/common.h lilo-24.2.new/src/common.h |--- lilo-24.2/src/common.h 2015-11-21 23:50:23.000000000 +0000 |+++ lilo-24.2.new/src/common.h 2018-02-15 15:13:17.411968439 +0000 -------------------------- patching file src/common.h Hunk #1 succeeded at 386. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naru lilo-24.2/src/geometry.c lilo-24.2.new/src/geometry.c |--- lilo-24.2/src/geometry.c 2015-11-21 23:50:18.000000000 +0000 |+++ lilo-24.2.new/src/geometry.c 2018-02-15 16:10:25.844149725 +0000 -------------------------- patching file src/geometry.c Hunk #1 succeeded at 84. Hunk #2 succeeded at 201. Hunk #3 succeeded at 712. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naru lilo-24.2/src/lilo.h lilo-24.2.new/src/lilo.h |--- lilo-24.2/src/lilo.h 2015-11-21 23:50:20.000000000 +0000 |+++ lilo-24.2.new/src/lilo.h 2018-02-15 15:27:35.647786827 +0000 -------------------------- patching file src/lilo.h Hunk #1 succeeded at 245. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ./src/Makefile.orig 2015-11-21 17:50:25.000000000 -0600 |+++ ./src/Makefile 2020-12-23 15:08:08.067692842 -0600 -------------------------- patching file src/Makefile Hunk #1 succeeded at 22. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- ./make.vars.orig 2013-06-07 02:50:30.000000000 -0500 |+++ ./make.vars 2025-06-12 15:13:44.303660182 -0500 -------------------------- patching file make.vars Hunk #1 succeeded at 80. done ./checkit GCC version 3.3.5 or later is required gcc version 15.1.0 OKAY AS86 version 0.16.14 or later is required as86 version 0.16.21 OKAY LD86 version 0.16.14 or later is required ld86 version 0.16.21 OKAY BCC version 0.16.14 or later is recommended bcc version 0.16.21 OKAY echo Tested >test.img make -C src all make[1]: Entering directory '/home/djemos/SLINT/0.5.5-lilo/0.5.5/lilo/src/lilo-24.2/src' gcc -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon -DSHS_MAIN -o version common.c echo "#define CFLAGS \"" -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon "\"" >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 rm -f _TmP_ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon lilo.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon raid.c raid.c: In function ‘raid_setup’: raid.c:236:17: προειδοποίηση: variable ‘disk_fd’ set but not used [-Wunused-but-set-variable] 236 | int disk_fd; | ^~~~~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon map.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon geometry.c geometry.c: In function ‘geo_get’: geometry.c:1196:13: προειδοποίηση: variable ‘raid_limit’ set but not used [-Wunused-but-set-variable] 1196 | int raid_limit; | ^~~~~~~~~~ geometry.c:1032:17: προειδοποίηση: ‘strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 1032 | strncpy(dmdev, buf, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon boot.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon device.c device.c: In function ‘pf_hard_disk_scan’: device.c:948:9: προειδοποίηση: ‘strncpy’ output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 948 | strncpy(name, DEV_DISK_DIR "/", strlen(DEV_DISK_DIR)+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon common.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon bsect.c bsect.c: In function ‘get_image’: bsect.c:988:13: προειδοποίηση: value computed is not used [-Wunused-value] 988 | *tmp++; | ^~~~~~ bsect.c: In function ‘menu_do_scheme’: bsect.c:558:5: προειδοποίηση: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 558 | strncpy(menu->menu_sig, "MENU", 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsect.c: In function ‘bsect_common’: bsect.c:1093:45: προειδοποίηση: ‘%s’ directive writing between 13 and 2147483645 bytes into a region of size 507 [-Wformat-overflow=] 1093 | sprintf(strchr(options,0),"root=%s ", root); | ^~ bsect.c:1093:13: σημείωση: ‘sprintf’ output between 20 and 2147483652 bytes into a destination of size 512 1093 | sprintf(strchr(options,0),"root=%s ", root); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsect.c:1096:45: προειδοποίηση: ‘%s’ directive writing between 7 and 2147483645 bytes into a region of size 507 [-Wformat-overflow=] 1096 | sprintf(strchr(options,0),"root=%s ", root); | ^~ bsect.c:1096:13: σημείωση: ‘sprintf’ output between 14 and 2147483652 bytes into a destination of size 512 1096 | sprintf(strchr(options,0),"root=%s ", root); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsect.c:1099:45: προειδοποίηση: ‘%s’ directive writing between 6 and 2147483645 bytes into a region of size 507 [-Wformat-overflow=] 1099 | sprintf(strchr(options,0),"root=%s ", root); | ^~ bsect.c:1099:13: σημείωση: ‘sprintf’ output between 13 and 2147483652 bytes into a destination of size 512 1099 | sprintf(strchr(options,0),"root=%s ", root); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsect.c: In function ‘bsect_open’: bsect.c:641:9: προειδοποίηση: ‘memcpy’ forming offset [8, 441] is out of the bounds [0, 8] of object ‘First’ with type ‘BUILTIN_FILE’ [-Warray-bounds=] 641 | memcpy(&bsect, First.data, MAX_BOOT_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bsect.c:46: loader.h:13:21: σημείωση: ‘First’ declared here 13 | extern BUILTIN_FILE First; | ^~~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon cfg.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon partition.c partition.c: In function ‘do_install_mbr’: partition.c:698:5: προειδοποίηση: ‘memcpy’ forming offset [8, 437] is out of the bounds [0, 8] [-Warray-bounds=] 698 | memcpy(&buf, extended_pt ? Mbr2.data : Mbr.data, MAX_BOOT_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon identify.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon probe.c probe.c: In function ‘fetch’: probe.c:194:10: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 194 | if (*(int*)buf.s5.checksum != crc32((unsigned char*)&buf.s5 + 4, got-4, CRC_POLY1)) | ^~~~~~~~~~~~~~~~~~~~~ probe.c: In function ‘purge’: probe.c:233:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 233 | *(int*)buf.s5.checksum = crc32((unsigned char*)&buf.s5 + 4, i-4, CRC_POLY1); | ^~~~~~~~~~~~~~~~~~~~~ probe.c: In function ‘bios_device’: probe.c:937:9: προειδοποίηση: variable ‘mbios’ set but not used [-Wunused-but-set-variable] 937 | int mbios[BD_MAX_HARD]; | ^~~~~ probe.c: In function ‘do_volid’: probe.c:1154:33: προειδοποίηση: variable ‘valid’ set but not used [-Wunused-but-set-variable] 1154 | int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES]; | ^~~~~ probe.c:1154:9: προειδοποίηση: variable ‘uniq’ set but not used [-Wunused-but-set-variable] 1154 | int uniq[MAX_BIOS_DEVICES], valid[MAX_BIOS_DEVICES]; | ^~~~ gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon shs2.c gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon edit.c edit.c: In function ‘get_std_headers’: edit.c:108:31: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 108 | bmh->sizeImageData = *(int*)(fh->size) - *(int*)(fh->offsetToBits); | ^~~~~~~~~~~~~~~~ edit.c:108:51: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 108 | bmh->sizeImageData = *(int*)(fh->size) - *(int*)(fh->offsetToBits); | ^~~~~~~~~~~~~~~~~~~~~~~~ edit.c:128:10: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 128 | if (*(int*)(fh->offsetToBits) == sizeof(BITMAPFILEHEADER) + | ^~~~~~~~~~~~~~~~~~~~~~~~ edit.c:136:10: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 136 | *(int*)(lh->size) = size; | ^~~~~~~~~~~~~~~~ edit.c: In function ‘put_std_bmpfile’: edit.c:174:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 174 | *(int*)(fh->offsetToBits) = n = sizeof(BITMAPFILEHEADER) + | ^~~~~~~~~~~~~~~~~~~~~~~~ edit.c:177:6: προειδοποίηση: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 177 | *(int*)(fh->size) = total + n; | ^~~~~~~~~~~~~~~~ edit.c: In function ‘bmp_file_close’: edit.c:309:9: προειδοποίηση: variable ‘n’ set but not used [-Wunused-but-set-variable] 309 | int n; | ^ gcc -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon -DLILO_BINARY -o mkloader temp.c gcc -E -P -ffreestanding `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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -DFIRST=0x62177489 -o first.s first.S gcc -E -P -ffreestanding -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 copied, 6,7101e-05 s, 7,6 MB/s gcc -E -P -ffreestanding `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 -DDEVMAPPER; 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, 7,0 KiB) copied, 0,000197894 s, 36,2 MB/s gcc -E -P -ffreestanding `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 -DDEVMAPPER; 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, 9,0 KiB) copied, 0,000214212 s, 43,0 MB/s gcc -E -P -ffreestanding `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 -DDEVMAPPER; 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, 9,5 KiB) copied, 0,000252237 s, 38,6 MB/s gcc -E -P -ffreestanding -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 -DDEVMAPPER; 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 copied, 6,5446e-05 s, 7,8 MB/s gcc -E -P -ffreestanding `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 -DDEVMAPPER; 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, 1,5 KiB) copied, 9,451e-05 s, 16,3 MB/s gcc -E -P -ffreestanding -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 -DDEVMAPPER; 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 copied, 6,7438e-05 s, 7,6 MB/s ./mkloader >loader.i gcc -c -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon temp.c gcc -O2 -march=i586 -mtune=i686 -Wno-error=incompatible-pointer-types -std=gnu17 -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` -fcommon -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` gcc -E -P -ffreestanding -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 -DDEVMAPPER; 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, 3,9 KiB) copied, 0,000119327 s, 33,7 MB/s gcc -E -P -ffreestanding -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 -DDEVMAPPER; fi ) | sed 's/-D/-DLCF_/g'` \ -DSIZEDISKB=`wc -c