From owner-freebsd-stable@freebsd.org Fri Jul 8 18:05:26 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F28DFB8543F for ; Fri, 8 Jul 2016 18:05:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC73117BD for ; Fri, 8 Jul 2016 18:05:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22c.google.com with SMTP id h190so15522637ith.1 for ; Fri, 08 Jul 2016 11:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ZhqYtsn5DzroktQP4l6ztGbpPxXaYPzpqXyyy+oswPw=; b=fywqhEvAkU+8WcTN7u37fcEnBzSzefasysz2O2EXWanLUUdrdteYZhb4MOJY5EBlvZ 13cCQhnH3e9lvFrWWhDQs6WUktgJStuvuTHyuT5b5ayXc37LKR53gAZ/zmnMXUr7XMeG mSfubRD86OGiRVJo8TZBmnTvtgdO7+rxakMcUlmLGLfSkZ4X5XheGtVfzeLqmV3hMbcA VS7shyao1zyOUkIfAlRAgDZvNj/n3tRmvMpTSXmnm0pxy6QRIyn89Lz7gU8mJVjdYNXe e9LS1y7NlJWk/XsUmQBXi0eGt0o7NHjynfW/arq/2EQHhZ1zw4TiA5+7DBs2E7C7bqu/ 4GkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ZhqYtsn5DzroktQP4l6ztGbpPxXaYPzpqXyyy+oswPw=; b=GkfBNdYIHvxzG7bwiJ+7VnS7Y7PMBLPpW7MpWkDW8zdBRIXGC6Xnh88quRaMlFvVm6 IcuJhRE7qqOyTl9qw8KQb/2ZOoPfqJnU7ZsLidkI2P6OvzbAY1p/7REbdUiupVX47Bw8 v/73hcbmUd7VDUmaJysOYfyc4xP2M+byHNSoVdFhqEQYYCbsIBBrWqhelm7f6NLEScgM dgW+2quGv6wUUDudwoPkPsw7YEUAA8ALKpTFJZSZ5JZmUtgD/jbGZtdXsbD4kTVQGOij hkcC3Hm3GguwUs4e4YAtIhnITmkFkFxu35Icn1RE9W0/NTK3UCfVeQK76e4KykyR+YCV TwYw== X-Gm-Message-State: ALyK8tKnrL85PWVLH6c3fprpL1fwBL+WMOm8U2aCyvbjy7mzPLQe0EJCYzy0jW7EgN6twlN6ZQoIaSQ4VA3PCw== X-Received: by 10.36.41.16 with SMTP id p16mr4948940itp.60.1468001126178; Fri, 08 Jul 2016 11:05:26 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.137.131 with HTTP; Fri, 8 Jul 2016 11:05:25 -0700 (PDT) X-Originating-IP: [69.53.245.200] In-Reply-To: References: <1b69a8dd-27a1-bde9-132f-4419a26b6555@FreeBSD.org> From: Warner Losh Date: Fri, 8 Jul 2016 12:05:25 -0600 X-Google-Sender-Auth: 7KsY0ihLgs6uHO6p1zxpkU_LRwY Message-ID: Subject: Re: Problem building stable-11 on FreeBSD stable-10 To: Pedro Giffuni Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 18:05:27 -0000 That's the official supported way. Warner On Fri, Jul 8, 2016 at 11:16 AM, Pedro Giffuni 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"