Subject: pkg/15625: lang/gcc-ssp fails to build on sparc
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 02/15/2002 16:32:40
>Number:         15625
>Category:       pkg
>Synopsis:       lang/gcc-ssp fails to build on sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 15 13:33:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc 2002/01/28
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD 1.5W
Architecture: sparc
Machine: sparc
>Description:

	lang/gcc-ssp fails to build on sparc (builds OK on i386)

>How-To-Repeat:

cc -c  -DIN_GCC -DHAIFA    -O2  -pipe   -DHAVE_CONFIG_H    -I. -I/var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc -I/var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/config -I/var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/../include \
  /var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/gencheck.c
In file included from tm.h:6,
                 from /var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/config/sparc/xm-sparc.h:40,
                 from hconfig.h:8,
                 from /var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/gencheck.c:21:
/var/package-obj/lang/gcc-ssp/work/gcc-2.95.3/gcc/config/sparc/netbsd-elf.h:25: sparc/netbsd-elf-common.h: No such file or directory
gmake[1]: *** [gencheck.o] Error 1
gmake[1]: Leaving directory `/build/package-obj/lang/gcc-ssp/work/objdir/gcc'
gmake: *** [all-gcc] Error 2
*** Error code 2

Stop.
make: stopped in /proven/work/woods/m-NetBSD-pkgsrc/lang/gcc-ssp
*** Error code 1

Stop.
make: stopped in /proven/work/woods/m-NetBSD-pkgsrc/lang/gcc-ssp
ksh: exit code: 1

>Fix:

	deleting the failing #include line allows the build to continue
	-- I don't yet know though if the resulting product works or not

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