Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2016 11:04:06 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-stable@FreeBSD.org
Subject:   Problem building stable-11 on FreeBSD stable-10
Message-ID:  <1b69a8dd-27a1-bde9-132f-4419a26b6555@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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
...
_____

So, while here, is there a "blessed" way to upgrade 10-stable to 
11-stable, without wiping out my disks?

Pedro.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b69a8dd-27a1-bde9-132f-4419a26b6555>