make build-toolchain fials again and again

Daniel Dvořák dandee at hellteam.net
Thu Aug 30 07:34:33 PDT 2007


I am sure about the latest snapshot that I downloaded before.
I confirmed md5 hash signature of the file and it is right.
I renamed make.conf to make.conf.bak and I left the system without make.conf file at all.

I repeated the kernel-toolchain procedure again and with O1 optimization it failed again. :(

echo "NULL};"                                           >> gtyp-gen.h
cc -O1 -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DCROSS_COMPILE -I/r                                                                             oot/mips/mips.build/mips/root/mips/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/ro                                                                             ot/mips/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/root/mips/src/gnu/usr.bin/cc/                                                                             cc_tools/../../../../contrib/gcc -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../                                                                             ../../contrib/gcc/config -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../co                                                                             ntrib/gcclibs/include -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contr                                                                             ib/gcclibs/libcpp/include -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../c                                                                             ontrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H  -I/root/mips/mi                                                                             ps.build/mips/root/mips/src/tmp/legacy/usr/include -c /root/mips/src/gnu/usr.bin                                                                             /cc/cc_tools/../../../../contrib/gcc/gengtype.c
In file included from ./tm.h:5,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
./options.h:364: error: redeclaration of enumerator `OPT_d'
./options.h:362: error: previous definition of 'OPT_d' was here
./options.h:882: error: redeclaration of enumerator `OPT_w'
./options.h:880: error: previous definition of 'OPT_w' was here
In file included from ./tm.h:8,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/elfos.h:83                                                                             :1: warning: "ASM_OUTPUT_IDENT" redefined
In file included from ./tm.h:6,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/mips/mips.                                                                             h:2611:1: warning: this is the location of the previous definition
In file included from ./tm.h:8,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/elfos.h:19                                                                             7:1: warning: "READONLY_DATA_SECTION_ASM_OP" redefined
In file included from ./tm.h:6,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/mips/mips.                                                                             h:2629:1: warning: this is the location of the previous definition
In file included from ./tm.h:8,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/elfos.h:28                                                                             5:1: warning: "ASM_DECLARE_OBJECT_NAME" redefined
In file included from ./tm.h:6,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/mips/mips.                                                                             h:2511:1: warning: this is the location of the previous definition
In file included from ./tm.h:12,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/mips/elf.h                                                                             :54:1: warning: "HANDLE_PRAGMA_PACK_PUSH_POP" redefined
In file included from ./tm.h:11,
                 from /root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib                                                                             /gcc/gengtype.c:24:
/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/freebsd.h:                                                                             94:1: warning: this is the location of the previous definition
*** Error code 1

Stop in /root/mips/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

Stop in /root/mips/src.
*** Error code 1

Stop in /root/mips/src.
*** Error code 1

Stop in /root/mips/src.

So if the latest snapshot and system without make.conf file still can´t finish kernel-toolchain procedure, what to do now ?





More information about the freebsd-mips mailing list