From owner-freebsd-stable@freebsd.org Mon Aug 7 13:20:40 2017 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 6E3F0DD339C for ; Mon, 7 Aug 2017 13:20:40 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC876BAF4 for ; Mon, 7 Aug 2017 13:20:40 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4843EDD339B; Mon, 7 Aug 2017 13:20:40 +0000 (UTC) Delivered-To: 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 45A5EDD3399 for ; Mon, 7 Aug 2017 13:20:40 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (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 0BF126BAF2 for ; Mon, 7 Aug 2017 13:20:39 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by mail-vk0-x22e.google.com with SMTP id g189so1457870vke.5 for ; Mon, 07 Aug 2017 06:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sippysoft-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=Ga/4xt2pMQOX9oGi4wwuA/onnWl2+HgfazXnZngdu78=; b=doNMzi7sdXvjcwCdgTfZR63p5n0fOwtUlnmbIFqM2pCVl7E+KvEypCUXYmx8+KzHPG td4jlnKXsWgiE/GMFaIll9PpgzI3enG45eQ5VB03dgzbgNqMHC6c+KkP/ybLUgMVoiUj lF2AOqRp2Ion+HaaW1DmcAWG7sUZcXHY200bigyrZIpHpD4BhLvSozMBaQLR3sZ/FZgp v7Kpbf4MqXVHv9vTUQvwEaR5Z+UPTWBkKEbW2nxhUjwpkMHl/NcXVVI3cI+Ct7dLZXg6 SVusx8JQbp51u4bzzs74WagM5d53SnUeHOBYhp/AgYrGObyxjIMkioWY4jt0oxjojzCT bXSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=Ga/4xt2pMQOX9oGi4wwuA/onnWl2+HgfazXnZngdu78=; b=jmbijulppejIATBhR33S079lj/MmrxdO1y1HfEU8RCQxEKyhNfm8QmgZpLZxyKorq5 DvLVlrWCmTTNHfzQcHZyCU33CDqjZgWJRT3dmNEXXUoVXTn1a57KE9d+tKiFbrF/mRdi NOZaC4mn7t/pa101o+xzhkg6zHOtH9yJE+xKUyMnFOs28GiqYjnZ/IDyLZxyJ/SNq/6E fXrBEjU0YfWNonIrg0bHjRobn6bwkxCwkJhULm8dvctJ86o7kut/Rd5zXHaxnehOQ3EM bWMVIV3f0pFh5Ls266rZ/8jwvLaEzrnQxSzyu3peCQMpVUY9UZgpKi2YrbbLHF3EMsxX HlzQ== X-Gm-Message-State: AHYfb5hYAz9ppGkT18MIaqiK/Ln7pRDa+GZfjW6m9mu4dZhrdr6TSqw8 ST1nEWbQpD9BojG/q50ql4RlPsTk3wtSl5E= X-Received: by 10.31.171.129 with SMTP id u123mr300602vke.82.1502112038683; Mon, 07 Aug 2017 06:20:38 -0700 (PDT) MIME-Version: 1.0 Sender: sobomax@sippysoft.com Received: by 10.176.3.148 with HTTP; Mon, 7 Aug 2017 06:20:38 -0700 (PDT) From: Maxim Sobolev Date: Mon, 7 Aug 2017 06:20:38 -0700 X-Google-Sender-Auth: Ho7WG_inkUf0MWn4cDy9RWLlP-4 Message-ID: Subject: 11.1-RELEASE has issue with system headers in pedantic mode (type nullability specifier) To: stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2017 13:20:40 -0000 Hi, we noticed that some of our internal packages fail the build on 11.1 now with -pedantic: *00:31:09.178* Warning: Object directory not changed from original /tmp/mnt/dncd/work/dncd-20170627161415*00:31:09.178* cc -pipe -g3 -O0 -pipe -fstack-protector -fno-strict-aliasing -Wall -pedantic -O0 -g3 -g3 -O0 -pipe -MD -MF.depend.main.o -MTmain.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c main.c -o main.o*00:31:09.455* In file included from main.c:17:*00:31:09.456* /usr/include/err.h:63:27: error: type nullability specifier '_Nullable' is a Clang extension [-Werror,-Wnullability-extension]*00:31:09.456* void err_set_exit(void (* _Nullable)(int));*00:31:09.456* ^*00:31:09.456* In file included from main.c:19:*00:31:09.456* /usr/include/signal.h:87:27: error: type nullability specifier '_Nonnull' is a Clang extension [-Werror,-Wnullability-extension]*00:31:09.456* int sigpending(sigset_t * _Nonnull); I am not sure what the solution might be, perhaps change pedantic to make this condition non-fatal in pedantic mode? -Max