Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2007 01:41:11 +0200
From:      =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= <dandee@hellteam.net>
To:        <freebsd-mips@freebsd.org>
Subject:   make build-toolchain fials again and again
Message-ID:  <000001c7e9cc$ea53a920$6508280a@tocnet28.jspoj.czf>

next in thread | raw e-mail | index | archive | help
Hi there,

=20

>From http://wiki.freebsd.org/FreeBSD/mips

=20

# setenv

USER=3Droot

HOME=3D/root

SHELL=3D/bin/csh

PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/loca=
l/bin:/usr/X11R6/bin:/root/bin

LANG=3Dcs_CZ.ISO8859-2

MM_CHARSET=3DISO-8859-2

MAIL=3D/var/mail/root

BLOCKSIZE=3DK

FTP_PASSIVE_MODE=3DYES

TERM=3Dxterm

HOSTTYPE=3DFreeBSD

VENDOR=3Dintel

OSTYPE=3DFreeBSD

MACHTYPE=3Di386

SHLVL=3D1

PWD=3D/root/mips/src

LOGNAME=3Droot

GROUP=3Dwheel

HOST=3Dx.y.z

EDITOR=3Dvi

PAGER=3Dmore

SRCROOT=3D/root/mips/src

KERNCONF=3DMALTA

TARGET_ARCH=3Dmips

TARGET=3Dmips

TARGET_CPUTYPE=3Dmips32

MAKEOBJDIRPREFIX=3D/root/mips/mips.build

=20

# pwd

/root/mips/src

=20
# make kernel-toolchain

...snipped...

echo =
"\"/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/c-parse=
r.c\", "                                          >> gtyp-gen.h

echo "NULL};"                                           >> gtyp-gen.h

echo "static const char * const lang_dir_names[] =3D {"   >> 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=3D\"/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/incl=
ude =
-I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libc=
pp/include =
-I/root/mips/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libd=
ecnumber -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/elf=
os.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/mip=
s/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/elf=
os.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/mip=
s/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/elf=
os.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/mip=
s/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/mip=
s/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/fre=
ebsd.h:94:1: warning: this is the location of the previous definition

*** Error code 1

=20

Stop in /root/mips/src/gnu/usr.bin/cc/cc_tools.

*** Error code 1

=20

Stop in /root/mips/src.

*** Error code 1

=20

Stop in /root/mips/src.

*** Error code 1

=20

Stop in /root/mips/src.

=20

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 =E2=80=9Edot =
h=E2=80=9C files.

=20

Does anybody from non-developers finish this procedure at all ever ? :)

=20

What do I have to do now ?

=20

Thank you.

=20

Bye

Dan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c7e9cc$ea53a920$6508280a>