Port-m68k archive

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

cross compiling on Amiga


I would like to cross compile a macppc kernel with an Amiga 2000 with blizzard 2060. 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

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

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

nbmake: stopped in usr/src/tools

ERROR: Failed to make dependall tools

Is there any hope for making this work?


Home | Main Index | Thread Index | Old Index