Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 12:16:59 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-stable@FreeBSD.org
Subject:   Re: Problem building stable-11 on FreeBSD stable-10
Message-ID:  <a8ac5645-9981-531c-10cd-e9b4661676e6@FreeBSD.org>
In-Reply-To: <1b69a8dd-27a1-bde9-132f-4419a26b6555@FreeBSD.org>
References:  <1b69a8dd-27a1-bde9-132f-4419a26b6555@FreeBSD.org>

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


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a8ac5645-9981-531c-10cd-e9b4661676e6>