DF-5596 / runner2_master.log
+ W=/root/df5596
+ BD=/usr/obj/usr/src/sys/X86_64_GENERIC
+ SRC=/usr/src/sys
+ cd /usr/obj/usr/src/sys/X86_64_GENERIC
+ make -V CFLAGS
+ CFLAGS='-O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline'
+ cd /usr/obj/usr/src/sys/X86_64_GENERIC
+ make -V ASM_CFLAGS
+ ASMFLAGS='-x assembler-with-cpp -DLOCORE -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline'
+ echo 'ASMFLAGS=[-x assembler-with-cpp -DLOCORE -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline]'
+ sed -E s/-fno-common//g
+ printf %s '-O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline'
+ GFLAGS='-O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/usr/obj/usr/src/sys/X86_64_GENERIC -I/usr/src/sys/dev/acpica -I/usr/src/sys/contrib/dev/acpica/source/include -I/usr/src/sys/dev/netif/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/dev/drm/include -I/usr/src/sys/dev/drm/include/drm -I/usr/src/sys/dev/drm/include/uapi -I/usr/src/sys/dev/drm/amd/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -Wold-style-declaration -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline -fcommon'
+ echo 'checker build rc=0'
checker build rc=0
+ /root/df5596/offset_check
+ grep -c . /root/df5596/out.kernelview.raw.txt
+ echo 'checker run rc=0 lines=178'
checker run rc=0 lines=178
+ echo 'genassym(unpatched) build rc=0'
genassym(unpatched) build rc=0
+ sh /usr/src/sys/kern/genassym.sh /root/df5596/genassym_unpatched.o
+ diff -u /usr/obj/usr/src/sys/X86_64_GENERIC/assym.s /root/df5596/assym_unpatched.s
+ grep -c . /root/df5596/assym_unpatched.s
+ echo 'regen-vs-buildtree rc=0 (0=identical) lines=176'
regen-vs-buildtree rc=0 (0=identical) lines=176
+ norm /root/df5596/out.kernelview.raw.txt
+ awk '{print $1, $2}'
+ sort
+ sed -E 's/#define[ \t]+([A-Za-z0-9_]+)[ \t]+0x0*/#define \1 /' /root/df5596/out.kernelview.raw.txt
+ norm /root/df5596/assym_unpatched.s
+ awk '{print $1, $2}'
+ sort
+ sed -E 's/#define[ \t]+([A-Za-z0-9_]+)[ \t]+0x0*/#define \1 /' /root/df5596/assym_unpatched.s
+ diff -u /root/df5596/n.assym.txt /root/df5596/n.checker.txt
+ echo 'assym-vs-checker rc=1 (0=all match)'
assym-vs-checker rc=1 (0=all match)
+ mkdir -p /root/df5596/run_unpatched
+ cp /root/df5596/assym_unpatched.s /root/df5596/run_unpatched/assym_under_test.s
+ cp /root/df5596/probe_gdcl.s /root/df5596/run_unpatched/
+ echo 'probe(unpatched) rc=1'
probe(unpatched) rc=1
+ nm /root/df5596/run_unpatched/probe.o
+ echo 'genassym(fixed) rc=0'
genassym(fixed) rc=0
+ sh /usr/src/sys/kern/genassym.sh /root/df5596/genassym_fixed.o
+ diff -u /root/df5596/assym_unpatched.s /root/df5596/assym_fixed.s
+ grep GD_CURRENTLDT /root/df5596/assym_fixed.s
+ mkdir -p /root/df5596/run_fixed
+ cp /root/df5596/assym_fixed.s /root/df5596/run_fixed/assym_under_test.s
+ cp /root/df5596/probe_gdcl.s /root/df5596/run_fixed/
+ echo 'probe(fixed) rc=1'
probe(fixed) rc=1
+ nm /root/df5596/run_fixed/probe.o
+ cc -o /root/df5596/ioapic_drift_now /root/df5596/ioapic_drift.c
+ /root/df5596/ioapic_drift_now
+ echo 'drift(now) rc=0'
drift(now) rc=0
+ cc -DDRIFT -o /root/df5596/ioapic_drift_sim /root/df5596/ioapic_drift.c
+ /root/df5596/ioapic_drift_sim
+ echo 'drift(sim) rc=1'
drift(sim) rc=1
+ cc -c /root/df5596/guard_ok.c -o /root/df5596/guard_ok.o
+ echo 'guard(current) rc=0'
guard(current) rc=0
+ cc -c /root/df5596/guard_drift.c -o /root/df5596/guard_drift.o
+ echo 'guard(drifted) rc=1 (nonzero=caught)'
guard(drifted) rc=1 (nonzero=caught)
+ echo DONE2
DONE2