Subject: source tree build fails
To: None <port-amiga@netbsd.org>
From: DataZap <az@datazap.net>
List: port-amiga
Date: 07/10/2007 21:35:50
Hi,

I tried to build the NetBSD 4 source tree on my 2000 (blizzard 2060 and
128 megs of ram).

Here is the error I get:

#   compile  libc/fdopen.ln
CC=/usr/src/tooldir.NetBSD-4.0_BETA2-m68k/bin/m68k--netbsdelf-gcc
/usr/src/tooldir.NetBSD-4.0_BETA2-m68k/bin/m68k--netbsdelf-lint -chapbxzFS
-X 272 -d /usr/src/destdir.amiga/usr/include  -D_LIBC -DLIBC_SCCS
-DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP
-I/usr/src/lib/libc/include -I/usr/src/lib/libc -I/usr/src/sys
-I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib
-I/usr/src/lib/libc/../../common/lib/libc/quad
-I/usr/src/lib/libc/../../common/lib/libc/string
-I/usr/src/lib/libc/../../common/lib/libc/arch/m68k/string
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn
-I/usr/src/lib/libc/gdtoa -DNO_FENV_H -I/usr/src/lib/libc/arch/m68k/gdtoa
-DCITRUS_ICONV -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE
-DCOMPAT__RES -DPORTMAP -DALL_STATE -DUSG_COMPAT    -i
/usr/src/lib/libc/stdio/fdopen.c
nbmake in realloc(): error: brk(2) failed [internal error]
[1]   Abort trap (core dumped) /usr/src/tooldir...

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/libc;
/usr/src/tooldir.NetBSD-4.0_BETA2-m68k/bin/nbmake realall
*** Error code 134

Stop.
nbmake: stopped in /usr/src/lib/libc

*** Failed target:  do-lib-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/tooldir.NetBSD-4.0_BETA2-m68k/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib/libc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/src/tooldir.NetBSD-4.0_BETA2-m68k/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-lib-libc
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***

Is there a solution to this?

Thanks,
Al