Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2021 16:51:59 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   mrsas breaks buildkernel
Message-ID:  <20210205005159.GA37151@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help

=3D=3D=3D> mps (all)
=3D=3D=3D> mpt (all)
=3D=3D=3D> mqueue (all)
=3D=3D=3D> mrsas (all)
cc -target i386-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/i386.i386/=
tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin  -O2 -pipe -fno-common -march=
=3Dcore2  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -n=
ostdinc   -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/includ=
e -fno-common -g -fdebug-prefix-map=3D./machine=3D/usr/src/sys/i386/include=
 -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -I/usr/obj/usr/src/i=
386.i386/sys/MOBILE     -MD  -MF.depend.mrsas.o -MTmrsas.o -mno-mmx -mno-ss=
e -msoft-float -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-d=
ecls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar=
ith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf_=
_ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wn=
o-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-e=
quality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift=
-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mn=
o-aes -mno-avx  -std=3Diso9899:1999 -fgnu89-inline -c /usr/src/sys/dev/mrsa=
s/mrsas.c -o mrsas.o
/usr/src/sys/dev/mrsas/mrsas.c:2786:67: error: shift count >=3D width of ty=
pe [-Werror,-Wshift-count-overflow]
        req_desc.addr.u.high =3D 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
--=20
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210205005159.GA37151>