NetBSD Problem Report #53709

From www@NetBSD.org  Thu Nov  8 01:12:01 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0214D7A103
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Nov 2018 01:12:00 +0000 (UTC)
Message-Id: <20181108011152.2176F7A1E9@mollari.NetBSD.org>
Date: Thu,  8 Nov 2018 01:11:52 +0000 (UTC)
From: roy@marples.name
Reply-To: roy@marples.name
To: gnats-bugs@NetBSD.org
Subject: cannot build evbmips64-eb tools with gcc using clang as host compiler
X-Send-Pr-Version: www-1.0

>Number:         53709
>Category:       bin
>Synopsis:       cannot build evbmips64-eb tools with gcc using clang as host compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 08 01:15:00 +0000 2018
>Closed-Date:    
>Last-Modified:  Fri May 19 23:39:35 +0000 2023
>Originator:     Roy Marples
>Release:        8.99.25
>Organization:
>Environment:
$ uname -a
NetBSD netbsd.marples.name 8.99.25 NetBSD 8.99.25 (XEN3_DOMU) #1: Tue Nov  6 11:55:07 GMT 2018  roy@netbsd.marples.name:/home/roy/obj/src/sys/arch/amd64/compile/XEN3_DOMU amd64
>Description:
===> build.sh command:    ./build.sh -m evbmips64-eb tools
===> build.sh started:    Thu Nov  8 00:34:21 GMT 2018
===> NetBSD version:      8.99.25
===> MACHINE:             evbmips
===> MACHINE_ARCH:        mips64eb
===> Build platform:      NetBSD 8.99.25 amd64
===> HOST_SH:             /bin/sh
===> MAKECONF file:       /etc/mk.conf
===> TOOLDIR path:        /home/roy/tools-evbmips
===> DESTDIR path:        /home/roy/src/src/obj/destdir.evbmips
===> RELEASEDIR path:     /home/roy/src/src/obj/releasedir
===> Updated makewrapper: /home/roy/tools-evbmips/bin/nbmake-evbmips64-eb
obj ===> tools
obj ===> tools/host-mkdep
obj ===> tools/compat
obj ===> tools/binstall
obj ===> tools/mktemp
obj ===> tools/sed
obj ===> tools/genassym
obj ===> tools/cap_mkdb
obj ===> tools/crunchgen
obj ===> tools/ctags
obj ===> tools/gencat
obj ===> tools/hexdump
obj ===> tools/makewhatis
obj ===> tools/mtree
obj ===> tools/nbperf
obj ===> tools/uudecode
obj ===> tools/cat
obj ===> tools/rpcgen
obj ===> tools/join
obj ===> tools/lorder
obj ===> tools/m4
obj ===> tools/mkdep
obj ===> tools/tsort
obj ===> tools/xz-include
obj ===> tools/yacc
obj ===> tools/awk
obj ===> tools/lex
obj ===> tools/grep
obj ===> tools/xz-lib
obj ===> tools/texinfo
obj ===> tools/tic
obj ===> tools/pax
obj ===> tools/gmake
obj ===> tools/gmp
obj ===> tools/mpfr
obj ===> tools/mpc
obj ===> tools/binutils
obj ===> tools/gcc
obj ===> tools/gdb
obj ===> tools/dbsym
obj ===> tools/mdsetimage
obj ===> tools/asn1_compile
obj ===> tools/cksum
obj ===> tools/compile_et
obj ===> tools/db
obj ===> tools/file
obj ===> tools/lint1
obj ===> tools/slc
obj ===> tools/makefs
obj ===> tools/sortinfo
obj ===> tools/menuc
obj ===> tools/mkcsmapper
obj ===> tools/mkesdb
obj ===> tools/mklocale
obj ===> tools/mknod
obj ===> tools/msgc
obj ===> tools/disklabel
obj ===> tools/gpt
obj ===> tools/paxctl
obj ===> tools/fdisk
obj ===> tools/installboot
obj ===> tools/pwd_mkdb
obj ===> tools/strfile
obj ===> tools/sunlabel
obj ===> tools/vgrind
obj ===> tools/zic
obj ===> tools/stat
obj ===> tools/config
obj ===> tools/xz-bin
obj ===> tools/groff
obj ===> tools/mandoc
obj ===> tools/mips-elf2ecoff
obj ===> tools/mkubootimage
obj ===> tools/libfdt
obj ===> tools/dtc
obj ===> tools/cvslatest
dependall-host-mkdep ===> .	(with: dependall-compat dependall-binstall)
dependall ===> host-mkdep
dependall ===> compat
dependall ===> binstall
install-host-mkdep ===> .	(with: install-compat install-binstall)
install ===> compat
install ===> binstall
install ===> host-mkdep
dependall-mktemp ===> .
dependall ===> mktemp
install-mktemp ===> .
install ===> mktemp
dependall-sed ===> .
dependall ===> sed
install-sed ===> .
install ===> sed
dependall-genassym ===> .	(with: dependall-cap_mkdb dependall-crunchgen dependall-ctags dependall-gencat dependall-hexdump dependall-makewhatis dependall-mtree dependall-nbperf)
dependall ===> cap_mkdb
dependall ===> crunchgen
dependall ===> ctags
dependall ===> gencat
dependall ===> hexdump
dependall ===> makewhatis
dependall ===> mtree
dependall ===> nbperf
dependall ===> genassym
install-genassym ===> .	(with: install-cap_mkdb install-crunchgen install-ctags install-gencat install-hexdump install-makewhatis install-mtree install-nbperf)
install ===> cap_mkdb
install ===> crunchgen
install ===> ctags
install ===> gencat
install ===> hexdump
install ===> makewhatis
install ===> mtree
install ===> nbperf
install ===> genassym
dependall-uudecode ===> .	(with: dependall-cat dependall-rpcgen dependall-join dependall-lorder dependall-m4 dependall-mkdep dependall-tsort dependall-xz-include)
dependall ===> cat
dependall ===> rpcgen
dependall ===> join
dependall ===> lorder
dependall ===> m4
dependall ===> mkdep
dependall ===> tsort
dependall ===> xz-include
dependall ===> uudecode
install-uudecode ===> .	(with: install-cat install-rpcgen install-join install-lorder install-m4 install-mkdep install-tsort install-xz-include)
install ===> cat
install ===> rpcgen
install ===> join
install ===> lorder
install ===> m4
install ===> mkdep
install ===> tsort
install ===> xz-include
install ===> uudecode
dependall-yacc ===> .
dependall ===> yacc
install-yacc ===> .
install ===> yacc
dependall-awk ===> .
dependall ===> awk
install-awk ===> .
install ===> awk
dependall-lex ===> .	(with: dependall-grep dependall-xz-lib)
dependall ===> grep
dependall ===> xz-lib
dependall ===> lex
install-lex ===> .	(with: install-grep install-xz-lib)
install ===> grep
install ===> xz-lib
install ===> lex
dependall-texinfo ===> .
dependall ===> texinfo
install-texinfo ===> .
install ===> texinfo
Making install in intl
if { test "texinfo" = "gettext-runtime" || test "texinfo" = "gettext-tools"; }  && test 'yes' = yes; then  /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/lib /home/roy/tools-evbmips/include;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 libintl.h /home/roy/tools-evbmips/include/libintl.h;  @LIBTOOL@ --mode=install  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 libintl.a /home/roy/tools-evbmips/lib/libintl.a;  if test "@RELOCATABLE@" = yes; then  dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < /home/roy/tools-evbmips/lib/libintl.la | sed -e "s,^',," -e "s,'\$,,"`;  if test -n "$dependencies"; then  rm -f /home/roy/tools-evbmips/lib/libintl.la;  fi;  fi;  else  : ;  fi
if test "texinfo" = "gettext-tools"  && test 'yes' = no; then  /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/lib;  @LIBTOOL@ --mode=install  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 libgnuintl.a /home/roy/tools-evbmips/lib/libgnuintl.a;  rm -f /home/roy/tools-evbmips/lib/preloadable_libintl.so;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/tools-evbmips/lib/libgnuintl.so /home/roy/tools-evbmips/lib/preloadable_libintl.so;  @LIBTOOL@ --mode=uninstall  rm -f /home/roy/tools-evbmips/lib/libgnuintl.a;  else  : ;  fi
if test 'yes' = yes; then  test no != no || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/lib;  temp=/home/roy/tools-evbmips/lib/t-charset.alias;  dest=/home/roy/tools-evbmips/lib/charset.alias;  if test -f /home/roy/tools-evbmips/lib/charset.alias; then  orig=/home/roy/tools-evbmips/lib/charset.alias;  sed -f ref-add.sed $orig > $temp;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 $temp $dest;  rm -f $temp;  else  if test no = no; then  orig=charset.alias;  sed -f ref-add.sed $orig > $temp;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 $temp $dest;  rm -f $temp;  fi;  fi;  /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/share/locale;  test -f /home/roy/tools-evbmips/share/locale/locale.alias  && orig=/home/roy/tools-evbmips/share/locale/locale.alias  || orig=/home/roy/src/src/tools/texinfo/../../external/gpl2/texi
 nfo/dist/intl/locale.alias;  temp=/home/roy/tools-evbmips/share/locale/t-locale.alias;  dest=/home/roy/tools-evbmips/share/locale/locale.alias;  sed -f ref-add.sed $orig > $temp;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 $temp $dest;  rm -f $temp;  else  : ;  fi
if test "texinfo" = "gettext-tools"; then  /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/share/gettext/intl;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 VERSION /home/roy/tools-evbmips/share/gettext/intl/VERSION;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 ChangeLog.inst /home/roy/tools-evbmips/share/gettext/intl/ChangeLog;  dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in  config.charset locale.alias ref-add.sin ref-del.sin gmo.h  gettextP.h  hash-string.h  loadinfo.h  plural-exp.h  eval-plural.h  localcharset.h  relocatable.h  xsize.h  printf-args.h printf-args.c  printf-parse.h wprintf-parse.h printf-parse.c  vasnprintf.h vasnwprintf.h vasnprintf.c  os2compat.h  libgnuintl.h.in bindtextdom.c  dcgettext.c  dgettext.c  gettext.c  finddomain.c  loadmsgcat.c  localealias.c  textdomain.c  l10nflist.c  explodename.c  dcigettext.c  dcngettext.c  dngettext.c  ngettext.c  plur
 al.y  plural-exp.c  localcharset.c  relocatable.c  localename.c  log.c  printf.c  osdep.c  os2compat.c  intl-compat.c";  for file in $dists; do  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/intl/$file  /home/roy/tools-evbmips/share/gettext/intl/$file;  done;  chmod a+x /home/roy/tools-evbmips/share/gettext/intl/config.charset;  dists="plural.c";  for file in $dists; do  if test -f $file; then dir=.; else dir=/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/intl; fi;  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 $dir/$file  /home/roy/tools-evbmips/share/gettext/intl/$file;  done;  dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c  COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h";  for file in $dists; do  rm -f /home/roy/tools-evbmips/share/gettext/intl/$file;  done;  else  : ;  fi
Making install in m4
Making install in lib
Making install in makeinfo
Making install in tests
test -z "/home/roy/tools-evbmips/bin" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/bin"
  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r 'makeinfo' '/home/roy/tools-evbmips/bin/nbmakeinfo'
Making install in po
/bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/share
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/cs.gmo as /home/roy/tools-evbmips/share/locale/cs/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/da.gmo as /home/roy/tools-evbmips/share/locale/da/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/de.gmo as /home/roy/tools-evbmips/share/locale/de/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/de_AT.gmo as /home/roy/tools-evbmips/share/locale/de_AT/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/eo.gmo as /home/roy/tools-evbmips/share/locale/eo/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/fr.gmo as /home/roy/tools-evbmips/share/locale/fr/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/he.gmo as /home/roy/tools-evbmips/share/locale/he/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/hr.gmo as /home/roy/tools-evbmips/share/locale/hr/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/ja.gmo as /home/roy/tools-evbmips/share/locale/ja/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/nl.gmo as /home/roy/tools-evbmips/share/locale/nl/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/nb.gmo as /home/roy/tools-evbmips/share/locale/nb/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/no.gmo as /home/roy/tools-evbmips/share/locale/no/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/pl.gmo as /home/roy/tools-evbmips/share/locale/pl/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/ro.gmo as /home/roy/tools-evbmips/share/locale/ro/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/ru.gmo as /home/roy/tools-evbmips/share/locale/ru/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/sv.gmo as /home/roy/tools-evbmips/share/locale/sv/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/tr.gmo as /home/roy/tools-evbmips/share/locale/tr/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/zh_CN.gmo as /home/roy/tools-evbmips/share/locale/zh_CN/LC_MESSAGES/texinfo.mo
installing /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/zh_TW.gmo as /home/roy/tools-evbmips/share/locale/zh_TW/LC_MESSAGES/texinfo.mo
if test "texinfo" = "gettext-tools"; then  /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs /home/roy/tools-evbmips/share/gettext/po;  for file in Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/po/$file  /home/roy/tools-evbmips/share/gettext/po/$file;  done;  for file in Makevars; do  rm -f /home/roy/tools-evbmips/share/gettext/po/$file;  done;  else  : ;  fi
Making install in util
test -z "/home/roy/tools-evbmips/bin" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/bin"
  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r 'ginstall-info' '/home/roy/tools-evbmips/bin/nbinstall-info'
  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r 'texindex' '/home/roy/tools-evbmips/bin/nbtexindex'
test -z "/home/roy/tools-evbmips/bin" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/bin"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/util/texi2dvi' '/home/roy/tools-evbmips/bin/nbtexi2dvi'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/util/texi2pdf' '/home/roy/tools-evbmips/bin/nbtexi2pdf'
test -z "/home/roy/tools-evbmips/share/texinfo" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/share/texinfo"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/util/texinfo.dtd' '/home/roy/tools-evbmips/share/texinfo/texinfo.dtd'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/util/texinfo.xsl' '/home/roy/tools-evbmips/share/texinfo/texinfo.xsl'
test -z "/home/roy/tools-evbmips/share/texinfo" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/share/texinfo"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 'texinfo.cat' '/home/roy/tools-evbmips/share/texinfo/texinfo.cat'
Making install in doc

WARNING: If your texmf tree does not already contain
         up-to-date versions, you must install
             texinfo.tex and txi-??.tex manually,
         perhaps in TEXMF/tex/texinfo/,
         where TEXMF is a root of your TeX tree.
         See doc/README for some considerations.
         You can run make TEXMF=/your/texmf install-tex to do this.

         You may also need to install epsf.tex and (if you
         use pdftex) pdfcolor.tex in TEXMF/tex/generic/dvips
         and TEXMF/pdftex/plain/misc/pdfcolor.tex respectively,
         if your TeX installation did not include them.
test -z "/home/roy/tools-evbmips/info" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/info"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './texinfo' '/home/roy/tools-evbmips/info/texinfo'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './texinfo-1' '/home/roy/tools-evbmips/info/texinfo-1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './texinfo-2' '/home/roy/tools-evbmips/info/texinfo-2'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './texinfo-3' '/home/roy/tools-evbmips/info/texinfo-3'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './info-stnd.info' '/home/roy/tools-evbmips/info/info-stnd.info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 './info.info' '/home/roy/tools-evbmips/info/info.info'
 install-info --info-dir='/home/roy/tools-evbmips/info' '/home/roy/tools-evbmips/info/texinfo'
 install-info --info-dir='/home/roy/tools-evbmips/info' '/home/roy/tools-evbmips/info/info-stnd.info'
 install-info --info-dir='/home/roy/tools-evbmips/info' '/home/roy/tools-evbmips/info/info.info'
test -z "/home/roy/tools-evbmips/man/man1" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/man/man1"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/info.1' '/home/roy/tools-evbmips/man/man1/nbinfo.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/infokey.1' '/home/roy/tools-evbmips/man/man1/nbinfokey.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/install-info.1' '/home/roy/tools-evbmips/man/man1/nbinstall-info.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/makeinfo.1' '/home/roy/tools-evbmips/man/man1/nbmakeinfo.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/texindex.1' '/home/roy/tools-evbmips/man/man1/nbtexindex.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/texi2dvi.1' '/home/roy/tools-evbmips/man/man1/nbtexi2dvi.1'
test -z "/home/roy/tools-evbmips/man/man5" || /bin/sh /home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/mkinstalldirs "/home/roy/tools-evbmips/man/man5"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/info.5' '/home/roy/tools-evbmips/man/man5/nbinfo.5'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/texinfo/../../external/gpl2/texinfo/dist/doc/texinfo.5' '/home/roy/tools-evbmips/man/man5/nbtexinfo.5'
dependall-tic ===> .
dependall ===> tic
install-tic ===> .
install ===> tic
dependall-pax ===> .
dependall ===> pax
install-pax ===> .
install ===> pax
dependall-gmake ===> .
dependall ===> gmake
install-gmake ===> .
install ===> gmake
Making install in glob
Making install in config
Making install in po
if test "make" = "gettext-tools"; then  /bin/sh /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config/mkinstalldirs /home/roy/tools-evbmips/share/gettext/po;  for file in Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/po/$file  /home/roy/tools-evbmips/share/gettext/po/$file;  done;  for file in Makevars; do  rm -f /home/roy/tools-evbmips/share/gettext/po/$file;  done;  else  : ;  fi
Making install in doc
test -z "/home/roy/tools-evbmips/info" || /bin/sh /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config/mkinstalldirs "/home/roy/tools-evbmips/info"
 install-info --info-dir='/home/roy/tools-evbmips/info' '/home/roy/tools-evbmips/info/make.info'
install-info: No such file or directory for /home/roy/tools-evbmips/info/make.info
NOT REBUILDING /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config.h.in
NOT REBUILDING /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config.h.in
test -z "/home/roy/tools-evbmips/bin" || /bin/sh /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config/mkinstalldirs "/home/roy/tools-evbmips/bin"
  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r 'make' '/home/roy/tools-evbmips/bin/nbgmake'
test -z "/home/roy/tools-evbmips/man/man1" || /bin/sh /home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/config/mkinstalldirs "/home/roy/tools-evbmips/man/man1"
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/gmake/../../external/gpl2/gmake/dist/make.1' '/home/roy/tools-evbmips/man/man1/nbgmake.1'
dependall-gmp ===> .
dependall ===> gmp
install-gmp ===> .
install ===> gmp
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/gmp/../Makefile.gnuwrap  install-recursive
Making install in tests
Making install in .
Making install in devel
Making install in mpn
Making install in mpz
Making install in mpq
Making install in mpf
Making install in rand
Making install in misc
Making install in cxx
Making install in mpn
Making install in mpz
Making install in mpq
Making install in mpf
Making install in printf
Making install in scanf
Making install in rand
Making install in cxx
Making install in demos
Making install in calc
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/gmp/../Makefile.gnuwrap  install-am
Making install in expr
Making install in tune
Making install in doc
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/gmp/../../external/lgpl3/gmp/dist/doc/gmp.info /home/roy/src/src/tools/gmp/../../external/lgpl3/gmp/dist/doc/gmp.info-1 /home/roy/src/src/tools/gmp/../../external/lgpl3/gmp/dist/doc/gmp.info-2 '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/gmp.info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/lib'
 /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r   libgmp.la '/home/roy/tools-evbmips/lib'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libgmp.lai /home/roy/tools-evbmips/lib/libgmp.la
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libgmp.a /home/roy/tools-evbmips/lib/libgmp.a
libtool: install: chmod 644 /home/roy/tools-evbmips/lib/libgmp.a
libtool: install: ranlib /home/roy/tools-evbmips/lib/libgmp.a
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/include'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 gmp.h '/home/roy/tools-evbmips/include'
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/gmp/../Makefile.gnuwrap  install-data-hook

+-------------------------------------------------------------+
| CAUTION:                                                    |
|                                                             |
| If you have not already run "make check", then we strongly  |
| recommend you do so.                                        |
|                                                             |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs.  GMP tends to |
| explore interesting corners in compilers and has hit bugs   |
| on quite a few occasions.                                   |
|                                                             |
+-------------------------------------------------------------+

dependall-mpfr ===> .
dependall ===> mpfr
install-mpfr ===> .
install ===> mpfr
Making install in doc
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/doc/mpfr'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/doc/FAQ.html '/home/roy/tools-evbmips/share/doc/mpfr'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/doc/mpfr.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/mpfr.info'
Making install in src
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/mpfr/../Makefile.gnuwrap  install-am
NOT REBUILDING /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/src/get_patches.c
NOT REBUILDING /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/src/get_patches.c
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/lib'
 /bin/sh ../libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r   libmpfr.la '/home/roy/tools-evbmips/lib'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libmpfr.lai /home/roy/tools-evbmips/lib/libmpfr.la
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libmpfr.a /home/roy/tools-evbmips/lib/libmpfr.a
libtool: install: chmod 644 /home/roy/tools-evbmips/lib/libmpfr.a
libtool: install: ranlib /home/roy/tools-evbmips/lib/libmpfr.a
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/include'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/src/mpfr.h /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/src/mpf2mpfr.h '/home/roy/tools-evbmips/include'
Making install in tests
Making install in tune
Making install in tools/bench
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/doc/mpfr'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/doc/mpfr/examples'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644  /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/ReadMe /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/divworst.c /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/rndo-add.c /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/sample.c /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/version.c /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/examples/can_round.c '/home/roy/tools-evbmips/share/doc/mpfr/examples'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644  /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/AUTHORS /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/BUGS /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/COPYING /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/COPYING.LESSER /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/NEWS /home/roy/src/src/tools/mpfr/../../external/lgpl3/mpfr/dist/TODO '/home/roy/tools-evbmips/share/doc/mpfr/.'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/lib/pkgconfig'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 mpfr.pc '/home/roy/tools-evbmips/lib/pkgconfig'
dependall-mpc ===> .
dependall ===> mpc
install-mpc ===> .
install ===> mpc
Making install in src
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/lib'
 /bin/sh ../libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r   libmpc.la '/home/roy/tools-evbmips/lib'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libmpc.lai /home/roy/tools-evbmips/lib/libmpc.la
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/libmpc.a /home/roy/tools-evbmips/lib/libmpc.a
libtool: install: chmod 644 /home/roy/tools-evbmips/lib/libmpc.a
libtool: install: ranlib /home/roy/tools-evbmips/lib/libmpc.a
Making install in tests
Making install in doc
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/mpc/../../external/lgpl3/mpc/dist/doc/mpc.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/mpc.info'
Making install in tools
Making install in bench
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/include'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/mpc/../../external/lgpl3/mpc/dist/src/mpc.h '/home/roy/tools-evbmips/include'
dependall-binutils ===> .
dependall ===> binutils
install-binutils ===> .
install ===> binutils
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/mkinstalldirs /home/roy/tools-evbmips  /home/roy/tools-evbmips
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/binutils/../Makefile.gnuwrap  install-recursive
Making install in doc
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/bfd/doc/bfd.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/bfd.info'
Making install in po
Making install in .
Making install in po
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/binutils/../Makefile.gnuwrap  install-recursive
Making install in doc
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/binutils.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/binutils.info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/man/man1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/addr2line.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-addr2line.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/ar.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-ar.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/dlltool.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-dlltool.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/nlmconv.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-nlmconv.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/nm.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-nm.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/objcopy.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-objcopy.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/objdump.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-objdump.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/ranlib.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-ranlib.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/readelf.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-readelf.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/size.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-size.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/strings.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-strings.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/strip.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-strip.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/elfedit.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-elfedit.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/windres.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-windres.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/doc/windmc.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-windmc.1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 'c++filt.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-c++filt.1'
Making install in po
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/bin'
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r size '/home/roy/tools-evbmips/bin/./mips64--netbsd-size'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r size /home/roy/tools-evbmips/bin/./mips64--netbsd-size
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r objdump '/home/roy/tools-evbmips/bin/./mips64--netbsd-objdump'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r objdump /home/roy/tools-evbmips/bin/./mips64--netbsd-objdump
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ar '/home/roy/tools-evbmips/bin/./mips64--netbsd-ar'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ar /home/roy/tools-evbmips/bin/./mips64--netbsd-ar
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r strings '/home/roy/tools-evbmips/bin/./mips64--netbsd-strings'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r strings /home/roy/tools-evbmips/bin/./mips64--netbsd-strings
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ranlib '/home/roy/tools-evbmips/bin/./mips64--netbsd-ranlib'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ranlib /home/roy/tools-evbmips/bin/./mips64--netbsd-ranlib
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r objcopy '/home/roy/tools-evbmips/bin/./mips64--netbsd-objcopy'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r objcopy /home/roy/tools-evbmips/bin/./mips64--netbsd-objcopy
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r addr2line '/home/roy/tools-evbmips/bin/./mips64--netbsd-addr2line'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r addr2line /home/roy/tools-evbmips/bin/./mips64--netbsd-addr2line
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r readelf '/home/roy/tools-evbmips/bin/./mips64--netbsd-readelf'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r readelf /home/roy/tools-evbmips/bin/./mips64--netbsd-readelf
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r elfedit '/home/roy/tools-evbmips/bin/./mips64--netbsd-elfedit'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r elfedit /home/roy/tools-evbmips/bin/./mips64--netbsd-elfedit
  /bin/sh ./libtool  --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r nm-new /home/roy/tools-evbmips/bin/mips64--netbsd-nm
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r nm-new /home/roy/tools-evbmips/bin/mips64--netbsd-nm
  /bin/sh ./libtool  --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r strip-new /home/roy/tools-evbmips/bin/mips64--netbsd-strip
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r strip-new /home/roy/tools-evbmips/bin/mips64--netbsd-strip
  /bin/sh ./libtool  --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r cxxfilt /home/roy/tools-evbmips/bin/mips64--netbsd-c++filt
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r cxxfilt /home/roy/tools-evbmips/bin/mips64--netbsd-c++filt
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/binutils/../mkinstalldirs /home/roy/tools-evbmips/mips64--netbsd/bin
for i in nm-new strip-new ar ranlib dlltool objdump objcopy readelf; do  if [ -f $i ]; then  j=`echo $i | sed -e 's/-new//'`;  k=`echo $j | sed 's,^,mips64--netbsd-,'`;  if [ "/home/roy/tools-evbmips/bin/$k" != "/home/roy/tools-evbmips/mips64--netbsd/bin/$j" ]; then  rm -f /home/roy/tools-evbmips/mips64--netbsd/bin/$j;  ln /home/roy/tools-evbmips/bin/$k /home/roy/tools-evbmips/mips64--netbsd/bin/$j >/dev/null 2>/dev/null  ||  /bin/sh ./libtool --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r $i /home/roy/tools-evbmips/mips64--netbsd/bin/$j;  fi;  else true;  fi;  done
Making install in doc
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/doc/as.1
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/doc/as.info
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/doc/as.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/as.info'
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/doc/as.1
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/man/man1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/doc/as.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-as.1'
Making install in po
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/../mkinstalldirs /home/roy/tools-evbmips/bin
  /bin/sh ./libtool  --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r as-new /home/roy/tools-evbmips/bin/mips64--netbsd-as
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r as-new /home/roy/tools-evbmips/bin/mips64--netbsd-as
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/gas/../mkinstalldirs /home/roy/tools-evbmips/mips64--netbsd/bin
n=`echo as | sed 's,^,mips64--netbsd-,'`;  if [ "/home/roy/tools-evbmips/bin/$n" != "/home/roy/tools-evbmips/mips64--netbsd/bin/as" ]; then  rm -f /home/roy/tools-evbmips/mips64--netbsd/bin/as;  ln /home/roy/tools-evbmips/bin/$n /home/roy/tools-evbmips/mips64--netbsd/bin/as >/dev/null 2>/dev/null  ||  /bin/sh ./libtool --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r as-new /home/roy/tools-evbmips/mips64--netbsd/bin/as;  else  true ;  fi
/home/roy/tools-evbmips/bin/nbmake  -f /home/roy/src/src/tools/binutils/../Makefile.gnuwrap  install-recursive
Making install in po
NOT REBUILDING configdoc.texi
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.info
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.1
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/bin'
  /bin/sh ./libtool   --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ld-new '/home/roy/tools-evbmips/bin/./mips64--netbsd-ld.bfd'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ld-new /home/roy/tools-evbmips/bin/./mips64--netbsd-ld.bfd
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/../mkinstalldirs /home/roy/tools-evbmips/mips64--netbsd/bin
n=`echo ld.bfd | sed 's/^ld-new$/ld.bfd/;s,^,mips64--netbsd-,'`;  if test "/home/roy/tools-evbmips/bin" != "/home/roy/tools-evbmips/mips64--netbsd/bin"; then  rm -f /home/roy/tools-evbmips/mips64--netbsd/bin/ld.bfd;  ln /home/roy/tools-evbmips/bin/$n /home/roy/tools-evbmips/mips64--netbsd/bin/ld.bfd >/dev/null 2>/dev/null  ||  /bin/sh ./libtool --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ld-new /home/roy/tools-evbmips/mips64--netbsd/bin/ld.bfd;  fi;  if test "xyes" = "xyes"; then  ld=`echo ld | sed 's/^ld-new$/ld.bfd/;s,^,mips64--netbsd-,'`;  rm -f /home/roy/tools-evbmips/bin/$ld;  ln /home/roy/tools-evbmips/bin/$n /home/roy/tools-evbmips/bin/$ld >/dev/null 2>/dev/null  ||  /bin/sh ./libtool --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ld-new /home/roy/tools-evbmips/bin/$ld;  if test "/home/roy/tools-evbmips/bin" != "/home/roy/tools-evbmips/mips64--netbsd/bin"; then  rm -f /home/roy/tools-evbmips/mips64--netbsd/bin/ld;  ln 
 /home/roy/tools-evbmips/bin/$n /home/roy/tools-evbmips/mips64--netbsd/bin/ld >/dev/null 2>/dev/null  ||  /bin/sh ./libtool --mode=install /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r ld-new /home/roy/tools-evbmips/mips64--netbsd/bin/ld;  fi;  fi
/bin/sh /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/../mkinstalldirs /home/roy/tools-evbmips/mips64--netbsd/lib/ldscripts
for f in ldscripts/* ; do  /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 $f /home/roy/tools-evbmips/mips64--netbsd/lib/$f ;  done
NOT REBUILDING configdoc.texi
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.info
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/info'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.info '/home/roy/tools-evbmips/share/info'
 install-info --info-dir='/home/roy/tools-evbmips/share/info' '/home/roy/tools-evbmips/share/info/ld.info'
NOT REBUILDING /home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.1
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -d -p '/home/roy/tools-evbmips/share/man/man1'
 /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r -m 644 '/home/roy/src/src/tools/binutils/../../external/gpl3/binutils.old/dist/ld/ld.1' '/home/roy/tools-evbmips/share/man/man1/mips64--netbsd-ld.1'
dependall-gcc ===> .
dependall ===> gcc
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/libiberty'
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/libiberty'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin'
/home/roy/tools-evbmips/bin/nbgmake  all-am
nbgmake[2]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin'
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/liblto_plugin.so.0.0 /home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin/../gcc/liblto_plugin.so.0.0
libtool: install: (cd /home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin/../gcc && { ln -s -f liblto_plugin.so.0.0 liblto_plugin.so.0 || { rm -f liblto_plugin.so.0 && ln -s liblto_plugin.so.0.0 liblto_plugin.so.0; }; })
libtool: install: (cd /home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin/../gcc && { ln -s -f liblto_plugin.so.0.0 liblto_plugin.so || { rm -f liblto_plugin.so && ln -s liblto_plugin.so.0.0 liblto_plugin.so; }; })
libtool: install: /home/roy/tools-evbmips/bin/mips64--netbsd-install -c -p -r .libs/liblto_plugin.lai /home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin/../gcc/liblto_plugin.la
libtool: install: warning: remember to run `libtool --finish /home/roy/tools-evbmips/libexec/gcc/mips64--netbsd/6.4.0'
nbgmake[2]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin'
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/lto-plugin'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/intl'
nbgmake[1]: Nothing to be done for `all'.
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/intl'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/libiberty'
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/libiberty'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/fixincludes'
nbgmake[1]: Nothing to be done for `all'.
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/fixincludes'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/libcpp'
test -f config.h || (rm -f stamp-h1 && /home/roy/tools-evbmips/bin/nbgmake stamp-h1)
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/build-x86_64-unknown-netbsd8.99/libcpp'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/libbacktrace'
/home/roy/tools-evbmips/bin/nbgmake  all-am
nbgmake[2]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/libbacktrace'
true  DO=all multi-do # /home/roy/tools-evbmips/bin/nbgmake
nbgmake[2]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/libbacktrace'
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/libbacktrace'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/libcpp'
test -f config.h || (rm -f stamp-h1 && /home/roy/tools-evbmips/bin/nbgmake stamp-h1)
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/libcpp'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/libdecnumber'
nbgmake[1]: Nothing to be done for `all'.
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/libdecnumber'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/fixincludes'
nbgmake[1]: Nothing to be done for `all'.
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/fixincludes'
nbgmake[1]: Entering directory `/home/roy/obj/src-evbmips/tools/gcc/build/gcc'
c++ -c   -O -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc -I/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/build -I/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../include  -I/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/../libcpp/include -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0  -DTARGET_SYSTEM_ROOT_RELOCATABLE \
		-o build/gencondmd.o build/gencondmd.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from build/gencondmd.c:6:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/system.h:208:
In file included from /usr/include/c++/string:437:
/usr/include/c++/cstdio:114:8: error: visibility does not match previous declaration
inline _LIBCPP_INLINE_VISIBILITY int getc(FILE* __stream) {return __libcpp_getc(__stream);}
       ^
/usr/include/c++/__config:220:51: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__))
                                                  ^
/usr/include/stdio.h:222:1: note: previous attribute is here
__BEGIN_DECLS
^
/usr/include/sys/cdefs.h:365:24: note: expanded from macro '__BEGIN_DECLS'
#define __BEGIN_DECLS           __BEGIN_PUBLIC_DECLS
                                ^
/usr/include/sys/cdefs.h:346:2: note: expanded from macro '__BEGIN_PUBLIC_DECLS'
        _Pragma("GCC visibility push(default)") __BEGIN_EXTERN_C
        ^
<scratch space>:6:6: note: expanded from here
 GCC visibility push(default)
     ^
In file included from build/gencondmd.c:6:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/system.h:208:
In file included from /usr/include/c++/string:437:
/usr/include/c++/cstdio:120:8: error: visibility does not match previous declaration
inline _LIBCPP_INLINE_VISIBILITY int putc(int __c, FILE* __stream) {return __libcpp_putc(__c, __stream);}
       ^
/usr/include/c++/__config:220:51: note: expanded from macro '_LIBCPP_INLINE_VISIBILITY'
#define _LIBCPP_INLINE_VISIBILITY __attribute__ ((__visibility__("hidden"), __always_inline__))
                                                  ^
/usr/include/stdio.h:222:1: note: previous attribute is here
__BEGIN_DECLS
^
/usr/include/sys/cdefs.h:365:24: note: expanded from macro '__BEGIN_DECLS'
#define __BEGIN_DECLS           __BEGIN_PUBLIC_DECLS
                                ^
/usr/include/sys/cdefs.h:346:2: note: expanded from macro '__BEGIN_PUBLIC_DECLS'
        _Pragma("GCC visibility push(default)") __BEGIN_EXTERN_C
        ^
<scratch space>:6:6: note: expanded from here
 GCC visibility push(default)
     ^
In file included from build/gencondmd.c:22:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags]
class rtx_def;
^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/coretypes.h:55:8: note: previous use is here
struct rtx_def;
       ^
In file included from build/gencondmd.c:25:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:29:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/wide-int.h:1112:1: warning: 'fixed_wide_int_storage' defined as a class template here but previously declared as a struct template [-Wmismatched-tags]
class GTY(()) fixed_wide_int_storage
^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/wide-int.h:279:18: note: did you mean class here?
template <int N> struct fixed_wide_int_storage;
                 ^~~~~~
                 class
In file included from build/gencondmd.c:25:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:35:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/hash-table.h:235:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags]
static inline struct rtx_def *
              ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from build/gencondmd.c:25:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:35:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/hash-table.h:235:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/coretypes.h:62:7: note: previous use is here
class rtx_def;
      ^
In file included from build/gencondmd.c:25:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:35:
In file included from /home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/hash-table.h:560:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct mem_usage
^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/hash-table.h:341:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
In file included from build/gencondmd.c:25:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct GTY((desc("0"), tag("0"),
^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/coretypes.h:62:1: note: did you mean struct here?
class rtx_def;
^~~~~
struct
In file included from build/gencondmd.c:25:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1333:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  rtx tmp = XEXP (this, 1);
            ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1346:13: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  rtx tmp = XEXP (this, 1);
            ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1408:14: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  rtx next = XEXP (insn, 1);
             ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1414:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XEXP (insn, 1);
         ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1419:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XBBDEF (insn, 2);
         ^             ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1286:25: note: expanded from macro 'XBBDEF'
#define XBBDEF(RTX, N)  (RTL_CHECK1 (RTX, N, 'B').rt_bb)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1170:38: note: expanded from macro 'RTL_CHECK1'
#define RTL_CHECK1(RTX, N, C1)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1424:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XBBDEF (insn, 2);
         ^             ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1286:25: note: expanded from macro 'XBBDEF'
#define XBBDEF(RTX, N)  (RTL_CHECK1 (RTX, N, 'B').rt_bb)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1170:38: note: expanded from macro 'RTL_CHECK1'
#define RTL_CHECK1(RTX, N, C1)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1435:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XEXP (insn, 3);
         ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1440:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XEXP (insn, 3);
         ^           ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1282:23: note: expanded from macro 'XEXP'
#define XEXP(RTX, N)    (RTL_CHECK2 (RTX, N, 'e', 'u').rt_rtx)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1445:10: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XUINT (insn, 4);
         ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1280:26: note: expanded from macro 'XUINT'
#define XUINT(RTX, N)   (RTL_CHECK2 (RTX, N, 'i', 'n').rt_uint)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1450:10: warning: array index 4 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return XUINT (insn, 4);
         ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1280:26: note: expanded from macro 'XUINT'
#define XUINT(RTX, N)   (RTL_CHECK2 (RTX, N, 'i', 'n').rt_uint)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1473:12: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
    return XVEC (pat, 1); /* presumably an ADDR_DIFF_VEC */
           ^          ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1283:23: note: expanded from macro 'XVEC'
#define XVEC(RTX, N)    (RTL_CHECK2 (RTX, N, 'E', 'V').rt_rtvec)
                         ^                ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1171:38: note: expanded from macro 'RTL_CHECK2'
#define RTL_CHECK2(RTX, N, C1, C2)  ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1736:34: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return safe_as_a <rtx_insn *> (JUMP_LABEL (insn));
                                 ^~~~~~~~~~~~~~~~~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1732:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN)   XCEXP (INSN, 7, JUMP_INSN)
                           ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1315:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1172:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1743:10: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return JUMP_LABEL (this);
         ^~~~~~~~~~~~~~~~~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1732:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN)   XCEXP (INSN, 7, JUMP_INSN)
                           ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1315:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1172:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1748:40: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
  return safe_as_a <rtx_code_label *> (JUMP_LABEL (this));
                                       ^~~~~~~~~~~~~~~~~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1732:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN)   XCEXP (INSN, 7, JUMP_INSN)
                           ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1315:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1172:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1753:3: warning: array index 7 is past the end of the array (which contains 1 element) [-Warray-bounds]
  JUMP_LABEL (this) = target;
  ^~~~~~~~~~~~~~~~~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1732:28: note: expanded from macro 'JUMP_LABEL'
#define JUMP_LABEL(INSN)   XCEXP (INSN, 7, JUMP_INSN)
                           ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1315:32: note: expanded from macro 'XCEXP'
#define XCEXP(RTX, N, C)      (RTL_CHECKC1 (RTX, N, C).rt_rtx)
                               ^                 ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1172:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1991:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
                       SUBREG_BYTE (x), GET_MODE (x));
                       ^~~~~~~~~~~~~~~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1869:26: note: expanded from macro 'SUBREG_BYTE'
#define SUBREG_BYTE(RTX) XCUINT (RTX, 1, SUBREG)
                         ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1313:32: note: expanded from macro 'XCUINT'
#define XCUINT(RTX, N, C)     (RTL_CHECKC1 (RTX, N, C).rt_uint)
                               ^                 ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:1172:37: note: expanded from macro 'RTL_CHECKC1'
#define RTL_CHECKC1(RTX, N, C)      ((RTX)->u.fld[N])
                                     ^            ~
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/rtl.h:416:5: note: array 'fld' declared here
    rtunion fld[1];
    ^
In file included from build/gencondmd.c:37:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/recog.h:355:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if HAVE_DESIGNATED_UNION_INITIALIZERS
    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/system.h:594:9: note: expanded from macro 'HAVE_DESIGNATED_UNION_INITIALIZERS'
   && (!defined(__cplusplus) || (GCC_VERSION >= 4007)))
        ^
In file included from build/gencondmd.c:38:
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes]
     ATTRIBUTE_ASM_FPRINTF(2, 3);
     ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF'
#define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m)
                                                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2446:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2446:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2422:33: warning: self-comparison always evaluates to true [-Wtautological-compare]
(ISA_HAS_DMULT && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                                ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2422:33: warning: self-comparison always evaluates to true [-Wtautological-compare]
(ISA_HAS_DMULT && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                                ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2388:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2388:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2352:25: warning: self-comparison always evaluates to true [-Wtautological-compare]
       && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120)))
                        ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2352:25: warning: self-comparison always evaluates to true [-Wtautological-compare]
       && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120)))
                        ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2388:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120)) && 
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2388:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120)) && 
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2458:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
/home/roy/src/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/mips/mips.md:2458:21: warning: self-comparison always evaluates to true [-Wtautological-compare]
   && !(ZERO_EXTEND == ZERO_EXTEND && TARGET_FIX_VR4120))
                    ^
36 warnings and 2 errors generated.
nbgmake[1]: *** [build/gencondmd.o] Error 1
nbgmake[1]: Leaving directory `/home/roy/obj/src-evbmips/tools/gcc/build/gcc'
nbgmake: *** [all-gcc] Error 2

*** Failed target:  .build_done
*** Failed command: (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes gcc_cv_as_sparc_gotdata_op=no AR=ar AWK=/home/roy/tools-evbmips/bin/nbawk CC=cc CFLAGS=-O\ -O2\ -no-cpp-precomp CONFIG_SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/home/roy/tools-evbmips/bin/mips64--netbsd-install\ -c\ -p\ -r LDFLAGS= LEX=/home/roy/tools-evbmips/bin/nblex FLEX=/home/roy/tools-evbmips/bin/nblex M4=/home/roy/tools-evbmips/bin/nbm4 MAKE=/home/roy/tools-evbmips/bin/nbgmake PATH="/home/roy/tools-evbmips/bin:$PATH" RANLIB=ranlib YACC=/home/roy/tools-evbmips/bin/nbyacc MACHINE= MAKEINFO=/home/roy/tools-evbmips/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/home/roy/tools-evbmips/bin/mips64--netbsd-install\ -c\ -p\ -r /home/roy/tools-evbmips/bin/nbgmake -e MACHINE= MAKEINFO=/home/roy/tools-evbmips/bin/nbmakeinfo LIBGCC= LIB
 GCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/home/roy/tools-evbmips/bin/mips64--netbsd-install\ -c\ -p\ -r all-gcc)
*** Error code 2

Stop.
nbmake[3]: stopped in /home/roy/src/src/tools/gcc

*** Failed target:  dependall
*** Failed command: cd "/home/roy/src/src/tools/gcc"; /home/roy/tools-evbmips/bin/nbmake realall
*** Error code 1

Stop.
nbmake[2]: stopped in /home/roy/src/src/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/roy/src/src/tools" ;; *) this="${dir}/"; real="/home/roy/src/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/roy/tools-evbmips/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake[1]: stopped in /home/roy/src/src/tools

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/roy/src/src/tools" ;; *) this="${dir}/"; real="/home/roy/src/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/roy/tools-evbmips/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-gcc
*** Error code 1

Stop.
nbmake: stopped in /home/roy/src/src/tools

ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***
>How-To-Repeat:
/usr/bin/{cc,c++,cpp} point to clang equivalents
>Fix:
/usr/bin/{cc,c++,cpp} point to gcc

>Release-Note:

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
 as host compiler
Date: Sun, 11 Nov 2018 18:44:10 +0000

 So, one way for me to avoid this problem is the following patch:

 Index: dist/libcxx/include/__config
 ===================================================================
 RCS file: /cvsroot/src/external/bsd/libc++/dist/libcxx/include/__config,v
 retrieving revision 1.1.1.9
 diff -u -r1.1.1.9 __config
 --- dist/libcxx/include/__config	20 Aug 2015 09:31:48 -0000	1.1.1.9
 +++ dist/libcxx/include/__config	11 Nov 2018 18:38:55 -0000
 @@ -225,7 +225,7 @@
  #endif

  #ifndef _LIBCPP_ALWAYS_INLINE
 -#define _LIBCPP_ALWAYS_INLINE  __attribute__ ((__visibility__("hidden"), __always_inline__))
 +#define _LIBCPP_ALWAYS_INLINE  __attribute__ ((__always_inline__))
  #endif

  #if defined(__clang__)




 And a standalone case is:
 #include <stdio.h>
 inline __attribute__ ((__visibility__("hidden"), __always_inline__)) int getc(FILE* __stream) {return 0;}

 int main() { return 0; }



 Looks like things did get changed in upstream, but the commit messages
 talk about something else.

From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
Date: Sun, 11 Nov 2018 18:58:09 +0000

 Looks like this definition was introduced with:
 https://github.com/llvm-mirror/libcxx/commit/afcac1ac4625a3dfcf623809e8db6e4e460204a5

 But now libcxx trunk does #undef getc instead

From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
Date: Sun, 11 Nov 2018 19:10:50 +0000

 As for why we have a macro getc:

 https://nxr.netbsd.org/xref/src/include/stdio.h#470

 And this gets used for C++, which is probably not the author's
 intentions.

 Perhaps this is progress towards a correct patch:

 Index: stdio.h
 ===================================================================
 RCS file: /cvsroot/src/include/stdio.h,v
 retrieving revision 1.97
 diff -u -r1.97 stdio.h
 --- stdio.h	17 Mar 2016 00:42:49 -0000	1.97
 +++ stdio.h	11 Nov 2018 19:10:42 -0000
 @@ -467,7 +467,7 @@
  	else
  		return __swbuf(_c, _p);
  }
 -#else
 +#elif defined(__STDC__)
  /*
   * This has been tuned to generate reasonable code on the vax using pcc.
   */

From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
Date: Sun, 11 Nov 2018 21:26:15 +0000

 joerg is a veteran of GCC bullshit and notes the getc macro originates
 in GCC's system.h, so e.g. this works:

 Index: dist/gcc/system.h
 ===================================================================
 RCS file: /cvsroot/src/external/gpl3/gcc.old/dist/gcc/system.h,v
 retrieving revision 1.7
 diff -U 10 -r1.7 system.h
 --- dist/gcc/system.h	2 Aug 2018 00:02:49 -0000	1.7
 +++ dist/gcc/system.h	11 Nov 2018 21:25:49 -0000
 @@ -75,21 +75,21 @@
     I/O bound conditions (such as -g -O0 on very large source files).

     HAVE_DECL_PUTC_UNLOCKED actually indicates whether or not the stdio
     code is multi-thread safe by default.  If it is set to 0, then do
     not worry about using the _unlocked functions.

     fputs_unlocked, fwrite_unlocked, and fprintf_unlocked are
     extensions and need to be prototyped by hand (since we do not
     define _GNU_SOURCE).  */

 -#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
 +#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED && !defined(__cplusplus)

  # ifdef HAVE_PUTC_UNLOCKED
  #  undef putc
  #  define putc(C, Stream) putc_unlocked (C, Stream)
  # endif
  # ifdef HAVE_PUTCHAR_UNLOCKED
  #  undef putchar
  #  define putchar(C) putchar_unlocked (C)
  # endif
  # ifdef HAVE_GETC_UNLOCKED

From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, roy@marples.name
Subject: Re: bin/53709: cannot build evbmips64-eb tools with gcc using clang
Date: Mon, 12 Nov 2018 01:01:40 +0100

 On Sun, Nov 11, 2018 at 09:30:01PM +0000, coypu@sdf.org wrote:
 >  joerg is a veteran of GCC bullshit and notes the getc macro originates
 >  in GCC's system.h, so e.g. this works:

 My point is that cstdio should have been included at this point. Either
 by system.h itself or the caller. If it isn't, that's where the problems
 are coming from.

 Joerg

State-Changed-From-To: open->feedback
State-Changed-By: lukem@NetBSD.org
State-Changed-When: Fri, 19 May 2023 23:39:35 +0000
State-Changed-Why:

Is this still an issue for you?
I've managed to build the tools on macOS using clang++ 
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0

build.sh results:
	 NetBSD version:      10.99.4
	 MACHINE:             evbmips
	 MACHINE_ARCH:        mips64eb
	 Build platform:      Darwin 22.5.0 arm64
...
	 Tools built to /Users/lukem/NetBSD/obj/evbmips64-eb/tools
	 build.sh ended:      Sat May 20 00:38:13 BST 2023


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.