On Tue, Aug 01, 2023 at 06:57:48PM +1000, matthew green wrote: > > this is broken with -current, with your 2 additional changes, > > and i wasn't able to fix it easily. this happens: > > > > /usr/src6/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc: > > In function 'void ioctl_table_fill()': > > /usr/src6/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc:36:7: > > error: 'IOCTL_USB_DEVICEINFO_OLD' was not declared in this scope > > i'm confused. it broke in some trees of mine, but is OK in others. > i wonder if there's a missing dependancy somewhere?
I see it too: /work/src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_int erceptors_ioctl_netbsd.inc: In function 'void ioctl_table_fill()': /work/src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc:36:7: error: 'IOCTL_USB_DEVICEINFO_30' was not declared in this scope 36 | if (IOCTL_##rq != IOCTL_NOT_PRESENT) { \ | ^~~~~~ /work/src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc:454:3: note: in expansion of macro '_' 454 | _(USB_DEVICEINFO_30, READWRITE, struct_usb_device_info30_sz); | ^ Martin