Re: [head tinderbox] failure on powerpc64/powerpc

From: Marcel Moolenaar <marcel_at_xcllnt.net>
Date: Sun, 17 Feb 2013 13:13:06 -0800
On Feb 16, 2013, at 2:05 PM, Dag-Erling Smørgrav <des_at_des.no> wrote:

> FreeBSD Tinderbox <tinderbox_at_freebsd.org> writes:
>> cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=gnu99 -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
>> 
>> Stop in /src/lib/libldns.
> 
> 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=3 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?
 
-- 
Marcel Moolenaar
marcel_at_xcllnt.net
Received on Sun Feb 17 2013 - 20:13:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC