That's the official supported way. Warner
On Fri, Jul 8, 2016 at 11:16 AM, Pedro Giffuni <[email protected]> wrote: > > > On 07/08/16 11:04, Pedro Giffuni wrote: >> >> Hello; >> >> Sorry if this is a naive question, I just tried to build 11-stable on >> 10-stable and I got this: >> >> _____ >> ... >> cc -O2 -pipe -march=core2 -fno-strict-aliasing -Werror -D_KERNEL >> -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include >> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common >> -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer >> -I/usr/obj/usr/src/sys/GENERIC -MD -MP -MF.depend.aac.o -MTaac.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 -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 -mno-aes -mno-avx >> -std=iso9899:1999 -c /usr/src/sys/modules/aac/../../dev/aac/aac.c -o aac.o >> --- all_subdir_aacraid --- >> /usr/src/sys/modules/aacraid/../../dev/aacraid/aacraid.c:2510:50: error: >> invalid conversion specifier 'b' [-Werror,-Wformat-invalid-specifier] >> device_printf(sc->aac_dev, "Supported Options=%b\n", >> ~^ >> /usr/src/sys/modules/aacraid/../../dev/aacraid/aacraid.c:2512:10: error: >> data argument not used by format string [-Werror,-Wformat-extra-args] >> "\20" >> ^ >> 2 errors generated. >> *** [aacraid.o] Error code 1 >> >> make[4]: stopped in /usr/src/sys/modules/aacraid >> 1 error >> ... >> _____ >> > > For the record, I got around this by building the kernel-toolchain > target. > > > Pedro. > _______________________________________________ > [email protected] mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[email protected]" _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
