From owner-freebsd-stable Sat Feb 28 21:40:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16897 for freebsd-stable-outgoing; Sat, 28 Feb 1998 21:40:50 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA16840; Sat, 28 Feb 1998 21:40:43 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id QAA32286; Sun, 1 Mar 1998 16:36:42 +1100 Date: Sun, 1 Mar 1998 16:36:42 +1100 From: Bruce Evans Message-Id: <199803010536.QAA32286@godzilla.zeta.org.au> To: dkelly@HiWAAY.net, freebsd-stable@FreeBSD.ORG Subject: Re: Tonight's cvsup'ed -stable fails "make buildword" Cc: pst@FreeBSD.ORG Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk >===> libscsi >cc -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.o >building standard scsi library >ranlib libscsi.a >cc -fpic -DPIC -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.so >building shared scsi library (version 2.0) >===> libskey >cc -pipe -DPERMIT_CONSOLE -D_SKEY_INTERNAL -I/usr/src/lib/libskey -W -Wall -Werror -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libskey/skeyaccess.c -o skeyaccess.o >cc1: warnings being treated as errors >/usr/obj/usr/src/tmp/usr/include/stdio.h:366: warning: `__sputc' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:143: warning: `__istype' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:157: warning: `__toupper' defined but not used >/usr/obj/usr/src/tmp/usr/include/ctype.h:164: warning: `__tolower' defined but not used >*** Error code 1 This is caused by dubious configuration: 1) you don't have -O in CFLAGS for some reason (it looks like you have -pipe without -O in /etc/make.conf). 2) libskey/Makefile now puts -W in CFLAGS. In combination with (1), this causes gcc t emit a warning for every static inline declaration in every header file that it parses. 3) libskey now puts -Werror in CFLAGS. This makes the combination of (1) and (2) fatal. In other words, libskey is now broken even in -stable if -O isn't in CFLAGS. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message