Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

installing using serial console and cross compiling



Hi,

I am installing on a G4 Xserve. First of all, I would like to use a serial console to do the install. I have googled and I just can't seem to find this. What should my settings be? Also, should I be using minicom or is there something else that someone could recommend or is there something built into NetBSD?

Next, I have done an install and the system stops booting at root device. I tried building the cross compiler on a 68060 system running 4.0.1 with "./build.sh -m macppc -O /usr/obj --T /usr/tools tools", but it core dumped with:



build/genattrtab /usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/config/ rs6000/rs6000.md > tmp-attrtab.c
genattrtab in malloc(): error: brk(2) failed [internal error]
[1]  Abort trap (core dumped) build/genattrtab...
nbgmake[1]: *** [s-attrtab] error 134
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++ CXXFLAGS=-O INSTALL=/usr/tools/bin/powerpc--netbsd- install\ -c\ \ -r LDFLAGS= AR=ar RANLIB=ranlib LEX=/usr/tools/bin/ nblex MAKE=/usr/tools/bin/nbgmake PATH="/usr/tools/bin:$PATH" YACC=/ usr/tools/bin/nbyacc MACHINE= MAKEINFO=/usr/tools/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/tools/bin/powerpc--netbsd-install\ -c\ \ -r /usr/tools/ bin/nbgmake -e MACHINE= MAKEINFO=/usr/tools/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST=true DESTDIR= INSTALL=/usr/tools/bin/powerpc-- netbsd-install\ -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/tools/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} ===> $ {shotarget}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake: stopped in usr/src/tools

ERROR: Failed to make dependall tools
*** BUILD ABORTED ***



Also, where would I find info on what should be in /etc/mk.conf to optimize for a G4?

Thanks,
Al


Home | Main Index | Thread Index | Old Index