mrsas breaks buildkernel

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 4 Feb 2021 16:51:59 -0800
===> mps (all)
===> mpt (all)
===> mqueue (all)
===> mrsas (all)
cc -target i386-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/i386.i386/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin  -O2 -pipe -fno-common -march=core2  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/i386.i386/sys/MOBILE/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g -fdebug-prefix-map=./machine=/usr/src/sys/i386/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -I/usr/obj/usr/src/i386.i386/sys/MOBILE     -MD  -MF.depend.mrsas.o -MTmrsas.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=iso9899:1999 -fgnu89-inline -c /usr/src/sys/dev/mrsas/mrsas.c -o mrsas.o
/usr/src/sys/dev/mrsas/mrsas.c:2786:67: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
        req_desc.addr.u.high = htole32((bus_addr_t)sc->ioc_init_phys_mem >> 32);
                                                                         ^  ~~
/usr/src/sys/sys/endian.h:74:32: note: expanded from macro 'htole32'
#define htole32(x)      ((uint32_t)(x))
                                    ^
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/sys/modules/mrsas
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/i386.i386/sys/MOBILE
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
-- 
Steve
Received on Thu Feb 04 2021 - 23:52:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC