make build-toolchain fials again and again
Daniel Dvořák
dandee at hellteam.net
Tue Aug 28 18:25:00 PDT 2007
Hi there,
>From http://wiki.freebsd.org/FreeBSD/mips
# setenv
USER=root
HOME=/root
SHELL=/bin/csh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
LANG=cs_CZ.ISO8859-2
MM_CHARSET=ISO-8859-2
MAIL=/var/mail/root
BLOCKSIZE=K
FTP_PASSIVE_MODE=YES
TERM=xterm
HOSTTYPE=FreeBSD
VENDOR=intel
OSTYPE=FreeBSD
MACHTYPE=i386
SHLVL=1
PWD=/root/mips/src
LOGNAME=root
GROUP=wheel
HOST=x.y.z
EDITOR=vi
PAGER=more
SRCROOT=/root/mips/src
KERNCONF=MALTA
TARGET_ARCH=mips
TARGET=mips
TARGET_CPUTYPE=mips32
MAKEOBJDIRPREFIX=/root/mips/mips.build
# pwd
/root/mips/src
# make kernel-toolchain
...snipped...
echo "\"/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-parser.c\", " >> gtyp-gen.h
echo "NULL};" >> gtyp-gen.h
echo "static const char * const lang_dir_names[] = {" >> gtyp-gen.h
echo "\"c\", " >> gtyp-gen.h
echo "\"cp\", " >> gtyp-gen.h
echo "\"objc\", " >> gtyp-gen.h
echo "NULL};" >> gtyp-gen.h
cc -O -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DCROSS_COMPILE -I/root/mips/mips.build/mips/root/mips/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/root/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/../../../../contrib/gcclibs/include -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include -I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber -g -DGENERATOR_FILE -DHAVE_CONFIG_H -I/root/mips/mips.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:197: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:285: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 this was my 3rd snapshot of sources and it always stops on this kernel-toolchain procedure somewhere it depends on the concrete snapshot, which I try. :)
I tried it several times. It always stops on these „dot h“ files.
Does anybody from non-developers finish this procedure at all ever ? :)
What do I have to do now ?
Thank you.
Bye
Dan
More information about the freebsd-mips
mailing list