buildworld broken in tcsh

From: Aristedes Maniatis <ari_at_ish.com.au>
Date: Tue, 9 Oct 2007 14:26:55 +1000
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_at_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 "<varargs.h> is obsolete  
with this version of GCC."
/usr/include/varargs.h:35:2: error: #error "Change your code to use  
<stdarg.h> 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 "<varargs.h> is obsolete  
with this version of GCC."
/usr/include/varargs.h:35:2: error: #error "Change your code to use  
<stdarg.h> 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



Received on Tue Oct 09 2007 - 02:27:00 UTC

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