heya guys,
what can be the reason for this desaster:
nbgmake[1]: Entering directory `/usr/obj/tools/gcc/build/gcc'
c++ -c -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/build -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../include -I/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libcpp/include -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE \
-o build/genmddeps.o /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c
In file included from ./bconfig.h:3:0,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c:18:
./auto-host.h:2363:16: error: declaration does not declare anything [-fpermissive]
#define rlim_t long
^
In file included from /usr/include/g++/bits/move.h:55:0,
from /usr/include/g++/bits/stl_pair.h:59,
from /usr/include/g++/utility:70,
from /usr/include/g++/algorithm:60,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/system.h:227,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c:19:
/usr/include/g++/type_traits:884:32: error: there are no arguments to '__is_constructible' that depend on a template parameter, so a declaration of '__is_constructible' must be available [-fpermissive]
: public __bool_constant<__is_constructible(_Tp, _Args...)>
^~~~~~~~~~~~~~~~~~
/usr/include/g++/type_traits:884:32: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/g++/type_traits:884:65: error: template argument 1 is invalid
: public __bool_constant<__is_constructible(_Tp, _Args...)>
^
/usr/include/g++/type_traits:1018:32: error: there are no arguments to '__is_assignable' that depend on a template parameter, so a declaration of '__is_assignable' must be available [-fpermissive]
: public __bool_constant<__is_assignable(_Tp, _Up)>
^~~~~~~~~~~~~~~
/usr/include/g++/type_traits:1018:57: error: template argument 1 is invalid
: public __bool_constant<__is_assignable(_Tp, _Up)>
^
In file included from /usr/include/g++/algorithm:60:0,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/system.h:227,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c:19:
/usr/include/g++/utility:310:35: error: there are no arguments to '__integer_pack' that depend on a template parameter, so a declaration of '__integer_pack' must be available [-fpermissive]
using __type = _Index_tuple<__integer_pack(_Num)...>;
^~~~~~~~~~~~~~
/usr/include/g++/utility:310:55: error: expansion pattern '__integer_pack(_Num)' contains no argument packs
using __type = _Index_tuple<__integer_pack(_Num)...>;
^~~
/usr/include/g++/utility:310:58: error: template argument 1 is invalid
using __type = _Index_tuple<__integer_pack(_Num)...>;
^
/usr/include/g++/utility:332:51: error: expansion pattern '__integer_pack(_Num)' contains no argument packs
= integer_sequence<_Tp, __integer_pack(_Num)...>;
^~~
/usr/include/g++/utility:332:54: error: template argument 2 is invalid
= integer_sequence<_Tp, __integer_pack(_Num)...>;
^
/usr/include/g++/utility:343:33: error: 'make_integer_sequence' does not name a type; did you mean 'integer_sequence'?
using make_index_sequence = make_integer_sequence<size_t, _Num>;
^~~~~~~~~~~~~~~~~~~~~
integer_sequence
/usr/include/g++/utility:347:32: error: 'make_index_sequence' does not name a type; did you mean 'index_sequence'?
using index_sequence_for = make_index_sequence<sizeof...(_Types)>;
^~~~~~~~~~~~~~~~~~~
index_sequence
In file included from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c:19:0:
/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/system.h:546:20: error: conflicting declaration of C function 'const char* strsignal(int)'
extern const char *strsignal (int);
^~~~~~~~~
In file included from /usr/include/g++/cstring:42:0,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/system.h:241,
from /usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/genmddeps.c:19:
/usr/include/string.h:92:16: note: previous declaration 'char* strsignal(int)'
__aconst char *strsignal(int);
^~~~~~~~~
nbgmake[1]: *** [build/genmddeps.o] Error 1
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 gcc_cv_libc_provides_ssp=yes gcc_cv_as_sparc_gotdata_op=no AR=ar AWK=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbawk CC=cc CFLAGS=-O CONFIG_SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/i486--netbsdelf-install\ -c\ -p\ -r LDFLAGS= LEX=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nblex FLEX=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nblex M4=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbm4 MAKE=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbgmake PATH="/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin:$PATH" RANLIB=ranlib YACC=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbyacc MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/i486--netbsdelf-install\ -c\ -p\ -r /usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbgmake -e MACHINE= MAKEINFO=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ -DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= INSTALL=/usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/i486--netbsdelf-install\ -c\ -p\ -r all-gcc)
*** Error code 2
Stop.
nbmake[3]: stopped in /usr/src/tools/gcc
*** Failed target: dependall
*** Failed command: cd "/usr/src/tools/gcc"; /usr/src/obj/tooldir.NetBSD-9.99.73-i386/bin/nbmake realall
*** Error code 1
looks like great mess in the /obj directory, make clean doesn't help and setting another gcc as compiler in mk.conf either.
suggestions?
miranda
P.S.: there was a previous attempt, tools ok, kern ok, but world gave tests an error; I installed the userland anyway. Does this mean to setup the whole staff again?