Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD-HEAD amd64 refuses to build
I keep failing in recent days to update NetBSD-HEAD amd64 from source,
Previous recent attempts resulted in internal compiler error.
This time, using build.sh as always, I added -V MKLLVM=yes and HAVE_LLVM=yes to
command line:
===> build.sh command: ./build.sh -m amd64 -M ../obj.amd64 -B nb20131209 -T
../tooldir.amd64 -V MKLLVM=yes -V HAVE_LLVM=yes -U -j 9 distribution
kernel=GENERIC
===> build.sh started: Mon Dec 9 05:17:03 UTC 2013
===> NetBSD version: 6.99.28
===> MACHINE: amd64
===> MACHINE_ARCH: x86_64
===> Build platform: NetBSD 6.99.23 amd64
===> HOST_SH: /bin/sh
===> MAKECONF file: /etc/mk.conf
===> TOOLDIR path: /BETA1/netbsd-HEAD/usr/src/../tooldir.amd64
===> DESTDIR path:
/BETA1/netbsd-HEAD/usr/src/../obj.amd64/BETA1/netbsd-HEAD/usr/src/destdir.amd64
I was subsequently successful building lang/clang from pkgsrc so I don't have
to rebuild clang every time with system source.
Then I could use HOST_CC=/usr/pkg/bin/clang
and HOST_CXX=/usr/pkg/bin/clang++
Was there a missing file (cassert) as the following final part of the log shows?
I could wait several days or longer and try again, perhaps from NetBSD
6.1_STABLE amd64, if that boots, or sojourn to FreeBSD now that I got my Hiro
USB wireless adapter to work (chip RTL8191SU, driver rsu).
I see that on http://nyftp/netbsd.org/cgi-bin/builds.cgi, the host machine is
NetBSD-6.0.1-PATCH amd64. That would be the reason to use my USB-stick
installation of 6.1_STABLE amd64.
Last part of log file follows, and I am seeing if I can send this from
NetBSD-6.99.23-amd64 with msmtp, recently built from pkgsrc:
# create libc/localeconv.d
CC=/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/x86_64--netbsd-clang
/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/nbmkdep -f localeconv.d.tmp --
--sysroot=/BETA1/netbsd-HEAD/usr/src/../obj.amd64/BETA1/netbsd-HEAD/usr/src/destdir.amd64
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"\"
-DHESIOD -DINET6 -DNLS -DYP -I/BETA1/netbsd-HEAD/usr/src/lib/libc/include
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -I/BETA1/netbsd-HEAD/usr/src/sys
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../locale
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/stdlib
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/quad
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/string
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string
-D__DBINTERFACE_PRIVATE -I/BETA1/netbsd-HEAD/usr/src/libexec/ld.elf_so
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/dlfcn -I/BETA1/netbsd-
HEAD/usr/src/lib/libc/gdtoa -I/BETA1/netbsd-HEAD/usr/src/lib/libc/locale
-DNO_FENV_H -I/BETA1/netbsd-HEAD/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2
/BETA1/netbsd-HEAD/usr/src/lib/libc/locale/localeconv.c && mv localeconv.d.tmp
localeconv.d
--- localtime.d ---
--- libunwind.d ---
In file included from
/BETA1/netbsd-HEAD/usr/src/sys/lib/libunwind/libunwind.cxx:16:
In file included from
/BETA1/netbsd-HEAD/usr/src/sys/lib/libunwind/UnwindCursor.hpp:19:
/BETA1/netbsd-HEAD/usr/src/sys/lib/libunwind/AddressSpace.hpp:17:10: fatal
error: 'cassert' file not found
#include <cassert>
^
--- lockf.d ---
--- localtime.d ---
# create libc/localtime.d
CC=/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/x86_64--netbsd-clang
/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/nbmkdep -f localtime.d.tmp --
--sysroot=/BETA1/netbsd-HEAD/usr/src/../obj.amd64/BETA1/netbsd-HEAD/usr/src/destdir.amd64
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"\"
-DHESIOD -DINET6 -DNLS -DYP -I/BETA1/netbsd-HEAD/usr/src/lib/libc/include
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -I/BETA1/netbsd-HEAD/usr/src/sys
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../locale
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/stdlib
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/quad
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/string
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string
-D__DBINTERFACE_PRIVATE -I/BETA1/netbsd-HEAD/usr/src/libexec/ld.elf_so
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/dlfcn -I/BETA1/netbsd-H
EAD/usr/src/lib/libc/gdtoa -I/BETA1/netbsd-HEAD/usr/src/lib/libc/locale
-DNO_FENV_H -I/BETA1/netbsd-HEAD/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2
/BETA1/netbsd-HEAD/usr/src/lib/libc/time/localtime.c && mv localtime.d.tmp
localtime.d
--- lockf.d ---
# create libc/lockf.d
CC=/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/x86_64--netbsd-clang
/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/nbmkdep -f lockf.d.tmp --
--sysroot=/BETA1/netbsd-HEAD/usr/src/../obj.amd64/BETA1/netbsd-HEAD/usr/src/destdir.amd64
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"\"
-DHESIOD -DINET6 -DNLS -DYP -I/BETA1/netbsd-HEAD/usr/src/lib/libc/include
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -I/BETA1/netbsd-HEAD/usr/src/sys
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../locale
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/stdlib
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/quad
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/string
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string
-D__DBINTERFACE_PRIVATE -I/BETA1/netbsd-HEAD/usr/src/libexec/ld.elf_so
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/dlfcn -I/BETA1/netbsd-HEAD/
usr/src/lib/libc/gdtoa -I/BETA1/netbsd-HEAD/usr/src/lib/libc/locale
-DNO_FENV_H -I/BETA1/netbsd-HEAD/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2
/BETA1/netbsd-HEAD/usr/src/lib/libc/gen/lockf.c && mv lockf.d.tmp lockf.d
--- libunwind.d ---
1 error generated.
--- lrand48.d ---
--- libunwind.d ---
nbmkdep: compile failed.
--- lrand48.d ---
# create libc/lrand48.d
CC=/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/x86_64--netbsd-clang
/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/nbmkdep -f lrand48.d.tmp --
--sysroot=/BETA1/netbsd-HEAD/usr/src/../obj.amd64/BETA1/netbsd-HEAD/usr/src/destdir.amd64
-D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"\"
-DHESIOD -DINET6 -DNLS -DYP -I/BETA1/netbsd-HEAD/usr/src/lib/libc/include
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -I/BETA1/netbsd-HEAD/usr/src/sys
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../locale
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/stdlib
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/quad
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/string
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string
-D__DBINTERFACE_PRIVATE -I/BETA1/netbsd-HEAD/usr/src/libexec/ld.elf_so
-I/BETA1/netbsd-HEAD/usr/src/lib/libc/dlfcn -I/BETA1/netbsd-HEA
D/usr/src/lib/libc/gdtoa -I/BETA1/netbsd-HEAD/usr/src/lib/libc/locale
-DNO_FENV_H -I/BETA1/netbsd-HEAD/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE
-I/BETA1/netbsd-HEAD/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2
/BETA1/netbsd-HEAD/usr/src/lib/libc/stdlib/lrand48.c && mv lrand48.d.tmp
lrand48.d
--- libunwind.d ---
*** [libunwind.d] Error code 1
nbmake[5]: stopped in /BETA1/netbsd-HEAD/usr/src/lib/libc
1 error
nbmake[5]: stopped in /BETA1/netbsd-HEAD/usr/src/lib/libc
*** Failed target: dependall-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/";
real="/BETA1/netbsd-HEAD/usr/src/lib" ;; *) this="lib/${dir}/";
real="/BETA1/netbsd-HEAD/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/BETA1/netbsd-HEAD/usr/src/../tooldir.amd64/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget libc dependall
*** Error code 2
Stop.
nbmake[4]: stopped in /BETA1/netbsd-HEAD/usr/src/lib
*** [build_install] Error code 1
nbmake[3]: stopped in /BETA1/netbsd-HEAD/usr/src/lib
1 error
nbmake[3]: stopped in /BETA1/netbsd-HEAD/usr/src/lib
*** [do-lib] Error code 2
nbmake[2]: stopped in /BETA1/netbsd-HEAD/usr/src
1 error
nbmake[2]: stopped in /BETA1/netbsd-HEAD/usr/src
*** [build] Error code 2
nbmake[1]: stopped in /BETA1/netbsd-HEAD/usr/src
1 error
nbmake[1]: stopped in /BETA1/netbsd-HEAD/usr/src
*** [distribution] Error code 2
nbmake: stopped in /BETA1/netbsd-HEAD/usr/src
1 error
nbmake: stopped in /BETA1/netbsd-HEAD/usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
Home |
Main Index |
Thread Index |
Old Index