Subject: toolchain/25477: gcc toolchain build fails from today's supscan of -current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fair@netbsd.org>
List: netbsd-bugs
Date: 05/06/2004 02:22:14
>Number:         25477
>Category:       toolchain
>Synopsis:       gcc toolchain build fails from today's supscan of -current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 06 09:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 2.0E
>Organization:
Silly People Who Try Native Builds of -current
>Environment:
Architecture: alpha
Machine: alpha

>Description:
	Attempt build.sh of sup from 20040505 supscan fails as follows:

===> build.sh command: build.sh -u -M /usr/obj -T /usr/obj/tools -D /altroot -R /var/tmp/release/20040506-00 distribution sets
===> build.sh started: Thu May  6 00:33:56 PDT 2004
===> MACHINE:          alpha
===> MACHINE_ARCH:     alpha
===> TOOLDIR path:     /usr/obj/tools
===> DESTDIR path:     /altroot
===> RELEASEDIR path:  /var/tmp/release/20040506-00
===> makewrapper:      /usr/obj/tools/bin/nbmake-alpha
===> Updated /usr/obj/tools/bin/nbmake-alpha
build ===> .    (with: NOPOSTINSTALL=1)
Build started at: Thu May  6 00:34:00 PDT 2004

[ output elided -eef ]

dependall ===> tools/gcc
cc -c    -O -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE -DNETBSD_TOOLS   -I. -I. -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/.  -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/config -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/../include /usr/src/tools/gcc/../../gnu/dist/gcc/gcc/gengenrtl.c -o gengenrtl.o
In file included from /usr/src/gnu/dist/gcc/gcc/gengenrtl.c:29:
/usr/src/gnu/dist/gcc/gcc/real.h:48: error: `SIZEOF_LONG' undeclared here (not in a function)
/usr/src/gnu/dist/gcc/gcc/real.h:48: error: `SIZEOF_LONG' undeclared here (not in a function)
/usr/src/gnu/dist/gcc/gcc/real.h:67: error: `SIZEOF_LONG' undeclared here (not in a function)
/usr/src/gnu/dist/gcc/gcc/real.h:67: error: `SIZEOF_LONG' undeclared here (not in a function)

*** Failed target:  gengenrtl.o

>How-To-Repeat:
	Attempt build.sh of sup from 20040505 supscan of -current on Alpha

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: