Subject: Building -current on PowerMac G4
To: None <port-macppc@netbsd.org>
From: None <JiroutP@rferl.org>
List: port-macppc
Date: 09/22/2006 13:41:18
This is a multipart message in MIME format.
--=_alternative 0040363FC12571F1_=
Content-Type: text/plain; charset="US-ASCII"

Hi, 
I tried to build a current kernel today on my macppc NetBSD-3-1-RC2  but 
the build crashed, 
Any suggestions ? 

$> ./build.sh -m macppc -T /usr/src/macppctools tools kernel=GENERIC 

build/genattrtab 
/usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/rs6000.md > tm
p-attrtab.c

out of memory allocating 250000 bytes after a total of 134102632 bytes
nbgmake[1]: *** [s-attrtab] Error 1
nbgmake[1]: Leaving directory `/usr/obj/tools/gcc/build/gcc'
nbgmake: *** [all-gcc] Error 2

*** Failed target:  .build_done
*** Failed command: (cd build && /usr/bin/env -i CC=cc CFLAGS=-O CPPFLAGS= 
CXX=c++ CXXFL
AGS=-O INSTALL=/usr/src/macppctools/bin/nbinstall\ -c\ \ -r LDFLAGS= AR=ar 
RANLIB=ranlib
 LEX=/usr/src/macppctools/bin/nblex MAKE=/usr/src/macppctools/bin/nbgmake 
PATH="/usr/src
 /macppctools/bin:$PATH" YACC=/usr/src/macppctools/bin/nbyacc MACHINE= 
MAKEINFO=/usr/src/
 macppctools/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= 
INSTALL_LIBGCC= EXTRA
 _PARTS= CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/usr/src
 /macppctools/bin/nbinstall\ -c\ \ -r /usr/src/macppctools/bin/nbgmake -e 
MACHINE= MAKEIN
 FO=/usr/src/macppctools/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= 
LIBGCC2= INSTALL_L
 IBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib 
BISON=true DESTDIR= INST
 ALL=/usr/src/macppctools/bin/nbinstall\ -c\ \ -r all-gcc)
 *** Error code 2

 Stop.
 nbmake: stopped in /usr/src/tools/gcc

 *** Failed target:  dependall
 *** Failed command: cd /usr/src/tools/gcc; 
/usr/src/macppctools/bin/nbmake realall
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/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="/usr/src/tools" ;; *) this="
 ${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${
 show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/macppctools/bin/nbmake _THISDIR_="${
 this}" "$@" ${target}; }; _makedirtarget gcc dependall
 *** Error code 1

 Stop.
 nbmake: stopped in /usr/src/tools

 ERROR: Failed to make dependall tools
 *** BUILD ABORTED ***
--=_alternative 0040363FC12571F1_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi, &nbsp;</font>
<br><font size=2 face="sans-serif">I tried to build a current kernel today
on my macppc NetBSD-3-1-RC2 &nbsp;but the build crashed, </font>
<br><font size=2 face="sans-serif">Any suggestions ? </font>
<br>
<br><font size=2 face="sans-serif">$&gt; ./build.sh -m macppc -T /usr/src/macppctools
tools kernel=GENERIC </font>
<br>
<br><font size=2 face="sans-serif">build/genattrtab /usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/rs6000.md
&gt; tm</font>
<br><font size=2 face="sans-serif">p-attrtab.c</font>
<br>
<br><font size=2 face="sans-serif">out of memory allocating 250000 bytes
after a total of 134102632 bytes</font>
<br><font size=2 face="sans-serif">nbgmake[1]: *** [s-attrtab] Error 1</font>
<br><font size=2 face="sans-serif">nbgmake[1]: Leaving directory `/usr/obj/tools/gcc/build/gcc'</font>
<br><font size=2 face="sans-serif">nbgmake: *** [all-gcc] Error 2</font>
<br>
<br><font size=2 face="sans-serif">*** Failed target: &nbsp;.build_done</font>
<br><font size=2 face="sans-serif">*** Failed command: (cd build &amp;&amp;
/usr/bin/env -i CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFL</font>
<br><font size=2 face="sans-serif">AGS=-O INSTALL=/usr/src/macppctools/bin/nbinstall\
-c\ \ -r LDFLAGS= AR=ar RANLIB=ranlib</font>
<br><font size=2 face="sans-serif">&nbsp;LEX=/usr/src/macppctools/bin/nblex
MAKE=/usr/src/macppctools/bin/nbgmake PATH=&quot;/usr/src</font>
<br><font size=2 face="sans-serif">&nbsp;/macppctools/bin:$PATH&quot; YACC=/usr/src/macppctools/bin/nbyacc
MACHINE= MAKEINFO=/usr/src/</font>
<br><font size=2 face="sans-serif">&nbsp;macppctools/bin/nbmakeinfo LIBGCC=
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA</font>
<br><font size=2 face="sans-serif">&nbsp;_PARTS= CPPFLAGS=-DNETBSD_TOOLS
AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src</font>
<br><font size=2 face="sans-serif">&nbsp;/macppctools/bin/nbinstall\ -c\
\ -r /usr/src/macppctools/bin/nbgmake -e MACHINE= MAKEIN</font>
<br><font size=2 face="sans-serif">&nbsp;FO=/usr/src/macppctools/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_L</font>
<br><font size=2 face="sans-serif">&nbsp;IBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS
AR=ar RANLIB=ranlib BISON=true DESTDIR= INST</font>
<br><font size=2 face="sans-serif">&nbsp;ALL=/usr/src/macppctools/bin/nbinstall\
-c\ \ -r all-gcc)</font>
<br><font size=2 face="sans-serif">&nbsp;*** Error code 2</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;Stop.</font>
<br><font size=2 face="sans-serif">&nbsp;nbmake: stopped in /usr/src/tools/gcc</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;*** Failed target: &nbsp;dependall</font>
<br><font size=2 face="sans-serif">&nbsp;*** Failed command: cd /usr/src/tools/gcc;
/usr/src/macppctools/bin/nbmake realall</font>
<br><font size=2 face="sans-serif">&nbsp;*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;Stop.</font>
<br><font size=2 face="sans-serif">&nbsp;nbmake: stopped in /usr/src/tools/gcc</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;*** Failed target: &nbsp;dependall-gcc</font>
<br><font size=2 face="sans-serif">&nbsp;*** Failed command: _makedirtarget()
{ dir=&quot;$1&quot;; shift; target=&quot;$1&quot;; shift; case &quot;${dir}</font>
<br><font size=2 face="sans-serif">&nbsp;&quot; in /*) this=&quot;${dir}/&quot;;
real=&quot;${dir}&quot; ;; .) this=&quot;&quot;; real=&quot;/usr/src/tools&quot;
;; *) this=&quot;</font>
<br><font size=2 face="sans-serif">&nbsp;${dir}/&quot;; real=&quot;/usr/src/tools/${dir}&quot;
;; esac; show=${this:-.}; echo &quot;${target} ===&gt; ${</font>
<br><font size=2 face="sans-serif">&nbsp;show%/}${1:+ (with: $@)}&quot;;
cd &quot;${real}&quot; &amp;&amp; /usr/src/macppctools/bin/nbmake _THISDIR_=&quot;${</font>
<br><font size=2 face="sans-serif">&nbsp;this}&quot; &quot;$@&quot; ${target};
}; _makedirtarget gcc dependall</font>
<br><font size=2 face="sans-serif">&nbsp;*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;Stop.</font>
<br><font size=2 face="sans-serif">&nbsp;nbmake: stopped in /usr/src/tools</font>
<br>
<br><font size=2 face="sans-serif">&nbsp;ERROR: Failed to make dependall
tools</font>
<br><font size=2 face="sans-serif">&nbsp;*** BUILD ABORTED ***</font>
--=_alternative 0040363FC12571F1_=--