Current-Users archive

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

Building -current on sparc64 fails?



I started with Makefile.local.inc containing:

DESTDIR=/current
MKMAN=no
MKSHARE=no
NOINCLUDES=yes
MKX11=no

ran...
# ./build.sh -j4 -T /current/tooldir build
...
it produced the error below, removed "NOINCLUDES" line from Makefile.local.inc,
followed that with

# ./build.sh -u -j4 -T /current/tooldir build
...
--- crtbegin.o ---
#   compile  csu/crtbegin.o
/current/tooldir/bin/sparc64--netbsd-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/current/usr/src/obj/destdir.sparc64 -DELFSIZE=64 -I/current/usr/src/lib/csu/arch/sparc64 -I/current/usr/src/libexec/ld.elf_so -I/current/usr/src/lib/csu/common -I. -c -fPIE /current/usr/src/lib/csu/common/crtbegin.c -o crtbegin.o.o
--- sysident_assym.h ---
In file included from /tmp/genassym.20377a/assym.c:7:0:
/current/usr/src/obj/destdir.sparc64/usr/include/sys/exec_elf.h:46:22: fatal error: inttypes.h: No such file or directory
 #include <inttypes.h>
                      ^
compilation terminated.
--- gcrt0.o ---
/current/usr/src/lib/csu/common/crt0-common.c:45:20: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
                    ^
compilation terminated.
*** [gcrt0.o] Error code 1
nbmake[5]: stopped in /current/usr/src/lib/csu
--- crt0.o ---
/current/usr/src/lib/csu/common/crt0-common.c:45:20: fatal error: stdlib.h: No such file or directory
 #include <stdlib.h>
                    ^
compilation terminated.
--- sysident_assym.h ---
*** [sysident_assym.h] Error code 1
nbmake[5]: stopped in /current/usr/src/lib/csu
--- crt0.o ---
*** [crt0.o] Error code 1
nbmake[5]: stopped in /current/usr/src/lib/csu
--- crtbegin.o ---
/current/tooldir/bin/sparc64--netbsd-objcopy -x crtbegin.o.o crtbegin.o
rm -f crtbegin.o.o
3 errors
nbmake[5]: stopped in /current/usr/src/lib/csu
*** [dependall] Error code 2
nbmake[4]: stopped in /current/usr/src/lib/csu
1 error
nbmake[4]: stopped in /current/usr/src/lib/csu
*** Failed target:  dependall-csu
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/current/usr/src/lib" ;; *) this="lib/${dir}/"; real="/current/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /current/tooldir/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget csu dependall
*** Error code 2
Stop.
nbmake[3]: stopped in /current/usr/src/lib
*** [build_install] Error code 1
nbmake[2]: stopped in /current/usr/src/lib
1 error
nbmake[2]: stopped in /current/usr/src/lib
*** [do-lib] Error code 2
nbmake[1]: stopped in /current/usr/src
1 error
nbmake[1]: stopped in /current/usr/src
*** [build] Error code 2

nbmake: stopped in /current/usr/src
1 error

nbmake: stopped in /current/usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***
# cat Makefile.local.inc
DESTDIR=/current
MKMAN=no
MKSHARE=no
MKX11=no



Home | Main Index | Thread Index | Old Index