Subject: toolchain/26739: nbmakeinfo dumping core when building tools
To: None <gnats-bugs@gnats.NetBSD.org>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 08/23/2004 17:28:30
>Number:         26739
>Category:       toolchain
>Synopsis:       nbmakeinfo dumping core when building tools
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 23 07:29:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        host: NetBSD 2.0F, from about July 29.
>Organization:
Wasabi Systems
>Environment:
	
	
System:
		NetBSD bigkev.thistledown.com.au 2.0F NetBSD 2.0F
		(BIGKEV.UP) #0: Thu Jul 29 14:12:08 EST 2004
		simonb@bigkev.thistledown.com.au:/var/tmp/BIGKEV.UP i386
Architecture:	i386
Machine:	i386
>Description:

	When building alpha tools on an i386 host using build.sh (with
	MKCROSSGDB=yes) the build fails with nbmakeinfo core dumping
	when trying to install gdb:

install ===> gdb
/bin/sh /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/mkinstalldirs /scratch/simonb/build/tools  /scratch/simonb/build/tools
transformed_name=`t='s,^,alpha--netbsd-,';  echo gdb | sed -e $t` ;  if test "x$transformed_name" = x; then  transformed_name=gdb ;  else  true ;  fi ;  /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/../mkinstalldirs /scratch/simonb/build/tools/bin ;  /scratch/simonb/build/tools/bin/nbinstall -c -p -r  gdb  /scratch/simonb/build/tools/bin/$transformed_name ;  /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/../mkinstalldirs  /scratch/simonb/build/tools/man/man1 ;  /scratch/simonb/build/tools/bin/nbinstall -c -p -r -m 644 /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/gdb.1  /scratch/simonb/build/tools/man/man1/$transformed_name.1
(test "$LN_S" = "ln -s" &&  ln -s /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/all-cfg.texi gdb-cfg.texi) ||  ln /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/all-cfg.texi gdb-cfg.texi ||  cp /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/all-cfg.texi gdb-cfg.texi
ln: gdb-cfg.texi: Cross-device link
/scratch/simonb/build/tools/bin/nbmakeinfo  -I /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/../../readline/doc -I /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/../mi -I /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc  -o gdb.info /home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/gdb.texinfo
/home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/gdb.texinfo:6372: warning: @strong{Note:} produces a spurious cross-reference in Info; reword to avoid that.
/home/simonb/netbsd/src/tools/gdb/../../gnu/dist/gdb/gdb/doc/../../readline/doc/rluser.texinfo:1332: warning: @sc argument all uppercase, thus no effect.
*** Signal 11

>How-To-Repeat:
	cd .../src
	env -i PATH=$PATH USER=$USER HOME=$HOME LOGNAME=$LOGNAME \
	    MAKECONF=/dev/null sh build.sh -U -u -V MKCROSSGDB=yes alpha tools

>Fix:
	Leaving out "-V MKCROSSGDB=yes" is a temporary workaround...
>Release-Note:
>Audit-Trail:
>Unformatted:
 		target: NetBSD -current, from August 23.