Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 10:37:34 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Dmitriy Makarov <supportme@ukr.net>, Sean Bruno <sbruno@freebsd.org>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: r334229 breaks build kernel
Message-ID:  <CANCZdfoqtSREj=0naveCPCFFLmYAZzFUtCoCyMdaceS5qkeCmg@mail.gmail.com>
In-Reply-To: <1527346385.620374207.gguw32a1@frv33.fwdcdn.com>
References:  <1527346385.620374207.gguw32a1@frv33.fwdcdn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Looks like sean's merge was incomplete somehow.

Warner

On Sat, May 26, 2018 at 9:02 AM, Dmitriy Makarov <supportme@ukr.net> wrote:

> Hi,
>
> probably this last changes https://svnweb.freebsd.org/
> base?view=revision&revision=334229 breaks buildkernel in stable/11
>
> If it is related my kernel config contains IOSCHED option:
> options         CAM_IOSCHED_DYNAMIC
>
>
> cc -target x86_64-unknown-freebsd11.2 --sysroot=/usr/obj/usr/src/tmp
> -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing  -g
> -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer
> -mno-omit-leaf-frame-pointer -MD  -MF.depend.cam_iosched.o -MTcam_iosched.o
> -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector
> -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -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-error-address-of-packed-member
> -mno-aes -mno-avx  -std=iso9899:1999 -W
>  error  /usr/src/sys/cam/cam_iosched.c
>
> /usr/src/sys/cam/cam_iosched.c:513:40: error: no member named 'quanta1'
> in 'struct cam_iosched_softc'; did you mean 'quanta'?
>         callout_reset(&isc->ticker, hz / isc->quanta1, cam_iosched_ticker,
> isc);
>                                               ^~~~~~~
>                                               quanta
> /usr/src/sys/sys/callout.h:115:28: note: expanded from macro
> 'callout_reset'
>     callout_reset_on((c), (on_tick), (fn), (arg), -1)
>                            ^
> /usr/src/sys/sys/callout.h:112:43: note: expanded from macro
> 'callout_reset_on'
>     callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg),    \
>                                           ^
> /usr/src/sys/cam/cam_iosched.c:267:7: note: 'quanta' declared here
>         int             quanta;                 /* Number of quanta per
> second */
>                         ^
> 1 error generated.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoqtSREj=0naveCPCFFLmYAZzFUtCoCyMdaceS5qkeCmg>