Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/seabios.spec'], chrootPath='/var/lib/mock/1027875-fedora-31-ppc64le-1567573568.610777/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e756ec49d4504ca2b79b8345443f2241', '-D', '/var/lib/mock/1027875-fedora-31-ppc64le-1567573568.610777/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/seabios.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 82: It's not recommended to have unversioned Obsoletes: Obsoletes: vgabios Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/seabios-1.12.1-3.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/seabios.spec'], chrootPath='/var/lib/mock/1027875-fedora-31-ppc64le-1567573568.610777/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ef30f7411bf45d5a2983a95ca8924d5', '-D', '/var/lib/mock/1027875-fedora-31-ppc64le-1567573568.610777/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5pt4o9so:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/seabios.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 82: It's not recommended to have unversioned Obsoletes: Obsoletes: vgabios Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gMuwAu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf seabios-1.12.1 + /usr/bin/xz -dc /builddir/build/SOURCES/seabios-1.12.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd seabios-1.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Workaround-for-a-win8.1-32-S4-resume-bug.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-reserve-more-memory-on-fseg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-vgabios-Reorder-video-modes-to-work-around-a-Windows.patch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ibD0Uv + umask 022 + cd /builddir/build/BUILD + cd seabios-1.12.1 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + mkdir binaries + build_bios /builddir/build/SOURCES/config.seabios-128k bios.bin bios.bin + make clean distclean + cp /builddir/build/SOURCES/config.seabios-128k .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/misc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/misc.c -o out/src/misc.o Compile checking out/src/stacks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/block.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/block.c -o out/src/block.o Compile checking out/src/cdrom.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cdrom.c -o out/src/cdrom.o Compile checking out/src/disk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/disk.c -o out/src/disk.o Compile checking out/src/mouse.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/mouse.c -o out/src/mouse.o Compile checking out/src/kbd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/kbd.c -o out/src/kbd.o Compile checking out/src/system.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/system.c -o out/src/system.o Compile checking out/src/serial.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/serial.c -o out/src/serial.o Compile checking out/src/sercon.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sercon.c -o out/src/sercon.o Compile checking out/src/clock.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/clock.c -o out/src/clock.o Compile checking out/src/resume.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/resume.c -o out/src/resume.o Compile checking out/src/pnpbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pnpbios.c -o out/src/pnpbios.o Compile checking out/src/vgahooks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/vgahooks.c -o out/src/vgahooks.o Compile checking out/src/pcibios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pcibios.c -o out/src/pcibios.o Compile checking out/src/apm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/apm.c -o out/src/apm.o Compile checking out/src/cp437.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cp437.c -o out/src/cp437.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/timer.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/timer.c -o out/src/hw/timer.o Compile checking out/src/hw/rtc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/rtc.c -o out/src/hw/rtc.o Compile checking out/src/hw/dma.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/dma.c -o out/src/hw/dma.o Compile checking out/src/hw/pic.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pic.c -o out/src/hw/pic.o Compile checking out/src/hw/ps2port.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ps2port.c -o out/src/hw/ps2port.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/src/hw/usb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb.c -o out/src/hw/usb.o Compile checking out/src/hw/usb-uhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uhci.c -o out/src/hw/usb-uhci.o Compile checking out/src/hw/usb-ohci.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomsrc/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ it-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ohci.c -o out/src/hw/usb-ohci.o Compile checking out/src/hw/usb-ehci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ehci.c -o out/src/hw/usb-ehci.o Compile checking out/src/hw/usb-hid.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hid.c -o out/src/hw/usb-hid.o Compile checking out/src/hw/usb-msc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-msc.c -o out/src/hw/usb-msc.o Compile checking out/src/hw/usb-uas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uas.c -o out/src/hw/usb-uas.o Compile checking out/src/hw/blockcmd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/blockcmd.c -o out/src/hw/blockcmd.o Compile checking out/src/hw/floppy.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/floppy.c -o out/src/hw/floppy.o Compile checking out/src/hw/ata.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ata.c -o out/src/hw/ata.o Compile checking out/src/hw/ramdisk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ramdisk.c -o out/src/hw/ramdisk.o Compile checking out/src/hw/lsi-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/lsi-scsi.c -o out/src/hw/lsi-scsi.o Compile checking out/src/hw/esp-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/esp-scsi.c -o out/src/hw/esp-scsi.o Compile checking out/src/hw/megasas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/megasas.c -o out/src/hw/megasas.o Compile checking out/src/hw/mpt-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/mpt-scsi.c -o out/src/hw/mpt-scsi.o Compile checking out/src/post.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/post.c -o out/src/post.o Compile checking out/src/e820map.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/e820map.c -o out/src/e820map.o Compile checking out/src/malloc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/malloc.c -o out/src/malloc.o Compile checking out/src/romfile.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections src/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/romfile.c -o out/src/romfile.o Compile checking out/src/x86.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/x86.c -o out/src/x86.o Compile checking out/src/optionroms.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/optionroms.c -o out/src/optionroms.o Compile checking out/src/pmm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pmm.c -o out/src/pmm.o Compile checking out/src/font.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/font.c -o out/src/font.o Compile checking out/src/boot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/boot.c -o out/src/boot.o Compile checking out/src/bootsplash.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bootsplash.c -o out/src/bootsplash.o Compile checking out/src/jpeg.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/jpeg.c -o out/src/jpeg.o Compile checking out/src/bmp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bmp.c -o out/src/bmp.o Compile checking out/src/tcgbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/tcgbios.c -o out/src/tcgbios.o Compile checking out/src/sha1.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sha1.c -o out/src/sha1.o Compile checking out/src/hw/pcidevice.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pcidevice.c -o out/src/hw/pcidevice.o Compile checking out/src/hw/ahci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ahci.c -o out/src/hw/ahci.o Compile checking out/src/hw/pvscsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pvscsi.c -o out/src/hw/pvscsi.o Compile checking out/src/hw/usb-xhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-xhci.c -o out/src/hw/usb-xhci.o Compile checking out/src/hw/usb-hub.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hub.c -o out/src/hw/usb-hub.o Compile checking out/src/hw/sdcard.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/sdcard.c -o out/src/hw/sdcard.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/src/fw/lzmadecode.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/lzmadecode.c -o out/src/fw/lzmadecode.o Compile checking out/src/fw/multiboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/multiboot.c -o out/src/fw/multiboot.o Compile checking out/src/fw/csm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/csm.c -o out/src/fw/csm.o Compile checking out/src/fw/biostables.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/biostables.c -o out/src/fw/biostables.o Compile checking out/src/fw/paravirt.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/paravirt.c -o out/src/fw/paravirt.o Compile checking out/src/fw/shadow.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/shadow.c -o out/src/fw/shadow.o Compile checking out/src/fw/pciinit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pciinit.c -o out/src/fw/pciinit.o Compile checking out/src/fw/smm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smm.c -o out/src/fw/smm.o Compile checking out/src/fw/smp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smp.c -o out/src/fw/smp.o Compile checking out/src/fw/mtrr.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mtrr.c -o out/src/fw/mtrr.o Compile checking out/src/fw/xen.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/xen.c -o out/src/fw/xen.o Compile checking out/src/fw/acpi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/acpi.c -o out/src/fw/acpi.o Compile checking out/src/fw/mptable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mptable.c -o out/src/fw/mptable.o Compile checking out/src/fw/pirtable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pirtable.c -o out/src/fw/pirtable.o Compile checking out/src/fw/smbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smbios.c -o out/src/fw/smbios.o Compile checking out/src/fw/romfile_loader.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stackIn file included from out/ccode32flat.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:54: BUILDSTDERR: ./src/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: ./src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: ./src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:59: BUILDSTDERR: ./src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: ./src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:61: BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: ./src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: ./src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: ./src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./src/string.c:9, BUILDSTDERR: from out/code32seg.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ -boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/romfile_loader.c -o out/src/fw/romfile_loader.o Compile checking out/src/hw/virtio-ring.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-ring.c -o out/src/hw/virtio-ring.o Compile checking out/src/hw/virtio-pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-pci.c -o out/src/hw/virtio-pci.o Compile checking out/src/hw/virtio-blk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-blk.c -o out/src/hw/virtio-blk.o Compile checking out/src/hw/virtio-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-scsi.c -o out/src/hw/virtio-scsi.o Compile checking out/src/hw/tpm_drivers.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/tpm_drivers.c -o out/src/hw/tpm_drivers.o Compile checking out/src/hw/nvme.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/nvme.c -o out/src/hw/nvme.o Compiling whole program out/ccode32flat.o printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n #include "src/post.c"\n #include "src/e820map.c"\n #include "src/malloc.c"\n #include "src/romfile.c"\n #include "src/x86.c"\n #include "src/optionroms.c"\n #include "src/pmm.c"\n #include "src/font.c"\n #include "src/boot.c"\n #include "src/bootsplash.c"\n #include "src/jpeg.c"\n #include "src/bmp.c"\n #include "src/tcgbios.c"\n #include "src/sha1.c"\n #include "src/hw/pcidevice.c"\n #include "src/hw/ahci.c"\n #include "src/hw/pvscsi.c"\n #include "src/hw/usb-xhci.c"\n #include "src/hw/usb-hub.c"\n #include "src/hw/sdcard.c"\n #include "src/fw/coreboot.c"\n #include "src/fw/lzmadecode.c"\n #include "src/fw/multiboot.c"\n #include "src/fw/csm.c"\n #include "src/fw/biostables.c"\n #include "src/fw/paravirt.c"\n #include "src/fw/shadow.c"\n #include "src/fw/pciinit.c"\n #include "src/fw/smm.c"\n #include "src/fw/smp.c"\n #include "src/fw/mtrr.c"\n #include "src/fw/xen.c"\n #include "src/fw/acpi.c"\n #include "src/fw/mptable.c"\n #include "src/fw/pirtable.c"\n #include "src/fw/smbios.c"\n #include "src/fw/romfile_loader.c"\n #include "src/hw/virtio-ring.c"\n #include "src/hw/virtio-pci.c"\n #include "src/hw/virtio-blk.c"\n #include "src/hw/virtio-scsi.c"\n #include "src/hw/tpm_drivers.c"\n #include "src/hw/nvme.c"\n' > out/ccode32flat.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -fwhole-program -DWHOLE_PROGRAM -c out/ccode32flat.o.tmp.c -o out/ccode32flat.o Compiling whole program out/code32seg.o printf '#include "src/string.c"\n #include "src/output.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/stacks.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n' > out/code32seg.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=0 -fwhole-program -DWHOLE_PROGRAM -c out/code32seg.o.tmp.c -o out/code32seg.o Compiling whole program out/ccode16.o BUILDSTDERR: printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/aIn file included from ./src/biosvar.h:10, BUILDSTDERR: from ./src/misc.c:8, BUILDSTDERR: from out/ccode16.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/block.c: In function 'fill_generic_edd': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:306:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 306 | u16 size = GET_FARVAR(seg, param_far->size); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:325:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 325 | SET_FARVAR(seg, param_far->size, 26); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:328:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 328 | SET_FARVAR(seg, param_far->infos, 0x74); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:329:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 329 | SET_FARVAR(seg, param_far->cylinders, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:330:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 330 | SET_FARVAR(seg, param_far->heads, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:331:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 331 | SET_FARVAR(seg, param_far->spt, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:334:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 334 | SET_FARVAR(seg, param_far->infos, 0x00); // geometry is invalid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:335:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 335 | SET_FARVAR(seg, param_far->cylinders, 0x3fff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:337:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 337 | SET_FARVAR(seg, param_far->infos, 0x02); // geometry is valid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:338:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 338 | SET_FARVAR(seg, param_far->cylinders, (u32)npc); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:340:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 340 | SET_FARVAR(seg, param_far->heads, (u32)nph); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:341:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 341 | SET_FARVAR(seg, param_far->spt, (u32)nps); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:343:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 343 | SET_FARVAR(seg, param_far->sector_count, lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:344:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 344 | SET_FARVAR(seg, param_far->blksize, blksize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:351:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 351 | SET_FARVAR(seg, param_far->size, 30); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:352:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 352 | SET_FARVAR(seg, param_far->dpte.segoff, dpte_so); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:358:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 358 | SET_FARVAR(seg, param_far->key, 0xbedd); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:361:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 361 | SET_FARVAR(seg, param_far->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:372:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 372 | SET_FARVAR(seg, param_far->iface_path, iface_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:380:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 380 | SET_FARVAR(seg, param_far->t13.device_path[0], device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:381:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 381 | SET_FARVAR(seg, param_far->t13.device_path[1], 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:383:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 383 | SET_FARVAR(seg, param_far->t13.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:386:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 386 | SET_FARVAR(seg, param_far->phoenix.device_path, device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:388:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 388 | SET_FARVAR(seg, param_far->phoenix.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c: In function 'cdemu_read': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c:36:15: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 36 | dop.lba = GET_LOW(CDEmu.ilba) + op->lba / 4; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'getLCHS': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:78:21: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 78 | u8 sptcyl = GET_LOW(CDEmu.chs.sptcyl); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:79:24: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 79 | res.cylinder = GET_LOW(CDEmu.chs.cyllow) + ((sptcyl << 2) & 0x300) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:80:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 80 | res.head = GET_LOW(CDEmu.chs.heads) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'extended_access': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:168:15: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 168 | dop.lba = GET_FARVAR(regs->ds, param_far->lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:177:36: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 177 | dop.buf_fl = SEGOFF_TO_FLATPTR(GET_FARVAR(regs->ds, param_far->data)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:178:17: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 178 | dop.count = GET_FARVAR(regs->ds, param_far->count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:187:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 187 | SET_FARVAR(regs->ds, param_far->count, dop.count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ + cp out/bios.bin binaries/bios.bin + build_bios /builddir/build/SOURCES/config.seabios-256k bios.bin bios-256k.bin + make clean distclean + cp /builddir/build/SOURCES/config.seabios-256k .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip ta.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n' > out/ccode16.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fwhole-program -DWHOLE_PROGRAM -c out/ccode16.o.tmp.c -o out/ccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/romlayout.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ src/romlayout.S -o out/romlayout.o Building ld scripts python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autoversion.h Version: ?-20190904_050647-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/version.c -o out/version.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode32flat.o out/version.o -o out/code32flat.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode16.o out/romlayout.o -o out/code16.o x86_64-linux-gnu-objdump -thr out/code32flat.o > out/code32flat.o.objdump x86_64-linux-gnu-objdump -thr out/code32seg.o > out/code32seg.o.objdump x86_64-linux-gnu-objdump -thr out/code16.o > out/code16.o.objdump python3 ./scripts/layoutrom.py out/code16.o.objdump out/code32seg.o.objdump out/code32flat.o.objdump out/autoconf.h out/romlayout16.lds out/romlayout32seg.lds out/romlayout32flat.lds Fixed space: 0xe05b-0x10000 total: 8101 slack: 6 Percent slack: 0.1% 16bit size: 34016 32bit segmented size: 2213 32bit flat size: 34283 32bit flat init size: 50400 Lowmem size: 2208 f-segment var size: 1200 Linking out/rom16.o x86_64-linux-gnu-ld -T out/romlayout16.lds out/code16.o -o out/rom16.o Stripping out/rom16.strip.o x86_64-linux-gnu-strip out/rom16.o -o out/rom16.strip.o Linking out/rom32seg.o x86_64-linux-gnu-ld -T out/romlayout32seg.lds out/code32seg.o -o out/rom32seg.o Stripping out/rom32seg.strip.o x86_64-linux-gnu-strip out/rom32seg.o -o out/rom32seg.strip.o Linking out/rom.o x86_64-linux-gnu-ld -N -T out/romlayout32flat.lds out/rom16.strip.o out/rom32seg.strip.o out/code32flat.o -o out/rom.o Prepping out/bios.bin.prep rm -f out/bios.bin out/Csm16.bin out/bios.bin.elf x86_64-linux-gnu-objdump -thr out/rom.o > out/rom.o.objdump x86_64-linux-gnu-objcopy -O binary out/rom.o out/bios.bin.raw python3 ./scripts/checkrom.py out/rom.o.objdump 128 out/bios.bin.raw out/bios.bin.prep Total size: 128320 Fixed: 71712 Free: 2752 (used 97.9% of 128KiB rom) Creating out/bios.bin cp out/bios.bin.prep out/bios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/misc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/misc.c -o out/src/misc.o Compile checking out/src/stacks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/block.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/block.c -o out/src/block.o Compile checking out/src/cdrom.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cdrom.c -o out/src/cdrom.o Compile checking out/src/disk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/disk.c -o out/src/disk.o Compile checking out/src/mouse.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/mouse.c -o out/src/mouse.o Compile checking out/src/kbd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/kbd.c -o out/src/kbd.o Compile checking out/src/system.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/system.c -o out/src/system.o Compile checking out/src/serial.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/serial.c -o out/src/serial.o Compile checking out/src/sercon.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sercon.c -o out/src/sercon.o Compile checking out/src/clock.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/clock.c -o out/src/clock.o Compile checking out/src/resume.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/resume.c -o out/src/resume.o Compile checking out/src/pnpbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pnpbios.c -o out/src/pnpbios.o Compile checking out/src/vgahooks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/vgahooks.c -o out/src/vgahooks.o Compile checking out/src/pcibios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pcibios.c -o out/src/pcibios.o Compile checking out/src/apm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/apm.c -o out/src/apm.o Compile checking out/src/cp437.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cp437.c -o out/src/cp437.o Compile checking out/src/hw/pci.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checkssrc/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/timer.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/timer.c -o out/src/hw/timer.o Compile checking out/src/hw/rtc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/rtc.c -o out/src/hw/rtc.o Compile checking out/src/hw/dma.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/dma.c -o out/src/hw/dma.o Compile checking out/src/hw/pic.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pic.c -o out/src/hw/pic.o Compile checking out/src/hw/ps2port.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ps2port.c -o out/src/hw/ps2port.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/src/hw/usb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb.c -o out/src/hw/usb.o Compile checking out/src/hw/usb-uhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uhci.c -o out/src/hw/usb-uhci.o Compile checking out/src/hw/usb-ohci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ohci.c -o out/src/hw/usb-ohci.o Compile checking out/src/hw/usb-ehci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ehci.c -o out/src/hw/usb-ehci.o Compile checking out/src/hw/usb-hid.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hid.c -o out/src/hw/usb-hid.o Compile checking out/src/hw/usb-msc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-msc.c -o out/src/hw/usb-msc.o Compile checking out/src/hw/usb-uas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uas.c -o out/src/hw/usb-uas.o Compile checking out/src/hw/blockcmd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/blockcmd.c -o out/src/hw/blockcmd.o Compile checking out/src/hw/floppy.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/floppy.c -o out/src/hw/floppy.o Compile checking out/src/hw/ata.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ata.c -o out/src/hw/ata.o Compile checking out/src/hw/ramdisk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ramdisk.c -o out/src/hw/ramdisk.o Compile checking out/src/hw/lsi-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/lsi-scsi.c -o out/src/hw/lsi-scsi.o Compile checking out/src/hw/esp-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/esp-scsi.c -o out/src/hw/esp-scsi.o Compile checking out/src/hw/megasas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/megasas.c -o out/src/hw/megasas.o Compile checking out/src/hw/mpt-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/mpt-scsi.c -o out/src/hw/mpt-scsi.o Compile checking out/src/post.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/post.c -o out/src/post.o Compile checking out/src/e820map.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/e820map.c -o out/src/e820map.o Compile checking out/src/malloc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/malloc.c -o out/src/malloc.o Compile checking out/src/romfile.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/romfile.c -o out/src/romfile.o Compile checking out/src/x86.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/x86.c -o out/src/x86.o Compile checking out/src/optionroms.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/optionroms.c -o out/src/optionroms.o Compile checking out/src/pmm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pmm.c -o out/src/pmm.o Compile checking out/src/font.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/font.c -o out/src/font.o Compile checking out/src/boot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/boot.c -o out/src/boot.o Compile checking out/src/bootsplash.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bootsplash.c -o out/src/bootsplash.o Compile checking out/src/jpeg.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/jpeg.c -o out/src/jpeg.o Compile checking out/src/bmp.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparsrc/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ m=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bmp.c -o out/src/bmp.o Compile checking out/src/tcgbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/tcgbios.c -o out/src/tcgbios.o Compile checking out/src/sha1.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sha1.c -o out/src/sha1.o Compile checking out/src/hw/pcidevice.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pcidevice.c -o out/src/hw/pcidevice.o Compile checking out/src/hw/ahci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ahci.c -o out/src/hw/ahci.o Compile checking out/src/hw/pvscsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pvscsi.c -o out/src/hw/pvscsi.o Compile checking out/src/hw/usb-xhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-xhci.c -o out/src/hw/usb-xhci.o Compile checking out/src/hw/usb-hub.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hub.c -o out/src/hw/usb-hub.o Compile checking out/src/hw/sdcard.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/sdcard.c -o out/src/hw/sdcard.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/src/fw/lzmadecode.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/lzmadecode.c -o out/src/fw/lzmadecode.o Compile checking out/src/fw/multiboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/multiboot.c -o out/src/fw/multiboot.o Compile checking out/src/fw/csm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/csm.c -o out/src/fw/csm.o Compile checking out/src/fw/biostables.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/biostables.c -o out/src/fw/biostables.o Compile checking out/src/fw/paravirt.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/paravirt.c -o out/src/fw/paravirt.o Compile checking out/src/fw/shadow.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/shadow.c -o out/src/fw/shadow.o Compile checking out/src/fw/pciinit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pciinit.c -o out/src/fw/pciinit.o Compile checking out/src/fw/smm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smm.c -o out/src/fw/smm.o Compile checking out/src/fw/smp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smp.c -o out/src/fw/smp.o Compile checking out/src/fw/mtrr.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mtrr.c -o out/src/fw/mtrr.o Compile checking out/src/fw/xen.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/xen.c -o out/src/fw/xen.o Compile checking out/src/fw/acpi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/acpi.c -o out/src/fw/acpi.o Compile checking out/src/fw/mptable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mptable.c -o out/src/fw/mptable.o Compile checking out/src/fw/pirtable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pirtable.c -o out/src/fw/pirtable.o Compile checking out/src/fw/smbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smbios.c -o out/src/fw/smbios.o Compile checking out/src/fw/romfile_loader.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/romfile_loader.c -o out/src/fw/romfile_loader.o Compile checking out/src/hw/virtio-ring.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-ring.c -o out/src/hw/virtio-ring.o Compile checking out/src/hw/virtio-pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-pci.c -o out/src/hw/virtio-pci.o Compile checking out/src/hw/virtio-blk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-blk.c -o out/src/hw/virtio-blk.o Compile checking out/src/hw/virtio-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-scsi.c -o out/src/hw/virtio-scsi.o Compile checking out/src/hw/tpm_drivers.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/tpm_drivers.c -o out/src/hw/tpm_drivers.o Compile checking out/src/hw/nvme.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/nvme.c -o out/src/hw/nvme.o Compiling whole program out/ccode32flat.o BUILDSTDERR: printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n In file included from out/ccode32flat.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:54: BUILDSTDERR: ./src/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: ./src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: ./src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:59: BUILDSTDERR: ./src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: ./src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:61: BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: ./src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: ./src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: ./src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./src/string.c:9, BUILDSTDERR: from out/code32seg.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./src/biosvar.h:10, BUILDSTDERR: from ./src/misc.c:8, BUILDSTDERR: from out/ccode16.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/block.c: In function 'fill_generic_edd': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:306:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 306 | u16 size = GET_FARVAR(seg, param_far->size); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:325:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 325 | SET_FARVAR(seg, param_far->size, 26); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:328:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 328 | SET_FARVAR(seg, param_far->infos, 0x74); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:329:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 329 | SET_FARVAR(seg, param_far->cylinders, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:330:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 330 | SET_FARVAR(seg, param_far->heads, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:331:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 331 | SET_FARVAR(seg, param_far->spt, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:334:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 334 | SET_FARVAR(seg, param_far->infos, 0x00); // geometry is invalid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:335:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 335 | SET_FARVAR(seg, param_far->cylinders, 0x3fff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:337:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 337 | SET_FARVAR(seg, param_far->infos, 0x02); // geometry is valid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:338:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 338 | SET_FARVAR(seg, param_far->cylinders, (u32)npc); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:340:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 340 | SET_FARVAR(seg, param_far->heads, (u32)nph); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:341:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 341 | SET_FARVAR(seg, param_far->spt, (u32)nps); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:343:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 343 | SET_FARVAR(seg, param_far->sector_count, lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:344:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 344 | SET_FARVAR(seg, param_far->blksize, blksize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:351:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 351 | SET_FARVAR(seg, param_far->size, 30); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:352:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 352 | SET_FARVAR(seg, param_far->dpte.segoff, dpte_so); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:358:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 358 | SET_FARVAR(seg, param_far->key, 0xbedd); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:361:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 361 | SET_FARVAR(seg, param_far->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:372:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 372 | SET_FARVAR(seg, param_far->iface_path, iface_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:380:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 380 | SET_FARVAR(seg, param_far->t13.device_path[0], device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:381:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 381 | SET_FARVAR(seg, param_far->t13.device_path[1], 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:383:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 383 | SET_FARVAR(seg, param_far->t13.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:386:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 386 | SET_FARVAR(seg, param_far->phoenix.device_path, device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:388:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 388 | SET_FARVAR(seg, param_far->phoenix.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c: In function 'cdemu_read': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c:36:15: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 36 | dop.lba = GET_LOW(CDEmu.ilba) + op->lba / 4; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'getLCHS': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:78:21: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 78 | u8 sptcyl = GET_LOW(CDEmu.chs.sptcyl); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:79:24: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 79 | res.cylinder = GET_LOW(CDEmu.chs.cyllow) + ((sptcyl << 2) & 0x300) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:80:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 80 | res.head = GET_LOW(CDEmu.chs.heads) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'extended_access': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:168:15: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 168 | dop.lba = GET_FARVAR(regs->ds, param_far->lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:177:36: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 177 | dop.buf_fl = SEGOFF_TO_FLATPTR(GET_FARVAR(regs->ds, param_far->data)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:178:17: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 178 | dop.count = GET_FARVAR(regs->ds, param_far->count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:187:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 187 | SET_FARVAR(regs->ds, param_far->count, dop.count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n #include "src/post.c"\n #include "src/e820map.c"\n #include "src/malloc.c"\n #include "src/romfile.c"\n #include "src/x86.c"\n #include "src/optionroms.c"\n #include "src/pmm.c"\n #include "src/font.c"\n #include "src/boot.c"\n #include "src/bootsplash.c"\n #include "src/jpeg.c"\n #include "src/bmp.c"\n #include "src/tcgbios.c"\n #include "src/sha1.c"\n #include "src/hw/pcidevice.c"\n #include "src/hw/ahci.c"\n #include "src/hw/pvscsi.c"\n #include "src/hw/usb-xhci.c"\n #include "src/hw/usb-hub.c"\n #include "src/hw/sdcard.c"\n #include "src/fw/coreboot.c"\n #include "src/fw/lzmadecode.c"\n #include "src/fw/multiboot.c"\n #include "src/fw/csm.c"\n #include "src/fw/biostables.c"\n #include "src/fw/paravirt.c"\n #include "src/fw/shadow.c"\n #include "src/fw/pciinit.c"\n #include "src/fw/smm.c"\n #include "src/fw/smp.c"\n #include "src/fw/mtrr.c"\n #include "src/fw/xen.c"\n #include "src/fw/acpi.c"\n #include "src/fw/mptable.c"\n #include "src/fw/pirtable.c"\n #include "src/fw/smbios.c"\n #include "src/fw/romfile_loader.c"\n #include "src/hw/virtio-ring.c"\n #include "src/hw/virtio-pci.c"\n #include "src/hw/virtio-blk.c"\n #include "src/hw/virtio-scsi.c"\n #include "src/hw/tpm_drivers.c"\n #include "src/hw/nvme.c"\n' > out/ccode32flat.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -fwhole-program -DWHOLE_PROGRAM -c out/ccode32flat.o.tmp.c -o out/ccode32flat.o Compiling whole program out/code32seg.o printf '#include "src/string.c"\n #include "src/output.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/stacks.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n' > out/code32seg.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=0 -fwhole-program -DWHOLE_PROGRAM -c out/code32seg.o.tmp.c -o out/code32seg.o Compiling whole program out/ccode16.o printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n' > out/ccode16.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fwhole-program -DWHOLE_PROGRAM -c out/ccode16.o.tmp.c -o out/ccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/romlayout.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ src/romlayout.S -o out/romlayout.o Building ld scripts python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autoversion.h Version: ?-20190904_050705-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/version.c -o out/version.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode32flat.o out/version.o -o out/code32flat.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode16.o out/romlayout.o -o out/code16.o x86_64-linux-gnu-objdump -thr out/code32flat.o > out/code32flat.o.objdump x86_64-linux-gnu-objdump -thr out/code32seg.o > out/code32seg.o.objdump x86_64-linux-gnu-objdump -thr out/code16.o > out/code16.o.objdump python3 ./scripts/layoutrom.py out/code16.o.objdump out/code32seg.o.objdump out/code32flat.o.objdump out/autoconf.h out/romlayout16.lds out/romlayout32seg.lds out/romlayout32flat.lds Fixed space: 0xe05b-0x10000 total: 8101 slack: 8 Percent slack: 0.1% 16bit size: 37920 32bit segmented size: 2213 32bit flat size: 49931 32bit flat init size: 76256 Lowmem size: 2240 f-segment var size: 1232 Linking out/rom16.o x86_64-linux-gnu-ld -T out/romlayout16.lds out/code16.o -o out/rom16.o BUILDSTDERR: Stripping out/rom16.st+ cp out/bios.bin binaries/bios-256k.bin + build_bios /builddir/build/SOURCES/config.csm Csm16.bin bios-csm.bin + make clean distclean + cp /builddir/build/SOURCES/config.csm .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip rip.o x86_64-linux-gnu-strip out/rom16.o -o out/rom16.strip.o Linking out/rom32seg.o x86_64-linux-gnu-ld -T out/romlayout32seg.lds out/code32seg.o -o out/rom32seg.o Stripping out/rom32seg.strip.o x86_64-linux-gnu-strip out/rom32seg.o -o out/rom32seg.strip.o Linking out/rom.o x86_64-linux-gnu-ld -N -T out/romlayout32flat.lds out/rom16.strip.o out/rom32seg.strip.o out/code32flat.o -o out/rom.o Prepping out/bios.bin.prep rm -f out/bios.bin out/Csm16.bin out/bios.bin.elf x86_64-linux-gnu-objdump -thr out/rom.o > out/rom.o.objdump x86_64-linux-gnu-objcopy -O binary out/rom.o out/bios.bin.raw python3 ./scripts/checkrom.py out/rom.o.objdump 256 out/bios.bin.raw out/bios.bin.prep Total size: 175424 Fixed: 91296 Free: 86720 (used 66.9% of 256KiB rom) Creating out/bios.bin cp out/bios.bin.prep out/bios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/misc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/misc.c -o out/src/misc.o Compile checking out/src/stacks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/block.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/block.c -o out/src/block.o Compile checking out/src/cdrom.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cdrom.c -o out/src/cdrom.o Compile checking out/src/disk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/disk.c -o out/src/disk.o Compile checking out/src/mouse.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/mouse.c -o out/src/mouse.o Compile checking out/src/kbd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/kbd.c -o out/src/kbd.o Compile checking out/src/system.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/system.c -o out/src/system.o Compile checking out/src/serial.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/serial.c -o out/src/serial.o Compile checking out/src/sercon.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sercon.c -o out/src/sercon.o Compile checking out/src/clock.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/clock.c -o out/src/clock.o Compile checking out/src/resume.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/resume.c -o out/src/resume.o Compile checking out/src/pnpbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pnpbios.c -o out/src/pnpbios.o Compile checking out/src/vgahooks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/vgahooks.c -o out/src/vgahooks.o Compile checking out/src/pcibios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pcibios.c -o out/src/pcibios.o Compile checking out/src/apm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/apm.c -o out/src/apm.o Compile checking out/src/cp437.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cp437.c -o out/src/cp437.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/timer.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/timer.c -o out/src/hw/timer.o Compile checking out/src/hw/rtc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/rtc.c -o out/src/hw/rtc.o Compile checking out/src/hw/dma.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/dma.c -o out/src/hw/dma.o Compile checking out/src/hw/pic.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pic.c -o out/src/hw/pic.o Compile checking out/src/hw/ps2port.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ps2port.c -o out/src/hw/ps2port.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/src/hw/usb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb.c -o out/src/hw/usb.o Compile checking out/src/hw/usb-uhci.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uhci.c -o out/src/hw/usb-uhci.o Compile checking out/src/hw/usb-ohci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ohci.c -o out/src/hw/usb-ohci.o Compile checking out/src/hw/usb-ehci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ehci.c -o out/src/hw/usb-ehci.o Compile checking out/src/hw/usb-hid.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hid.c -o out/src/hw/usb-hid.o Compile checking out/src/hw/usb-msc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-msc.c -o out/src/hw/usb-msc.o Compile checking out/src/hw/usb-uas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uas.c -o out/src/hw/usb-uas.o Compile checking out/src/hw/blockcmd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/blockcmd.c -o out/src/hw/blockcmd.o Compile checking out/src/hw/floppy.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/floppy.c -o out/src/hw/floppy.o Compile checking out/src/hw/ata.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ata.c -o out/src/hw/ata.o Compile checking out/src/hw/ramdisk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ramdisk.c -o out/src/hw/ramdisk.o Compile checking out/src/hw/lsi-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/lsi-scsi.c -o out/src/hw/lsi-scsi.o Compile checking out/src/hw/esp-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/esp-scsi.c -o out/src/hw/esp-scsi.o Compile checking out/src/hw/megasas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/megasas.c -o out/src/hw/megasas.o Compile checking out/src/hw/mpt-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/mpt-scsi.c -o out/src/hw/mpt-scsi.o Compile checking out/src/post.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/post.c -o out/src/post.o Compile checking out/src/e820map.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/e820map.c -o out/src/e820map.o Compile checking out/src/malloc.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-ssrc/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ tack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/malloc.c -o out/src/malloc.o Compile checking out/src/romfile.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/romfile.c -o out/src/romfile.o Compile checking out/src/x86.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/x86.c -o out/src/x86.o Compile checking out/src/optionroms.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/optionroms.c -o out/src/optionroms.o Compile checking out/src/pmm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pmm.c -o out/src/pmm.o Compile checking out/src/font.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/font.c -o out/src/font.o Compile checking out/src/boot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/boot.c -o out/src/boot.o Compile checking out/src/bootsplash.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bootsplash.c -o out/src/bootsplash.o Compile checking out/src/jpeg.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/jpeg.c -o out/src/jpeg.o Compile checking out/src/bmp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bmp.c -o out/src/bmp.o Compile checking out/src/tcgbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/tcgbios.c -o out/src/tcgbios.o Compile checking out/src/sha1.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sha1.c -o out/src/sha1.o Compile checking out/src/hw/pcidevice.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pcidevice.c -o out/src/hw/pcidevice.o Compile checking out/src/hw/ahci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ahci.c -o out/src/hw/ahci.o Compile checking out/src/hw/pvscsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pvscsi.c -o out/src/hw/pvscsi.o Compile checking out/src/hw/usb-xhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-xhci.c -o out/src/hw/usb-xhci.o Compile checking out/src/hw/usb-hub.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=nosrc/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hub.c -o out/src/hw/usb-hub.o Compile checking out/src/hw/sdcard.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/sdcard.c -o out/src/hw/sdcard.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/src/fw/lzmadecode.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/lzmadecode.c -o out/src/fw/lzmadecode.o Compile checking out/src/fw/multiboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/multiboot.c -o out/src/fw/multiboot.o Compile checking out/src/fw/csm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/csm.c -o out/src/fw/csm.o Compile checking out/src/fw/biostables.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/biostables.c -o out/src/fw/biostables.o Compile checking out/src/fw/paravirt.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/paravirt.c -o out/src/fw/paravirt.o Compile checking out/src/fw/shadow.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/shadow.c -o out/src/fw/shadow.o Compile checking out/src/fw/pciinit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pciinit.c -o out/src/fw/pciinit.o Compile checking out/src/fw/smm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smm.c -o out/src/fw/smm.o Compile checking out/src/fw/smp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smp.c -o out/src/fw/smp.o Compile checking out/src/fw/mtrr.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mtrr.c -o out/src/fw/mtrr.o Compile checking out/src/fw/xen.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/xen.c -o out/src/fw/xen.o Compile checking out/src/fw/acpi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/acpi.c -o out/src/fw/acpi.o Compile checking out/src/fw/mptable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mptable.c -o out/src/fw/mptable.o Compile checking out/src/fw/pirtable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pirtable.c -o out/src/fw/pirtable.o Compile checking out/src/fw/smbios.o BUILDSTDERR: x86_64-lIn file included from out/ccode32flat.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:54: BUILDSTDERR: ./src/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: ./src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: ./src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:59: BUILDSTDERR: ./src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: ./src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:61: BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: ./src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: ./src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: ./src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./src/string.c:9, BUILDSTDERR: from out/code32seg.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ inux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smbios.c -o out/src/fw/smbios.o Compile checking out/src/fw/romfile_loader.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/romfile_loader.c -o out/src/fw/romfile_loader.o Compile checking out/src/hw/virtio-ring.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-ring.c -o out/src/hw/virtio-ring.o Compile checking out/src/hw/virtio-pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-pci.c -o out/src/hw/virtio-pci.o Compile checking out/src/hw/virtio-blk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-blk.c -o out/src/hw/virtio-blk.o Compile checking out/src/hw/virtio-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-scsi.c -o out/src/hw/virtio-scsi.o Compile checking out/src/hw/tpm_drivers.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/tpm_drivers.c -o out/src/hw/tpm_drivers.o Compile checking out/src/hw/nvme.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/nvme.c -o out/src/hw/nvme.o Compiling whole program out/ccode32flat.o printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n #include "src/post.c"\n #include "src/e820map.c"\n #include "src/malloc.c"\n #include "src/romfile.c"\n #include "src/x86.c"\n #include "src/optionroms.c"\n #include "src/pmm.c"\n #include "src/font.c"\n #include "src/boot.c"\n #include "src/bootsplash.c"\n #include "src/jpeg.c"\n #include "src/bmp.c"\n #include "src/tcgbios.c"\n #include "src/sha1.c"\n #include "src/hw/pcidevice.c"\n #include "src/hw/ahci.c"\n #include "src/hw/pvscsi.c"\n #include "src/hw/usb-xhci.c"\n #include "src/hw/usb-hub.c"\n #include "src/hw/sdcard.c"\n #include "src/fw/coreboot.c"\n #include "src/fw/lzmadecode.c"\n #include "src/fw/multiboot.c"\n #include "src/fw/csm.c"\n #include "src/fw/biostables.c"\n #include "src/fw/paravirt.c"\n #include "src/fw/shadow.c"\n #include "src/fw/pciinit.c"\n #include "src/fw/smm.c"\n #include "src/fw/smp.c"\n #include "src/fw/mtrr.c"\n #include "src/fw/xen.c"\n #include "src/fw/acpi.c"\n #include "src/fw/mptable.c"\n #include "src/fw/pirtable.c"\n #include "src/fw/smbios.c"\n #include "src/fw/romfile_loader.c"\n #include "src/hw/virtio-ring.c"\n #include "src/hw/virtio-pci.c"\n #include "src/hw/virtio-blk.c"\n #include "src/hw/virtio-scsi.c"\n #include "src/hw/tpm_drivers.c"\n #include "src/hw/nvme.c"\n' > out/ccode32flat.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -fwhole-program -DWHOLE_PROGRAM -c out/ccode32flat.o.tmp.c -o out/ccode32flat.o Compiling whole program out/code32seg.o printf '#include "src/string.c"\n #include "src/output.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/stacks.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n' > out/code32seg.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=0 -fwhole-program -DWHOLE_PROGRAM -c out/code32seg.o.tmp.c -o out/code32seg.o Compiling whole program out/ccode16.o BUILDSTDERR: printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #iIn file included from ./src/biosvar.h:10, BUILDSTDERR: from ./src/misc.c:8, BUILDSTDERR: from out/ccode16.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/block.c: In function 'fill_generic_edd': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:306:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 306 | u16 size = GET_FARVAR(seg, param_far->size); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:325:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 325 | SET_FARVAR(seg, param_far->size, 26); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:328:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 328 | SET_FARVAR(seg, param_far->infos, 0x74); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:329:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 329 | SET_FARVAR(seg, param_far->cylinders, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:330:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 330 | SET_FARVAR(seg, param_far->heads, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:331:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 331 | SET_FARVAR(seg, param_far->spt, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:334:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 334 | SET_FARVAR(seg, param_far->infos, 0x00); // geometry is invalid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:335:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 335 | SET_FARVAR(seg, param_far->cylinders, 0x3fff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:337:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 337 | SET_FARVAR(seg, param_far->infos, 0x02); // geometry is valid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:338:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 338 | SET_FARVAR(seg, param_far->cylinders, (u32)npc); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:340:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 340 | SET_FARVAR(seg, param_far->heads, (u32)nph); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:341:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 341 | SET_FARVAR(seg, param_far->spt, (u32)nps); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:343:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 343 | SET_FARVAR(seg, param_far->sector_count, lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:344:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 344 | SET_FARVAR(seg, param_far->blksize, blksize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:351:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 351 | SET_FARVAR(seg, param_far->size, 30); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:352:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 352 | SET_FARVAR(seg, param_far->dpte.segoff, dpte_so); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:358:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 358 | SET_FARVAR(seg, param_far->key, 0xbedd); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:361:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 361 | SET_FARVAR(seg, param_far->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:372:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 372 | SET_FARVAR(seg, param_far->iface_path, iface_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:380:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 380 | SET_FARVAR(seg, param_far->t13.device_path[0], device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:381:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 381 | SET_FARVAR(seg, param_far->t13.device_path[1], 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:383:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 383 | SET_FARVAR(seg, param_far->t13.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:386:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 386 | SET_FARVAR(seg, param_far->phoenix.device_path, device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:388:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 388 | SET_FARVAR(seg, param_far->phoenix.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c: In function 'cdemu_read': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c:36:15: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 36 | dop.lba = GET_LOW(CDEmu.ilba) + op->lba / 4; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'getLCHS': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:78:21: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 78 | u8 sptcyl = GET_LOW(CDEmu.chs.sptcyl); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:79:24: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 79 | res.cylinder = GET_LOW(CDEmu.chs.cyllow) + ((sptcyl << 2) & 0x300) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:80:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 80 | res.head = GET_LOW(CDEmu.chs.heads) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'extended_access': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:168:15: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 168 | dop.lba = GET_FARVAR(regs->ds, param_far->lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:177:36: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 177 | dop.buf_fl = SEGOFF_TO_FLATPTR(GET_FARVAR(regs->ds, param_far->data)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:178:17: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 178 | dop.count = GET_FARVAR(regs->ds, param_far->count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:187:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 187 | SET_FARVAR(regs->ds, param_far->count, dop.count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ + cp out/Csm16.bin binaries/bios-csm.bin + build_bios /builddir/build/SOURCES/config.coreboot bios.bin.elf bios-coreboot.bin + make clean distclean + cp /builddir/build/SOURCES/config.coreboot .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip nclude "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n' > out/ccode16.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fwhole-program -DWHOLE_PROGRAM -c out/ccode16.o.tmp.c -o out/ccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/romlayout.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ src/romlayout.S -o out/romlayout.o Building ld scripts python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autoversion.h Version: ?-20190904_050720-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/version.c -o out/version.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode32flat.o out/version.o -o out/code32flat.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode16.o out/romlayout.o -o out/code16.o x86_64-linux-gnu-objdump -thr out/code32flat.o > out/code32flat.o.objdump x86_64-linux-gnu-objdump -thr out/code32seg.o > out/code32seg.o.objdump x86_64-linux-gnu-objdump -thr out/code16.o > out/code16.o.objdump python3 ./scripts/layoutrom.py out/code16.o.objdump out/code32seg.o.objdump out/code32flat.o.objdump out/autoconf.h out/romlayout16.lds out/romlayout32seg.lds out/romlayout32flat.lds Fixed space: 0xe05b-0x10000 total: 8101 slack: 9 Percent slack: 0.1% 16bit size: 36544 32bit segmented size: 2225 32bit flat size: 38159 32bit flat init size: 52128 Lowmem size: 2224 f-segment var size: 1408 Linking out/rom16.o x86_64-linux-gnu-ld -T out/romlayout16.lds out/code16.o -o out/rom16.o Stripping out/rom16.strip.o x86_64-linux-gnu-strip out/rom16.o -o out/rom16.strip.o Linking out/rom32seg.o x86_64-linux-gnu-ld -T out/romlayout32seg.lds out/code32seg.o -o out/rom32seg.o Stripping out/rom32seg.strip.o x86_64-linux-gnu-strip out/rom32seg.o -o out/rom32seg.strip.o Linking out/rom.o x86_64-linux-gnu-ld -N -T out/romlayout32flat.lds out/rom16.strip.o out/rom32seg.strip.o out/code32flat.o -o out/rom.o Prepping out/bios.bin.prep rm -f out/bios.bin out/Csm16.bin out/bios.bin.elf x86_64-linux-gnu-objdump -thr out/rom.o > out/rom.o.objdump x86_64-linux-gnu-objcopy -O binary out/rom.o out/bios.bin.raw python3 ./scripts/checkrom.py out/rom.o.objdump 0 out/bios.bin.raw out/bios.bin.prep Total size: 136384 Fixed: 78336 Free: 125760 (used 52.0% of 256KiB rom) Creating out/Csm16.bin cp out/bios.bin.prep out/Csm16.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/misc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/misc.c -o out/src/misc.o Compile checking out/src/stacks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/block.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/block.c -o out/src/block.o Compile checking out/src/cdrom.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cdrom.c -o out/src/cdrom.o Compile checking out/src/disk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/disk.c -o out/src/disk.o Compile checking out/src/mouse.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/mouse.c -o out/src/mouse.o Compile checking out/src/kbd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/kbd.c -o out/src/kbd.o Compile checking out/src/system.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/system.c -o out/src/system.o Compile checking out/src/serial.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/serial.c -o out/src/serial.o Compile checking out/src/sercon.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sercon.c -o out/src/sercon.o Compile checking out/src/clock.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/clock.c -o out/src/clock.o Compile checking out/src/resume.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/resume.c -o out/src/resume.o Compile checking out/src/pnpbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pnpbios.c -o out/src/pnpbios.o Compile checking out/src/vgahooks.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/vgahooks.c -o out/src/vgahooks.o Compile checking out/src/pcibios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pcibios.c -o out/src/pcibios.o Compile checking out/src/apm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/apm.c -o out/src/apm.o Compile checking out/src/cp437.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/cp437.c -o out/src/cp437.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/timer.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/timer.c -o out/src/hw/timer.o Compile checking out/src/hw/rtc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/rtc.c -o out/src/hw/rtc.o Compile checking out/src/hw/dma.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/dma.c -o out/src/hw/dma.o Compile checking out/src/hw/pic.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pic.c -o out/src/hw/pic.o Compile checking out/src/hw/ps2port.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ps2port.c -o out/src/hw/ps2port.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/src/hw/usb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb.c -o out/src/hw/usb.o Compile checking out/src/hw/usb-uhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uhci.c -o out/src/hw/usb-uhci.o Compile checking out/src/hw/usb-ohci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ohci.c -o out/src/hw/usb-ohci.o Compile checking out/src/hw/usb-ehci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-ehci.c -o out/src/hw/usb-ehci.o Compile checking out/src/hw/usb-hid.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hid.c -o out/src/hw/usb-hid.o Compile checking out/src/hw/usb-msc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-msc.c -o out/src/hw/usb-msc.o Compile checking out/src/hw/usb-uas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-uas.c -o out/src/hw/usb-uas.o Compile checking out/src/hw/blockcmd.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/blockcmd.c -o out/src/hw/blockcmd.o Compile checking out/src/hw/floppy.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/floppy.c -o out/src/hw/floppy.o Compile checking out/src/hw/ata.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ata.c -o out/src/hw/ata.o Compile checking out/src/hw/ramdisk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ramdisk.c -o out/src/hw/ramdisk.o Compile checking out/src/hw/lsi-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/lsi-scsi.c -o out/src/hw/lsi-scsi.o Compile checking out/src/hw/esp-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/esp-scsi.c -o out/src/hw/esp-scsi.o Compile checking out/src/hw/megasas.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/megasas.c -o out/src/hw/megasas.o Compile checking out/src/hw/mpt-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/mpt-scsi.c -o out/src/hw/mpt-scsi.o Compile checking out/src/post.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/post.c -o out/src/post.o Compile checking out/src/e820map.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/e820map.c -o out/src/e820map.o Compile checking out/src/malloc.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/malloc.c -o out/src/malloc.o Compile checking out/src/romfile.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/romfile.c -o out/src/romfile.o Compile checking out/src/x86.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/x86.c -o out/src/x86.o Compile checking out/src/optionroms.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/optionroms.c -o out/src/optionroms.o Compile checking out/src/pmm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/pmm.c -o out/src/pmm.o Compile checking out/src/font.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/font.c -o out/src/font.o Compile checking out/src/boot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/boot.c -o out/src/boot.o Compile checking out/src/bootsplash.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bootsplash.c -o out/src/bootsplasrc/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ sh.o Compile checking out/src/jpeg.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/jpeg.c -o out/src/jpeg.o Compile checking out/src/bmp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/bmp.c -o out/src/bmp.o Compile checking out/src/tcgbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/tcgbios.c -o out/src/tcgbios.o Compile checking out/src/sha1.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/sha1.c -o out/src/sha1.o Compile checking out/src/hw/pcidevice.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pcidevice.c -o out/src/hw/pcidevice.o Compile checking out/src/hw/ahci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/ahci.c -o out/src/hw/ahci.o Compile checking out/src/hw/pvscsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pvscsi.c -o out/src/hw/pvscsi.o Compile checking out/src/hw/usb-xhci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-xhci.c -o out/src/hw/usb-xhci.o Compile checking out/src/hw/usb-hub.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/usb-hub.c -o out/src/hw/usb-hub.o Compile checking out/src/hw/sdcard.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/sdcard.c -o out/src/hw/sdcard.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/src/fw/lzmadecode.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/lzmadecode.c -o out/src/fw/lzmadecode.o Compile checking out/src/fw/multiboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/multiboot.c -o out/src/fw/multiboot.o Compile checking out/src/fw/csm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/csm.c -o out/src/fw/csm.o Compile checking out/src/fw/biostables.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/biostables.c -o out/src/fw/biostables.o Compile checking out/src/fw/paravirt.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/paravirt.c -o out/src/fw/paravirt.o Compile checking out/src/fw/shadow.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/shadow.c -o out/src/fw/shadow.o Compile checking out/src/fw/pciinit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pciinit.c -o out/src/fw/pciinit.o Compile checking out/src/fw/smm.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smm.c -o out/src/fw/smm.o Compile checking out/src/fw/smp.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smp.c -o out/src/fw/smp.o Compile checking out/src/fw/mtrr.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mtrr.c -o out/src/fw/mtrr.o Compile checking out/src/fw/xen.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/xen.c -o out/src/fw/xen.o Compile checking out/src/fw/acpi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/acpi.c -o out/src/fw/acpi.o Compile checking out/src/fw/mptable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/mptable.c -o out/src/fw/mptable.o Compile checking out/src/fw/pirtable.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/pirtable.c -o out/src/fw/pirtable.o Compile checking out/src/fw/smbios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/smbios.c -o out/src/fw/smbios.o Compile checking out/src/fw/romfile_loader.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/romfile_loader.c -o out/src/fw/romfile_loader.o Compile checking out/src/hw/virtio-ring.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-ring.c -o out/src/hw/virtio-ring.o Compile checking out/src/hw/virtio-pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-pci.c -o out/src/hw/virtio-pci.o Compile checking out/src/hw/virtio-blk.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-blk.c -o out/src/hw/virtio-blk.o Compile checking out/src/hw/virtio-scsi.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/virtio-scsi.c -o out/src/hw/virtio-scsi.o Compile checking out/src/hw/tpm_drivers.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/tpm_drivers.c -o out/src/hw/tpm_drivers.o Compile checking out/src/hw/nvme.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stacIn file included from out/ccode32flat.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:54: BUILDSTDERR: ./src/tcgbios.c: In function 'tpm12_determine_timeouts': BUILDSTDERR: ./src/tcgbios.c:504:32: warning: taking address of packed member of 'struct tpm_res_getcap_timeouts' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c:504:52: warning: taking address of packed member of 'struct tpm_res_getcap_durations' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 504 | tpmhw_set_timeouts(timeouts.timeouts, durations.durations); BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: ./src/tcgbios.c: In function 'tpm_interrupt_handler32': BUILDSTDERR: ./src/tcgbios.c:1480:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 1480 | ®s->edx); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:59: BUILDSTDERR: ./src/hw/usb-xhci.c: In function 'configure_xhci': BUILDSTDERR: ./src/hw/usb-xhci.c:464:22: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 464 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:470:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 470 | if (wait_bit(&xhci->op->usbcmd, XHCI_CMD_HCRST, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:472:18: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 472 | if (wait_bit(&xhci->op->usbsts, XHCI_STS_CNR, 0, 100) != 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-xhci.c:527:14: warning: taking address of packed member of 'struct xhci_op' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 527 | wait_bit(&xhci->op->usbsts, XHCI_STS_HCH, XHCI_STS_HCH, 32); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode32flat.o.tmp.c:61: BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio': BUILDSTDERR: ./src/hw/sdcard.c:193:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 193 | int ret = sdcard_waitw(®s->irq_status, SI_ERROR|SI_CMD_COMPLETE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_pio_transfer': BUILDSTDERR: ./src/hw/sdcard.c:243:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 243 | ret = sdcard_waitw(&drive->regs->irq_status, cbit); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c:257:24: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 257 | ret = sdcard_waitw(&drive->regs->irq_status, SI_TRANS_DONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/sdcard.c: In function 'sdcard_set_frequency': BUILDSTDERR: ./src/hw/sdcard.c:349:28: warning: taking address of packed member of 'struct sdhci_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 349 | int ret = sdcard_waitw(®s->clock_control, SCC_STABLE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from ./src/string.c:9, BUILDSTDERR: from out/code32seg.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from ./src/biosvar.h:10, BUILDSTDERR: from ./src/misc.c:8, BUILDSTDERR: from out/ccode16.o.tmp.c:1: BUILDSTDERR: ./src/stacks.c: In function 'call32_prep': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:57:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 57 | SET_LOW(Call16Data.gdt.length, gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:120:33: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 120 | #define SET_LOW(var, val) SET_FARVAR(SEG_LOW, (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:58:9: note: in expansion of macro 'SET_LOW' BUILDSTDERR: 58 | SET_LOW(Call16Data.gdt.addr, gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/stacks.c: In function 'call32_post': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:95:22: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 95 | gdt.length = GET_LOW(Call16Data.gdt.length); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct descloc_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/stacks.c:96:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 96 | gdt.addr = GET_LOW(Call16Data.gdt.addr); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/block.c: In function 'fill_generic_edd': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:306:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 306 | u16 size = GET_FARVAR(seg, param_far->size); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:325:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 325 | SET_FARVAR(seg, param_far->size, 26); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:328:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 328 | SET_FARVAR(seg, param_far->infos, 0x74); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:329:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 329 | SET_FARVAR(seg, param_far->cylinders, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:330:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 330 | SET_FARVAR(seg, param_far->heads, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:331:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 331 | SET_FARVAR(seg, param_far->spt, 0xffffffff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:334:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 334 | SET_FARVAR(seg, param_far->infos, 0x00); // geometry is invalid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:335:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 335 | SET_FARVAR(seg, param_far->cylinders, 0x3fff); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:337:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 337 | SET_FARVAR(seg, param_far->infos, 0x02); // geometry is valid BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:338:13: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 338 | SET_FARVAR(seg, param_far->cylinders, (u32)npc); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:340:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 340 | SET_FARVAR(seg, param_far->heads, (u32)nph); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:341:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 341 | SET_FARVAR(seg, param_far->spt, (u32)nps); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:343:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 343 | SET_FARVAR(seg, param_far->sector_count, lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:344:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 344 | SET_FARVAR(seg, param_far->blksize, blksize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:351:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 351 | SET_FARVAR(seg, param_far->size, 30); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:352:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 352 | SET_FARVAR(seg, param_far->dpte.segoff, dpte_so); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:358:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 358 | SET_FARVAR(seg, param_far->key, 0xbedd); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:361:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 361 | SET_FARVAR(seg, param_far->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:372:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 372 | SET_FARVAR(seg, param_far->iface_path, iface_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:380:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 380 | SET_FARVAR(seg, param_far->t13.device_path[0], device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:381:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 381 | SET_FARVAR(seg, param_far->t13.device_path[1], 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:383:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 383 | SET_FARVAR(seg, param_far->t13.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:386:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 386 | SET_FARVAR(seg, param_far->phoenix.device_path, device_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13dpt_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/block.c:388:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 388 | SET_FARVAR(seg, param_far->phoenix.checksum BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c: In function 'cdemu_read': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/cdrom.c:36:15: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 36 | dop.lba = GET_LOW(CDEmu.ilba) + op->lba / 4; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'getLCHS': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:78:21: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 78 | u8 sptcyl = GET_LOW(CDEmu.chs.sptcyl); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:79:24: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 79 | res.cylinder = GET_LOW(CDEmu.chs.cyllow) + ((sptcyl << 2) & 0x300) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct eltorito_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/biosvar.h:119:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 119 | #define GET_LOW(var) GET_FARVAR(SEG_LOW, (var)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/disk.c:80:20: note: in expansion of macro 'GET_LOW' BUILDSTDERR: 80 | res.head = GET_LOW(CDEmu.chs.heads) + 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/disk.c: In function 'extended_access': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:168:15: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 168 | dop.lba = GET_FARVAR(regs->ds, param_far->lba); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:177:36: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 177 | dop.buf_fl = SEGOFF_TO_FLATPTR(GET_FARVAR(regs->ds, param_far->data)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:178:17: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 178 | dop.count = GET_FARVAR(regs->ds, param_far->count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct int13ext_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./src/disk.c:187:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 187 | SET_FARVAR(regs->ds, param_far->count, dop.count); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:29: BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_free_pipes': BUILDSTDERR: ./src/hw/usb-ohci.c:154:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 154 | u32 *pos = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:164:19: warning: taking address of packed member of 'struct ohci_ed' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 164 | pos = &next->hwNextED; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c: In function 'ohci_realloc_pipe': BUILDSTDERR: ./src/hw/usb-ohci.c:431:17: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 431 | u32 *head = &cntl->regs->ed_controlhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ohci.c:433:16: warning: taking address of packed member of 'struct ohci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 433 | head = &cntl->regs->ed_bulkhead; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from out/ccode16.o.tmp.c:30: BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_detect': BUILDSTDERR: ./src/hw/usb-ehci.c:51:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 51 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_reset': BUILDSTDERR: ./src/hw/usb-ehci.c:78:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 78 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'ehci_hub_disconnect': BUILDSTDERR: ./src/hw/usb-ehci.c:104:20: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 104 | u32 *portreg = &cntl->regs->portsc[port]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ./src/hw/usb-ehci.c: In function 'check_ehci_ports': BUILDSTDERR: ./src/hw/usb-ehci.c:122:24: warning: taking address of packed member of 'struct ehci_regs' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 122 | u32 *portreg = &cntl->regs->portsc[i]; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ k-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/nvme.c -o out/src/hw/nvme.o Compiling whole program out/ccode32flat.o printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n #include "src/post.c"\n #include "src/e820map.c"\n #include "src/malloc.c"\n #include "src/romfile.c"\n #include "src/x86.c"\n #include "src/optionroms.c"\n #include "src/pmm.c"\n #include "src/font.c"\n #include "src/boot.c"\n #include "src/bootsplash.c"\n #include "src/jpeg.c"\n #include "src/bmp.c"\n #include "src/tcgbios.c"\n #include "src/sha1.c"\n #include "src/hw/pcidevice.c"\n #include "src/hw/ahci.c"\n #include "src/hw/pvscsi.c"\n #include "src/hw/usb-xhci.c"\n #include "src/hw/usb-hub.c"\n #include "src/hw/sdcard.c"\n #include "src/fw/coreboot.c"\n #include "src/fw/lzmadecode.c"\n #include "src/fw/multiboot.c"\n #include "src/fw/csm.c"\n #include "src/fw/biostables.c"\n #include "src/fw/paravirt.c"\n #include "src/fw/shadow.c"\n #include "src/fw/pciinit.c"\n #include "src/fw/smm.c"\n #include "src/fw/smp.c"\n #include "src/fw/mtrr.c"\n #include "src/fw/xen.c"\n #include "src/fw/acpi.c"\n #include "src/fw/mptable.c"\n #include "src/fw/pirtable.c"\n #include "src/fw/smbios.c"\n #include "src/fw/romfile_loader.c"\n #include "src/hw/virtio-ring.c"\n #include "src/hw/virtio-pci.c"\n #include "src/hw/virtio-blk.c"\n #include "src/hw/virtio-scsi.c"\n #include "src/hw/tpm_drivers.c"\n #include "src/hw/nvme.c"\n' > out/ccode32flat.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -fwhole-program -DWHOLE_PROGRAM -c out/ccode32flat.o.tmp.c -o out/ccode32flat.o Compiling whole program out/code32seg.o printf '#include "src/string.c"\n #include "src/output.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/stacks.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n' > out/code32seg.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=0 -fwhole-program -DWHOLE_PROGRAM -c out/code32seg.o.tmp.c -o out/code32seg.o Compiling whole program out/ccode16.o printf '#include "src/misc.c"\n #include "src/stacks.c"\n #include "src/output.c"\n #include "src/string.c"\n #include "src/block.c"\n #include "src/cdrom.c"\n #include "src/disk.c"\n #include "src/mouse.c"\n #include "src/kbd.c"\n #include "src/system.c"\n #include "src/serial.c"\n #include "src/sercon.c"\n #include "src/clock.c"\n #include "src/resume.c"\n #include "src/pnpbios.c"\n #include "src/vgahooks.c"\n #include "src/pcibios.c"\n #include "src/apm.c"\n #include "src/cp437.c"\n #include "src/hw/pci.c"\n #include "src/hw/timer.c"\n #include "src/hw/rtc.c"\n #include "src/hw/dma.c"\n #include "src/hw/pic.c"\n #include "src/hw/ps2port.c"\n #include "src/hw/serialio.c"\n #include "src/hw/usb.c"\n #include "src/hw/usb-uhci.c"\n #include "src/hw/usb-ohci.c"\n #include "src/hw/usb-ehci.c"\n #include "src/hw/usb-hid.c"\n #include "src/hw/usb-msc.c"\n #include "src/hw/usb-uas.c"\n #include "src/hw/blockcmd.c"\n #include "src/hw/floppy.c"\n #include "src/hw/ata.c"\n #include "src/hw/ramdisk.c"\n #include "src/hw/lsi-scsi.c"\n #include "src/hw/esp-scsi.c"\n #include "src/hw/megasas.c"\n #include "src/hw/mpt-scsi.c"\n' > out/ccode16.o.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fwhole-program -DWHOLE_PROGRAM -c out/ccode16.o.tmp.c -o out/ccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/romlayout.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ src/romlayout.S -o out/romlayout.o Building ld scripts python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autoversion.h Version: ?-20190904_050736-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/version.c -o out/version.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode32flat.o out/version.o -o out/code32flat.o x86_64-linux-gnu-ld -melf_i386 -r out/ccode16.o out/romlayout.o -o out/code16.o x86_64-linux-gnu-objdump -thr out/code32flat.o > out/code32flat.o.objdump BUILDSTDERR: x86_64-linux-g+ cp out/bios.bin.elf binaries/bios-coreboot.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-bochs-display vgabios.bin vgabios-bochs-display.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-bochs-display .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin nu-objdump -thr out/code32seg.o > out/code32seg.o.objdump x86_64-linux-gnu-objdump -thr out/code16.o > out/code16.o.objdump python3 ./scripts/layoutrom.py out/code16.o.objdump out/code32seg.o.objdump out/code32flat.o.objdump out/autoconf.h out/romlayout16.lds out/romlayout32seg.lds out/romlayout32flat.lds Fixed space: 0xe05b-0x10000 total: 8101 slack: 7 Percent slack: 0.1% 16bit size: 37952 32bit segmented size: 2225 32bit flat size: 42127 32bit flat init size: 58208 Lowmem size: 2240 f-segment var size: 1248 Linking out/rom16.o x86_64-linux-gnu-ld -T out/romlayout16.lds out/code16.o -o out/rom16.o Stripping out/rom16.strip.o x86_64-linux-gnu-strip out/rom16.o -o out/rom16.strip.o Linking out/rom32seg.o x86_64-linux-gnu-ld -T out/romlayout32seg.lds out/code32seg.o -o out/rom32seg.o Stripping out/rom32seg.strip.o x86_64-linux-gnu-strip out/rom32seg.o -o out/rom32seg.strip.o Linking out/rom.o x86_64-linux-gnu-ld -N -T out/romlayout32flat.lds out/rom16.strip.o out/rom32seg.strip.o out/code32flat.o -o out/rom.o Prepping out/bios.bin.prep rm -f out/bios.bin out/Csm16.bin out/bios.bin.elf x86_64-linux-gnu-objdump -thr out/rom.o > out/rom.o.objdump x86_64-linux-gnu-objcopy -O binary out/rom.o out/bios.bin.raw python3 ./scripts/checkrom.py out/rom.o.objdump 0 out/bios.bin.raw out/bios.bin.prep Total size: 148256 Fixed: 83552 Free: 113888 (used 56.6% of 256KiB rom) Creating out/bios.bin.elf x86_64-linux-gnu-strip -R .comment out/rom.o -o out/bios.bin.elf mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o BUILDSTDERR: Compile checking out/vgasrc/vbe.In file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-+ cp out/vgabios.bin binaries/vgabios-bochs-display.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-cirrus vgabios.bin vgabios-cirrus.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-cirrus .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050740-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -IIn file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ src -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-s+ cp out/vgabios.bin binaries/vgabios-cirrus.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-isavga vgabios.bin vgabios-isavga.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-isavga .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin witch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050745-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strictIn file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ -aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16+ cp out/vgabios.bin binaries/vgabios-isavga.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-qxl vgabios.bin vgabios-qxl.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-qxl .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050749-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definitionIn file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c + cp out/vgabios.bin binaries/vgabios-qxl.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-stdvga vgabios.bin vgabios-stdvga.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-stdvga .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050754-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 In file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S+ cp out/vgabios.bin binaries/vgabios-stdvga.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-ramfb vgabios.bin vgabios-ramfb.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-ramfb .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050759-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boIn file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ undary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o BUILDSTDERR: Precompilin+ cp out/vgabios.bin binaries/vgabios-ramfb.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-vmware vgabios.bin vgabios-vmware.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-vmware .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin g out/vgasrc/vgalayout.lds cpp -P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050803-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops In file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds BUILDSTDERR: cpp -+ cp out/vgabios.bin binaries/vgabios-vmware.bin + for config in bochs-display cirrus isavga qxl stdvga ramfb vmware virtio + build_bios /builddir/build/SOURCES/config.vga-virtio vgabios.bin vgabios-virtio.bin out/vgabios.bin + make clean distclean + cp /builddir/build/SOURCES/config.vga-virtio .config + echo CONFIG_DEBUG_LEVEL=1 + make oldnoconfig V=1 + make V=1 EXTRAVERSION=-3.fc31 PYTHON=python3 HOSTCC=gcc CC=x86_64-linux-gnu-gcc AS=x86_64-linux-gnu-as LD=x86_64-linux-gnu-ld OBJCOPY=x86_64-linux-gnu-objcopy OBJDUMP=x86_64-linux-gnu-objdump STRIP=x86_64-linux-gnu-strip out/vgabios.bin P -MD -MT out/vgasrc/vgalayout.lds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050807-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig oldnoconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/conf.o /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/conf.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.tab.c_shipped > scripts/kconfig/zconf.tab.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.lex.c_shipped > scripts/kconfig/zconf.lex.c cat /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/zconf.hash.c_shipped > scripts/kconfig/zconf.hash.c cc -Iscripts/kconfig -I/builddir/build/BUILD/seabios-1.12.1/scripts/kconfig -Iscripts/kconfig -DCURSES_LOC="" -DLOCALE -c -o scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c cc -o scripts/kconfig/conf scripts/kconfig/conf.o scripts/kconfig/zconf.tab.o scripts/kconfig/conf --olddefconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig # # configuration written to /builddir/build/BUILD/seabios-1.12.1/.config # make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' mkdir -p out//scripts/kconfig/lxdialog mkdir -p out//include/config mkdir -p out/src out/src/hw out/src/fw out/vgasrc make -C out/ -f /builddir/build/BUILD/seabios-1.12.1/scripts/kconfig/Makefile srctree=/builddir/build/BUILD/seabios-1.12.1 src=scripts/kconfig obj=scripts/kconfig Q= Kconfig=/builddir/build/BUILD/seabios-1.12.1/src/Kconfig silentoldconfig make[1]: Entering directory '/builddir/build/BUILD/seabios-1.12.1/out' Build Kconfig config file mkdir -p include/config include/generated scripts/kconfig/conf --silentoldconfig /builddir/build/BUILD/seabios-1.12.1/src/Kconfig make[1]: Leaving directory '/builddir/build/BUILD/seabios-1.12.1/out' Compile checking out/src/output.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/output.c -o out/src/output.o Compile checking out/src/string.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/string.c -o out/src/string.o Compile checking out/src/hw/pci.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/pci.c -o out/src/hw/pci.o Compile checking out/src/hw/serialio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/hw/serialio.c -o out/src/hw/serialio.o Compile checking out/vgasrc/vgainit.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgainit.c -o out/vgasrc/vgainit.o Compile checking out/vgasrc/vgabios.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgabios.c -o out/vgasrc/vgabios.o Compile checking out/vgasrc/vgafb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafb.c -o out/vgasrc/vgafb.o Compile checking out/vgasrc/swcursor.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/swcursor.c -o out/vgasrc/swcursor.o Compile checking out/vgasrc/vgafonts.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vgafonts.c -o out/vgasrc/vgafonts.o Compile checking out/vgasrc/vbe.o BUILDSTDERR: x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-strucIn file included from ./src/output.c:9, BUILDSTDERR: from out/vgaccode16.raw.s.tmp.c:1: BUILDSTDERR: ./vgasrc/vgainit.c: In function 'allocate_pmm': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:51:13: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 51 | if (GET_FARVAR(SEG_BIOS, pmm->signature) != PMM_SIGNATURE) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct pmmheader' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgainit.c:55:33: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 55 | struct segoff_s entry = GET_FARVAR(SEG_BIOS, pmm->entry); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c: In function 'handle_101b': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1054:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1054 | SET_FARVAR(seg, info->static_functionality BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.c:1064:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 1064 | SET_FARVAR(seg, info->colors, 16); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f00': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:35:9: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 35 | if (GET_FARVAR(seg, info->signature) == VBE2_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:37:16: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 37 | } else if (GET_FARVAR(seg, info->signature) == VESA_SIGNATURE) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:45:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 45 | SET_FARVAR(seg, info->signature, VESA_SIGNATURE); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:47:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 47 | SET_FARVAR(seg, info->version, 0x0300); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:49:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 49 | SET_FARVAR(seg, info->oem_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:51:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 51 | SET_FARVAR(seg, info->capabilities, GET_GLOBAL(VBE_capabilities)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:55:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 55 | SET_FARVAR(seg, info->video_mode, SEGOFF(seg, (u32)destmode)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:58:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 58 | SET_FARVAR(seg, info->total_memory BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:61:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 61 | SET_FARVAR(seg, info->oem_vendor_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:63:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 63 | SET_FARVAR(seg, info->oem_product_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:65:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 65 | SET_FARVAR(seg, info->oem_revision_string, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c: In function 'vbe_104f01': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:100:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 100 | SET_FARVAR(seg, info->win_granularity, win_granularity); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:101:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 101 | SET_FARVAR(seg, info->win_size, 64); /* Bank size 64K */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:102:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 102 | SET_FARVAR(seg, info->winA_seg, GET_GLOBAL(vmode_g->sstart)); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:103:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 103 | SET_FARVAR(seg, info->winB_seg, 0x0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:105:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 105 | SET_FARVAR(seg, info->win_func_ptr BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:111:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 111 | SET_FARVAR(seg, info->bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:112:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 112 | SET_FARVAR(seg, info->xres, width); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:113:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 113 | SET_FARVAR(seg, info->yres, height); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:158:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 158 | SET_FARVAR(seg, info->mode_attributes, mode_attr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:191:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 191 | SET_FARVAR(seg, info->phys_base, framebuffer); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:193:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 193 | SET_FARVAR(seg, info->reserved1, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:194:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 194 | SET_FARVAR(seg, info->reserved2, 0); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct vbe_mode_info' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vbe.c:195:9: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 195 | SET_FARVAR(seg, info->linear_bytes_per_scanline, linesize); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_save_hw_state': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:373:5: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 373 | SET_FARVAR(seg, info->crtc_addr, crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c: In function 'stdvga_restore_hw_state': BUILDSTDERR: ./src/farptr.h:28:57: warning: taking address of packed member of 'struct saveVideoHardware' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 28 | union u64_u32_u *__r64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:64:9: note: in expansion of macro 'READ64_SEG' BUILDSTDERR: 64 | READ64_SEG(prefix, seg, __val, var); \ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:144:27: note: in expansion of macro '__GET_VAR' BUILDSTDERR: 144 | #define GET_VAR(seg, var) __GET_VAR("", seg, (var)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:111:5: note: in expansion of macro 'GET_VAR' BUILDSTDERR: 111 | GET_VAR(ES, (var)); }) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:142:30: note: in expansion of macro '__GET_FARVAR' BUILDSTDERR: 142 | #define GET_FARVAR(seg, var) __GET_FARVAR((seg), (var)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvga.c:389:21: note: in expansion of macro 'GET_FARVAR' BUILDSTDERR: 389 | u16 crtc_addr = GET_FARVAR(seg, info->crtc_addr); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c: In function 'stdvga_build_video_param': BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_save_pointer_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:362:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 362 | SET_VGA(video_save_pointer_table.videoparam BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_param_s' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:394:9: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 394 | SET_VGA(vparam_g->slength, calc_page_size(memmodel, width, height)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:44:57: warning: taking address of packed member of 'struct video_func_static' may result in an unaligned pointer value [-Waddress-of-packed-member] BUILDSTDERR: 44 | union u64_u32_u *__w64_ptr = (union u64_u32_u *)&(var); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ./src/farptr.h:77:13: note: in expansion of macro 'WRITE64_SEG' BUILDSTDERR: 77 | WRITE64_SEG(prefix, seg, var, (val)); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: ./src/farptr.h:145:32: note: in expansion of macro '__SET_VAR' BUILDSTDERR: 145 | #define SET_VAR(seg, var, val) __SET_VAR("", seg, (var), (val)) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: ./src/farptr.h:115:9: note: in expansion of macro 'SET_VAR' BUILDSTDERR: 115 | SET_VAR(ES, (var), __sfv_val); \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ./src/farptr.h:143:35: note: in expansion of macro '__SET_FARVAR' BUILDSTDERR: 143 | #define SET_FARVAR(seg, var, val) __SET_FARVAR((seg), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: ./vgasrc/vgabios.h:72:27: note: in expansion of macro 'SET_FARVAR' BUILDSTDERR: 72 | #define SET_VGA(var, val) SET_FARVAR(get_global_seg(), (var), (val)) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ./vgasrc/stdvgamodes.c:419:5: note: in expansion of macro 'SET_VGA' BUILDSTDERR: 419 | SET_VGA(static_functionality.modes, modes); BUILDSTDERR: | ^~~~~~~ t-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/vbe.c -o out/vgasrc/vbe.o Compile checking out/vgasrc/stdvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvga.c -o out/vgasrc/stdvga.o Compile checking out/vgasrc/stdvgamodes.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgamodes.c -o out/vgasrc/stdvgamodes.o Compile checking out/vgasrc/stdvgaio.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/stdvgaio.c -o out/vgasrc/stdvgaio.o Compile checking out/vgasrc/clext.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/clext.c -o out/vgasrc/clext.o Compile checking out/vgasrc/bochsvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsvga.c -o out/vgasrc/bochsvga.o Compile checking out/vgasrc/geodevga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/geodevga.c -o out/vgasrc/geodevga.o Compile checking out/src/fw/coreboot.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c src/fw/coreboot.c -o out/src/fw/coreboot.o Compile checking out/vgasrc/cbvga.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/cbvga.c -o out/vgasrc/cbvga.o Compile checking out/vgasrc/bochsdisplay.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/bochsdisplay.c -o out/vgasrc/bochsdisplay.o Compile checking out/vgasrc/ramfb.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODE16=0 -DMODESEGMENT=0 -c vgasrc/ramfb.c -o out/vgasrc/ramfb.o Compiling whole program out/vgaccode16.raw.s printf '#include "src/output.c"\n #include "src/string.c"\n #include "src/hw/pci.c"\n #include "src/hw/serialio.c"\n #include "vgasrc/vgainit.c"\n #include "vgasrc/vgabios.c"\n #include "vgasrc/vgafb.c"\n #include "vgasrc/swcursor.c"\n #include "vgasrc/vgafonts.c"\n #include "vgasrc/vbe.c"\n #include "vgasrc/stdvga.c"\n #include "vgasrc/stdvgamodes.c"\n #include "vgasrc/stdvgaio.c"\n #include "vgasrc/clext.c"\n #include "vgasrc/bochsvga.c"\n #include "vgasrc/geodevga.c"\n #include "src/fw/coreboot.c"\n #include "vgasrc/cbvga.c"\n #include "vgasrc/bochsdisplay.c"\n #include "vgasrc/ramfb.c"\n' > out/vgaccode16.raw.s.tmp.c x86_64-linux-gnu-gcc -I. -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -fno-omit-frame-pointer -S -Isrc -fwhole-program -DWHOLE_PROGRAM -c out/vgaccode16.raw.s.tmp.c -o out/vgaccode16.raw.s Fixup VGA rom assembler python3 ./scripts/vgafixup.py out/vgaccode16.raw.s out/vgaccode16.s x86_64-linux-gnu-as --32 src/code16gcc.s out/vgaccode16.s -o out/vgaccode16.o Compiling to assembler out/src/asm-offsets.s x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -S -c src/asm-offsets.c -o out/src/asm-offsets.s Generating offset file out/asm-offsets.h ./scripts/gen-offsets.sh out/src/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/vgaentry.o x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c -D__ASSEMBLY__ vgasrc/vgaentry.S -o out/vgaentry.o Precompiling out/vgasrc/vgalayout.lds BUILDSTDERR: cpp -P -MD -MT out/vgasrc/vgalayout.l+ cp out/vgabios.bin binaries/vgabios-virtio.bin + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ds -D__ASSEMBLY__ vgasrc/vgalayout.lds.S -o out/vgasrc/vgalayout.lds Linking out/vgarom.o python3 ./scripts/buildversion.py -e "-3.fc31" -t "x86_64-linux-gnu-gcc;x86_64-linux-gnu-as;x86_64-linux-gnu-ld;x86_64-linux-gnu-objcopy;x86_64-linux-gnu-objdump;x86_64-linux-gnu-strip" out/autovgaversion.h Version: ?-20190904_050812-8ef30f7411bf45d5a2983a95ca8924d5-3.fc31 x86_64-linux-gnu-gcc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -m16 --param large-stack-frame=4 -c vgasrc/vgaversion.c -o out/vgaversion.o x86_64-linux-gnu-ld --gc-sections -T out/vgasrc/vgalayout.lds out/vgaccode16.o out/vgaentry.o out/vgaversion.o -o out/vgarom.o Extracting binary out/vgabios.bin.raw x86_64-linux-gnu-objcopy -O binary out/vgarom.o out/vgabios.bin.raw Finalizing rom out/vgabios.bin python3 ./scripts/buildrom.py out/vgabios.bin.raw out/vgabios.bin Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VQAzHt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le + cd seabios-1.12.1 + mkdir -p /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seabios + mkdir -p /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seavgabios + install -m 0644 binaries/bios.bin /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seabios/bios.bin + install -m 0644 binaries/bios-256k.bin /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seabios/bios-256k.bin + install -m 0644 binaries/bios-csm.bin /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seabios/bios-csm.bin + install -m 0644 binaries/bios-coreboot.bin /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seabios/bios-coreboot.bin + install -m 0644 binaries/vgabios-bochs-display.bin binaries/vgabios-cirrus.bin binaries/vgabios-isavga.bin binaries/vgabios-qxl.bin binaries/vgabios-ramfb.bin binaries/vgabios-stdvga.bin binaries/vgabios-virtio.bin binaries/vgabios-vmware.bin /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/seavgabios + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: seabios-1.12.1-3.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FxTLVw + umask 022 + cd /builddir/build/BUILD + cd seabios-1.12.1 + DOCDIR=/builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/doc/seabios + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/doc/seabios + cp -pr COPYING /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/doc/seabios + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/doc/seabios + cp -pr README /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le/usr/share/doc/seabios + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: seabios = 1.12.1-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: seabios-bin-1.12.1-3.fc31.noarch Provides: seabios-bin = 1.12.1-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 BUILDSTDERR: warning: Arch dependent binaries in noarch package Processing files: seavgabios-bin-1.12.1-3.fc31.noarch Provides: seavgabios-bin = 1.12.1-3.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: vgabios Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le Wrote: /builddir/build/RPMS/seabios-1.12.1-3.fc31.noarch.rpm Wrote: /builddir/build/RPMS/seavgabios-bin-1.12.1-3.fc31.noarch.rpm Wrote: /builddir/build/RPMS/seabios-bin-1.12.1-3.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qunatv + umask 022 + cd /builddir/build/BUILD + cd seabios-1.12.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/seabios-1.12.1-3.fc31.ppc64le + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0