[head tinderbox] failure on powerpc64/powerpc

Marcel Moolenaar marcel at xcllnt.net
Sun Feb 17 21:13:16 UTC 2013

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

It looks like WARNS is in fact 3:
eris% make -V WARNS

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

More information about the freebsd-current mailing list