With sources up-to-date, a ``build.sh release'' succeeds.
HOWEVER, a ``build.sh kernel=XXX'' fails with the following errors
(the entire log is attached...)
In file included from
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:107:0,
from
/build/netbsd-local/src_ro/sys/arch/amd64/amd64/process_machdep.c:89:
./machine/netbsd32_machdep.h:108:2: error: unknown type name 'siginfo32_t'
siginfo32_t sf_si;
^~~~~~~~~~~
./machine/netbsd32_machdep.h:109:2: error: unknown type name 'ucontext32_t'
ucontext32_t sf_uc;
^~~~~~~~~~~~
In file included from
/build/netbsd-local/src_ro/sys/arch/amd64/amd64/process_machdep.c:89:0:
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:324:2: error: unknown
type name 'siginfo32_t'
siginfo32_t psi_siginfo; /* signal information structure */
^~~~~~~~~~~
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1178:26: error:
unknown type name 'siginfo32_t'; did you mean 'siginfo_t'?
void netbsd32_si_to_si32(siginfo32_t *, const siginfo_t *);
^~~~~~~~~~~
siginfo_t
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1179:45: error:
unknown type name 'siginfo32_t'
void netbsd32_si32_to_si(siginfo_t *, const siginfo32_t *);
^~~~~~~~~~~
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1181:63: error:
'struct __ksiginfo32' declared inside parameter list will not be visible
outside of this definition or declaration [-Werror]
void netbsd32_ksi32_to_ksi(struct _ksiginfo *si, const struct __ksiginfo32
*si32);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
*** [process_machdep.o] Error code 1
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org |
+--------------------+--------------------------+-----------------------+
===> build.sh command: ./build.sh -T /build/netbsd-local/tools/x86_64/amd64
-D /build/netbsd-local/dest/amd64 -O /build/netbsd-local/obj/amd64 -R
/build/netbsd-local/release -V RELEASEMACHINEDIR=amd64 -V MKDEBUG=yes -V
MKKDEBUG=yes -U -x -N0 -m amd64 -j1 kernel=SPEEDY releasekernel=SPEEDY
===> build.sh started: Thu Jun 27 00:34:12 UTC 2019
===> NetBSD version: 8.99.48
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 8.99.45 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
===> TOOLDIR path: /build/netbsd-local/tools/x86_64/amd64
===> DESTDIR path: /build/netbsd-local/dest/amd64
===> RELEASEDIR path: /build/netbsd-local/release
===> Updated makewrapper:
/build/netbsd-local/tools/x86_64/amd64/bin/nbmake-amd64
===> Building kernel without building new tools
===> Building kernel: SPEEDY
===> Build directory:
/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY
Build directory is /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY
Don't forget to run "make depend"
depending the kern library objects
making sure the kern library is up to date...
building standard kern library
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c:
In function 'nouveau_ttm_io_mem_reserve':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c:1469:57:
warning: this statement may fall through [-Wimplicit-fallthrough=]
if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA || !node->memtype)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c:1473:2:
note: here
case TTM_PL_VRAM:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/dma/nouveau_nvkm_engine_dma_usernv04.c:
In function 'nv04_dmaobj_new':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/dma/nouveau_nvkm_engine_dma_usernv04.c:129:18:
warning: this statement may fall through [-Wimplicit-fallthrough=]
dmaobj->flags0 |= 0x00008000;
~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/dma/nouveau_nvkm_engine_dma_usernv04.c:130:2:
note: here
case NV_MEM_ACCESS_RW:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv04.c:
In function 'nv04_fifo_swmthd':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv04.c:124:3:
warning: this statement may fall through [-Wimplicit-fallthrough=]
nvkm_wr32(device, 0x003280, (engine &= ~mask));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv04.c:125:2:
note: here
case 0x0180 ... 0x01fc: /* handle -> instance */
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv04.c:126:8:
warning: this statement may fall through [-Wimplicit-fallthrough=]
data = nvkm_rd32(device, 0x003258) & 0x0000ffff;
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/nouveau_nvkm_engine_fifo_nv04.c:127:2:
note: here
case 0x0100 ... 0x017c:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_perf.c:
In function 'nvbios_perfEp':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_perf.c:141:18:
warning: this statement may fall through [-Wimplicit-fallthrough=]
info->script = nvbios_rd16(bios, perf + 0x02);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_perf.c:142:2:
note: here
case 0x35:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_pll.c:
In function 'pll_map':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_pll.c:135:31:
warning: this statement may fall through [-Wimplicit-fallthrough=]
if (device->chipset < 0xa3 ||
~~~~~~~~~~~~~~~~~~~~~~~~~~
device->chipset == 0xaa ||
~~~~~~~~~~~~~~~~~~~~~~~~^~
device->chipset == 0xac)
~~~~~~~~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_pll.c:138:2:
note: here
default:
^~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:
In function 'nvbios_timingEp':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:122:21:
warning: this statement may fall through [-Wimplicit-fallthrough=]
p->timing_10_24 = nvbios_rd08(bios, data + 0x18);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:123:3:
note: here
case 24:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:126:21:
warning: this statement may fall through [-Wimplicit-fallthrough=]
p->timing_10_21 = nvbios_rd08(bios, data + 0x15);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:127:3:
note: here
case 21:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:128:21:
warning: this statement may fall through [-Wimplicit-fallthrough=]
p->timing_10_20 = nvbios_rd08(bios, data + 0x14);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:129:3:
note: here
case 20:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:130:21:
warning: this statement may fall through [-Wimplicit-fallthrough=]
p->timing_10_CWL = nvbios_rd08(bios, data + 0x13);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:131:3:
note: here
case 19:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:132:21:
warning: this statement may fall through [-Wimplicit-fallthrough=]
p->timing_10_18 = nvbios_rd08(bios, data + 0x12);
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_timing.c:133:3:
note: here
case 18:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_mcp77.c:
In function 'mcp77_clk_prog':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_mcp77.c:370:8:
warning: this statement may fall through [-Wimplicit-fallthrough=]
mast |= 0x00400000;
~~~~~^~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/nouveau_nvkm_subdev_clk_mcp77.c:371:2:
note: here
default:
^~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv40.c:
In function 'nv40_ram_prog':
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv40.c:138:3:
warning: this statement may fall through [-Wimplicit-fallthrough=]
nvkm_wr32(device, 0x004030, ram->coef);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv40.c:139:2:
note: here
case 0x43:
^~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv40.c:143:3:
warning: this statement may fall through [-Wimplicit-fallthrough=]
nvkm_wr32(device, 0x00403c, ram->coef);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/netbsd-local/src_ro/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/fb/nouveau_nvkm_subdev_fb_ramnv40.c:144:2:
note: here
default:
^~~~~~~
In file included from
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:107:0,
from
/build/netbsd-local/src_ro/sys/arch/amd64/amd64/process_machdep.c:89:
./machine/netbsd32_machdep.h:108:2: error: unknown type name 'siginfo32_t'
siginfo32_t sf_si;
^~~~~~~~~~~
./machine/netbsd32_machdep.h:109:2: error: unknown type name 'ucontext32_t'
ucontext32_t sf_uc;
^~~~~~~~~~~~
In file included from
/build/netbsd-local/src_ro/sys/arch/amd64/amd64/process_machdep.c:89:0:
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:324:2: error: unknown
type name 'siginfo32_t'
siginfo32_t psi_siginfo; /* signal information structure */
^~~~~~~~~~~
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1178:26: error:
unknown type name 'siginfo32_t'; did you mean 'siginfo_t'?
void netbsd32_si_to_si32(siginfo32_t *, const siginfo_t *);
^~~~~~~~~~~
siginfo_t
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1179:45: error:
unknown type name 'siginfo32_t'
void netbsd32_si32_to_si(siginfo_t *, const siginfo32_t *);
^~~~~~~~~~~
/build/netbsd-local/src_ro/sys/compat/netbsd32/netbsd32.h:1181:63: error:
'struct __ksiginfo32' declared inside parameter list will not be visible
outside of this definition or declaration [-Werror]
void netbsd32_ksi32_to_ksi(struct _ksiginfo *si, const struct __ksiginfo32
*si32);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
*** [process_machdep.o] Error code 1
nbmake: stopped in /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY
nbmake: stopped in /build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY