From owner-freebsd-tinderbox@FreeBSD.ORG Sun Feb 17 21:13:16 2013 Return-Path: Delivered-To: tinderbox@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95FF3889; Sun, 17 Feb 2013 21:13:16 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 716A48D7; Sun, 17 Feb 2013 21:13:16 +0000 (UTC) Received: from lrust-sslvpn-nc.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.6/8.14.6) with ESMTP id r1HLDBWP003862 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 17 Feb 2013 13:13:13 -0800 (PST) (envelope-from marcel@xcllnt.net) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: [head tinderbox] failure on powerpc64/powerpc From: Marcel Moolenaar In-Reply-To: <86ehgfc3th.fsf@ds4.des.no> Date: Sun, 17 Feb 2013 13:13:06 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <8FED3AA7-C2B7-4A8C-A5B3-45A098B7C67A@xcllnt.net> References: <201302162137.r1GLbn0B037655@freebsd-current.sentex.ca> <86ehgfc3th.fsf@ds4.des.no> To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= X-Mailer: Apple Mail (2.1499) Cc: powerpc64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 21:13:16 -0000 On Feb 16, 2013, at 2:05 PM, Dag-Erling Sm=F8rgrav wrote: > FreeBSD Tinderbox writes: >> cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=3Dgnu99 = -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c = /src/lib/libldns/../../contrib/ldns/dnssec_verify.c -o dnssec_verify.o >> cc1: warnings being treated as errors >> /src/lib/libldns/../../contrib/ldns/dnssec_verify.c:638: warning: >> ldns_dnssec_trust_tree_print_sm' defined but not used >> *** [dnssec_verify.o] Error code 1 >>=20 >> Stop in /src/lib/libldns. >=20 > Why is this happening? The Makefile sets WARNS to 3, which adds > -Wno-unused-function to CFLAGS, which should suppress this warning. I don't see -Wno-unused-function above. I only see = -Wno-unused-parameter. I also don't see -Wno-parentheses-equality nor -Wno-conversion, so I guess that means that the set of flags applicable for WARNS=3D3 isn't = being taken. It looks like WARNS is in fact 3: eris% make -V WARNS 3 Since bsd.sys.mk has grown unreadable, try unraveling the conditionals to see if WARNS for GCC does the equivalent for CLANG. Is the problem specific to architectures that don't use CLANG? =20 --=20 Marcel Moolenaar marcel@xcllnt.net