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, </font>
<br><font size=2 face="sans-serif">I tried to build a current kernel today
on my macppc NetBSD-3-1-RC2 but the build crashed, </font>
<br><font size=2 face="sans-serif">Any suggestions ? </font>
<br>
<br><font size=2 face="sans-serif">$> ./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
> 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: .build_done</font>
<br><font size=2 face="sans-serif">*** Failed command: (cd build &&
/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"> LEX=/usr/src/macppctools/bin/nblex
MAKE=/usr/src/macppctools/bin/nbgmake PATH="/usr/src</font>
<br><font size=2 face="sans-serif"> /macppctools/bin:$PATH" YACC=/usr/src/macppctools/bin/nbyacc
MACHINE= MAKEINFO=/usr/src/</font>
<br><font size=2 face="sans-serif"> macppctools/bin/nbmakeinfo LIBGCC=
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA</font>
<br><font size=2 face="sans-serif"> _PARTS= CPPFLAGS=-DNETBSD_TOOLS
AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src</font>
<br><font size=2 face="sans-serif"> /macppctools/bin/nbinstall\ -c\
\ -r /usr/src/macppctools/bin/nbgmake -e MACHINE= MAKEIN</font>
<br><font size=2 face="sans-serif"> FO=/usr/src/macppctools/bin/nbmakeinfo
LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_L</font>
<br><font size=2 face="sans-serif"> IBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS
AR=ar RANLIB=ranlib BISON=true DESTDIR= INST</font>
<br><font size=2 face="sans-serif"> ALL=/usr/src/macppctools/bin/nbinstall\
-c\ \ -r all-gcc)</font>
<br><font size=2 face="sans-serif"> *** Error code 2</font>
<br>
<br><font size=2 face="sans-serif"> Stop.</font>
<br><font size=2 face="sans-serif"> nbmake: stopped in /usr/src/tools/gcc</font>
<br>
<br><font size=2 face="sans-serif"> *** Failed target: dependall</font>
<br><font size=2 face="sans-serif"> *** Failed command: cd /usr/src/tools/gcc;
/usr/src/macppctools/bin/nbmake realall</font>
<br><font size=2 face="sans-serif"> *** Error code 1</font>
<br>
<br><font size=2 face="sans-serif"> Stop.</font>
<br><font size=2 face="sans-serif"> nbmake: stopped in /usr/src/tools/gcc</font>
<br>
<br><font size=2 face="sans-serif"> *** Failed target: dependall-gcc</font>
<br><font size=2 face="sans-serif"> *** Failed command: _makedirtarget()
{ dir="$1"; shift; target="$1"; shift; case "${dir}</font>
<br><font size=2 face="sans-serif"> " in /*) this="${dir}/";
real="${dir}" ;; .) this=""; real="/usr/src/tools"
;; *) this="</font>
<br><font size=2 face="sans-serif"> ${dir}/"; real="/usr/src/tools/${dir}"
;; esac; show=${this:-.}; echo "${target} ===> ${</font>
<br><font size=2 face="sans-serif"> show%/}${1:+ (with: $@)}";
cd "${real}" && /usr/src/macppctools/bin/nbmake _THISDIR_="${</font>
<br><font size=2 face="sans-serif"> this}" "$@" ${target};
}; _makedirtarget gcc dependall</font>
<br><font size=2 face="sans-serif"> *** Error code 1</font>
<br>
<br><font size=2 face="sans-serif"> Stop.</font>
<br><font size=2 face="sans-serif"> nbmake: stopped in /usr/src/tools</font>
<br>
<br><font size=2 face="sans-serif"> ERROR: Failed to make dependall
tools</font>
<br><font size=2 face="sans-serif"> *** BUILD ABORTED ***</font>
--=_alternative 0040363FC12571F1_=--