From owner-freebsd-current@FreeBSD.ORG Tue Oct 9 04:27:00 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA9716A41B for ; Tue, 9 Oct 2007 04:27:00 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 8415413C459 for ; Tue, 9 Oct 2007 04:26:59 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from ip-182.ish.com.au ([203.29.62.182]) by fish.ish.com.au with esmtpa (Exim 4.43) id 1If6fM-0003WL-0A; Tue, 09 Oct 2007 14:25:56 +1000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-102-995934820" Message-Id: Content-Transfer-Encoding: 7bit From: Aristedes Maniatis Date: Tue, 9 Oct 2007 14:26:55 +1000 To: freebsd-current@freebsd.org X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Subject: buildworld broken in tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 04:27:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-102-995934820 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Using Current csupped as of yesterday, buildworld fails. FreeBSD splash.ish.com.au 7.0-CURRENT-200708 FreeBSD 7.0- CURRENT-200708 #0: Fri Aug 17 07:47:18 UTC 2007 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Dual Core AMD Opteron(tm) Processor 175 (2211.34-MHz 686-class CPU) I tried both i386 and cross-building to amd64 with similar results. I'm guessing this is some sort of GCC change between the last snapshot and today's current. I've looked on the wiki and the lists but can't find a FAQ about this. Thanks Ari Maniatis -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj INSTALL="sh /usr/src/tools/ install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/ src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/ bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m / usr/src/tools/build/mk -j 8 -m /usr/src/share/mk" make -f Makefile.inc1 TARGET=i386 TARGET_ARCH=i386 DESTDIR= BOOTSTRAPPING=700052 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools ===> bin/csh (obj,build-tools) grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep '^#define' >> sh.err.h cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/ src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' - DHAVE_ICONV -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/ csh/../../contrib/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/ sh.char.h /usr/src/bin/csh/config.h /usr/src/bin/csh/../../contrib/ tcsh/config_f.h /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep 'Char STR' | sed -e 's/Char \([a-zA- Z0-9_]*\)\(.*\)/extern Char \1[];/' | sort >> tc.const.h In file included from /usr/src/bin/csh/config.h:235, from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36, from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c: 33: /usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36, from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c: 33: /usr/src/bin/csh/config.h:180:1: warning: this is the location of the previous definition In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:366, from /usr/src/bin/csh/../../contrib/tcsh/tc.const.c: 33: /usr/include/varargs.h:34:2: error: #error " is obsolete with this version of GCC." /usr/include/varargs.h:35:2: error: #error "Change your code to use instead." In file included from /usr/src/bin/csh/config.h:235: /usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined /usr/src/bin/csh/config.h:180:1: warning: this is the location of the previous definition cc -o gethost -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 -fno-strict- aliasing -pipe -I. -I/usr/src/bin/csh -I/usr/src/bin/csh/../../ contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' -DHAVE_ICONV -I/usr/obj/ usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib/tcsh/ gethost.c In file included from /usr/src/bin/csh/config.h:235, from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/config_f.h:63:1: warning: "NLS" redefined In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:36, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/config.h:180:1: warning: this is the location of the previous definition In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:366, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/include/varargs.h:34:2: error: #error " is obsolete with this version of GCC." /usr/include/varargs.h:35:2: error: #error "Change your code to use instead." In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.h:484: error: expected declaration specifiers or '...' before '*' token /usr/src/bin/csh/../../contrib/tcsh/sh.h:484: error: 'RETSIGTYPE' declared as function returning a function In file included from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.h:750: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parintr' /usr/src/bin/csh/../../contrib/tcsh/sh.h:751: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parterm' In file included from /usr/src/bin/csh/../../contrib/tcsh/tc.h:42, from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1252, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/tc.decls.h:90: error: 'alrmcatch' declared as function returning a function In file included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304, from /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:45: error: 'pintr' declared as function returning a function /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:314: error: 'pchild' declared as function returning a function *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error --------------------------> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A --Apple-Mail-102-995934820 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iEYEARECAAYFAkcLAxAACgkQ72p9Lj5JECritgCePiVM4op1OvlmZMhXgYo2K8Rw gx0An0cvTbdh8NbuD+Fisn1YEsMUJnai =80+y -----END PGP SIGNATURE----- --Apple-Mail-102-995934820--