On this version of NetBSD:

[root]: uname -a
NetBSD mail.wan.vpn 7.1.2 NetBSD 7.1.2 (GEMINI) #0: Tue Sep 18 13:25:59 PDT
2018  r...@mail.wan.vpn:/usr/src/BUILD_OBJ/sys/arch/i386/compile/GEMINI i386

Using gcc8

[root]: which gcc
/usr/pkg/gcc8/bin/gcc


[root]: gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/pkg/gcc8/libexec/gcc/i486--netbsdelf/8.3.0/lto-wrapper
Target: i486--netbsdelf
Configured with: ../gcc-8.3.0/configure --disable-libstdcxx-pch
--with-system-zlib --enable-nls --with-libiconv-prefix=/usr
--enable-__cxa_atexit --with-gxx-include-dir=/usr/pkg/gcc8/include/c++/
--disable-libssp --enable-languages='c obj-c++ objc fortran c++'
--enable-shared --enable-long-long --with-local-prefix=/usr/pkg/gcc8
--enable-threads=posix --with-boot-ldflags='-static-libstdc++
-static-libgcc -Wl,-R/usr/pkg/lib ' --with-gnu-ld --with-ld=/usr/bin/ld
--with-gnu-as --with-as=/usr/bin/as --with-arch=i486 --with-tune=i486
--prefix=/usr/pkg/gcc8 --build=i486--netbsdelf --host=i486--netbsdelf
--infodir=/usr/pkg/gcc8/info --mandir=/usr/pkg/gcc8/man
--enable-option-checking=yes
Thread model: posix
gcc version 8.3.0 (GCC)

Building top of tree, I've been getting this error for a while:

#   compile  libprop/prop_kern.lo
cc -O   -I/usr/src8/src/tools/libprop/../compat
-I/usr/src8/src/tools/libprop/../../common/include
-I/usr/src8/src/./BUILD_TOOL/include/compat
-I/usr/src8/src/./BUILD_TOOL/include/nbinclude -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64  -I/usr/src8/src/./BUILD_TOOL/include
-I/usr/src8/src/./BUILD_TOOL/include/nbinclude -c -o prop_kern.lo.o
 /usr/src8/src/tools/libprop/../../common/lib/libprop/prop_kern.c
In file included from
/usr/src8/src/tools/libprop/../../common/include/prop/proplib.h:35:0,
                 from
/usr/src8/src/tools/libprop/../../common/lib/libprop/prop_kern.c:37:
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:150:7:
error: unknown type name 'intptr_t'
       intptr_t *);
       ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:152:7:
error: unknown type name 'uintptr_t'
       uintptr_t *);
       ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:154:7:
error: unknown type name 'intptr_t'
       intptr_t);
       ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:156:7:
error: unknown type name 'uintptr_t'
       uintptr_t);
       ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:214:43:
error: unknown type name 'intptr_t'
 bool  prop_array_add_intptr(prop_array_t, intptr_t);
                                           ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_array.h:215:44:
error: unknown type name 'uintptr_t'
 bool  prop_array_add_uintptr(prop_array_t, uintptr_t);
                                            ^
In file included from
/usr/src8/src/tools/libprop/../../common/include/prop/proplib.h:38:0,
                 from
/usr/src8/src/tools/libprop/../../common/lib/libprop/prop_kern.c:37:
/usr/src8/src/tools/libprop/../../common/include/prop/prop_dictionary.h:180:9:
error: unknown type name 'intptr_t'
         intptr_t *);
         ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_dictionary.h:182:10:
error: unknown type name 'uintptr_t'
          uintptr_t *);
          ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_dictionary.h:184:9:
error: unknown type name 'intptr_t'
         intptr_t);
         ^
/usr/src8/src/tools/libprop/../../common/include/prop/prop_dictionary.h:186:10:
error: unknown type name 'uintptr_t'
          uintptr_t);
          ^

*** Failed target:  prop_kern.lo
*** Failed command: cc -O -I/usr/src8/src/tools/libprop/../compat
-I/usr/src8/src/tools/libprop/../../common/include
-I/usr/src8/src/./BUILD_TOOL/include/compat
-I/usr/src8/src/./BUILD_TOOL/include/nbinclude -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -I/usr/src8/src/./BUILD_TOOL/include
-I/usr/src8/src/./BUILD_TOOL/include/nbinclude -c -o prop_kern.lo.o
/usr/src8/src/tools/libprop/../../common/lib/libprop/prop_kern.c
*** Error code 1

Stop.
nbmake[3]: stopped in /usr/src8/src/tools/libprop

*** Failed target:  dependall
*** Failed command: cd "/usr/src8/src/tools/libprop";
/usr/src8/src/./BUILD_TOOL/bin/nbmake realall
*** Error code 1

*** Failed target:  dependall-libprop
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src8/src/tools" ;; *) this="${dir}/";
real="/usr/src8/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src8/src/./BUILD_TOOL/bin/nbmake _THISDIR_="${this}" "$@" ${target};
}; _makedirtarget libprop dependall
*** Error code 1

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src8/src/tools" ;; *) this="${dir}/";
real="/usr/src8/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src8/src/./BUILD_TOOL/bin/nbmake _THISDIR_="${this}" "$@" ${target};
}; _makedirtarget . dependall-libprop
*** Error code 1
-nbmake[3]: stopped in /usr/src8/src/tools/libprop

*** Failed target:  dependall
*** Failed command: cd "/usr/src8/src/tools/libprop";
/usr/src8/src/./BUILD_TOOL/bin/nbmake realall
*** Error code 1

*** Failed target:  dependall-libprop
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src8/src/tools" ;; *) this="${dir}/";
real="/usr/src8/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src8/src/./BUILD_TOOL/bin/nbmake _THISDIR_="${this}" "$@" ${target};
}; _makedirtarget libprop dependall
*** Error code 1

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src8/src/tools" ;; *) this="${dir}/";
real="/usr/src8/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/src8/src/./BUILD_TOOL/bin/nbmake _THISDIR_="${this}" "$@" ${target};
}; _makedirtarget . dependall-libprop
*** Error code 1

Stop.
nbmake: stopped in /usr/src8/src/tools

ERROR: Failed to make build_install in "tools"
*** BUILD ABORTED ***

<intentionally left blank>

Reply via email to