Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2013 13:13:06 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        powerpc64@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on powerpc64/powerpc
Message-ID:  <8FED3AA7-C2B7-4A8C-A5B3-45A098B7C67A@xcllnt.net>
In-Reply-To: <86ehgfc3th.fsf@ds4.des.no>
References:  <201302162137.r1GLbn0B037655@freebsd-current.sentex.ca> <86ehgfc3th.fsf@ds4.des.no>

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

On Feb 16, 2013, at 2:05 PM, Dag-Erling Sm=F8rgrav <des@des.no> wrote:

> FreeBSD Tinderbox <tinderbox@freebsd.org> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8FED3AA7-C2B7-4A8C-A5B3-45A098B7C67A>