Date: Fri, 8 Jul 2016 12:05:25 -0600 From: Warner Losh <imp@bsdimp.com> To: Pedro Giffuni <pfg@freebsd.org> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Problem building stable-11 on FreeBSD stable-10 Message-ID: <CANCZdfpJNmtWu3DyEt8q0Jg=kj=3kKs17yAEfmD6L4pg=z%2B=Tw@mail.gmail.com> In-Reply-To: <a8ac5645-9981-531c-10cd-e9b4661676e6@FreeBSD.org> References: <1b69a8dd-27a1-bde9-132f-4419a26b6555@FreeBSD.org> <a8ac5645-9981-531c-10cd-e9b4661676e6@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
That's the official supported way. Warner On Fri, Jul 8, 2016 at 11:16 AM, Pedro Giffuni <pfg@freebsd.org> 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. > _______________________________________________ > 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?CANCZdfpJNmtWu3DyEt8q0Jg=kj=3kKs17yAEfmD6L4pg=z%2B=Tw>
