Subject: pkg/36777: devel/binutils build fails
To: None <,,>
From: Aleksej Saushev <>
List: pkgsrc-bugs
Date: 08/14/2007 08:50:01
>Number:         36777
>Category:       pkg
>Synopsis:       devel/binutils build fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 14 08:50:00 +0000 2007
>Originator:     Aleksej Saushev <>
>Release:        NetBSD 4.99.28
cc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620)
System: NetBSD asau.local 4.99.28 NetBSD 4.99.28 (KERN) #17: Thu Aug 9 22:17:16 MSD 2007 root@asau.local:/usr/obj/sys/arch/i386/compile/KERN i386
Architecture: i386
Machine: i386
	The package fails to build, it requires USE_TOOLS+=perl
	and less strict warning treatment.
	cd /usr/pkgsrc/devel/binutils && make

	cc -DHAVE_CONFIG_H -I. -I.././gas -I. -D_GNU_SOURCE -I. -I.././gas -I../bfd -I.././gas/config -I.././gas/../include -I.././gas/.. -I.././gas/../bfd -I.././gas/../intl -I../intl -DLOCALEDIR="\"/usr/pkg/share/locale\""    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -O3 -march=pentiumpro -mfpmath=sse -msse2 -c read.c
	cc1: warnings being treated as errors
	read.c: In function 's_comm_internal':
	read.c:1426: warning: 'stopc' may be used uninitialized in this function
	*** [read.o] Error code 1
	1. Run 'make USE_TOOLS=perl CFLAGS="-Wuninitialized -O"', or
	2. Add to Makefile following assignments:
	"USE_TOOLS+=perl", "CFLAGS+=-Wuninitialized -O", or
	3. Patch problematic source or make files.