Ticket #3081: rsb-report-sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1.txt

File rsb-report-sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1.txt, 13.2 KB (added by Russell Haley, on 07/21/17 at 15:37:11)

rsb report from failed build of gcc 7.1 on FreeBSD 12-CURRENT

Line 
1RTEMS Tools Project - Source Builder Error Report
2 Build: error: building sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1
3 Command Line: ../source-builder/sb-set-builder --prefix=/storage/russellh/rtems/4.12 4.12/rtems-sparc
4 Python: 2.7.13 (default, May 20 2017, 02:58:00) [GCC 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)]
5 git://git.rtems.org/rtems-source-builder.git/origin/e2952bb185c1f40027caa76cfd9e4a45b17a8886
6 FreeBSD prescott.highfell.local 12.0-CURRENT FreeBSD 12.0-CURRENT #66 ac2f0aa3b(trueos-stable)-dirty: Wed Jun 21 01:09:23 UTC 2017     root@gauntlet:/usr/obj/usr/src/sys/GENERIC amd64
7Tail of the build log:
8checking for fork... /usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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 -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib  -o build/genmodes \
9    build/genmodes.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a
10/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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 -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib  -o build/genconstants \
11    build/genconstants.o build/read-md.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a
12yes
13build/genmodes -m > tmp-min-modes.c
14/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-min-modes.c min-insn-modes.c
15echo timestamp > s-modes-m
16build/genhooks "Target Hook" \
17                                     > tmp-target-hooks-def.h
18build/genhooks "Common Target Hook" \
19                                     > tmp-common-target-hooks-def.h
20/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-common-target-hooks-def.h \
21                                     common/common-target-hooks-def.h
22/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-target-hooks-def.h \
23                                     target-hooks-def.h
24echo timestamp > s-target-hooks-def-h
25echo timestamp > s-common-target-hooks-def-h
26build/genhooks "C Target Hook" \
27                                     > tmp-c-target-hooks-def.h
28build/genmodes > tmp-modes.c
29/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-c-target-hooks-def.h \
30configure: updating cache ./config.cache
31                                     c-family/c-target-hooks-def.h
32/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-modes.c insn-modes.c
33configure: creating ./config.status
34echo timestamp > s-c-target-hooks-def-h
35echo timestamp > s-modes
36build/genmddeps ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md > tmp-mddeps
37build/genmodes -h > tmp-modes.h
38/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-modes.h insn-modes.h
39echo timestamp > s-modes-h
40/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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 -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib  -o build/gengenrtl \
41    build/gengenrtl.o build/errors.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a
42/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-mddeps mddeps.mk
43echo timestamp > s-mddeps
44build/genenums ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md \
45   > tmp-enums.c
46if [ xinfo = xinfo ]; then \
47        makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.1.0/gcc/doc \
48                -I ../../gcc-7.1.0/gcc/doc/include -o doc/gccint.info ../../gcc-7.1.0/gcc/doc/gccint.texi; \
49fi
50/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-enums.c insn-enums.c
51echo timestamp > s-enums
52build/genconstants ../../gcc-7.1.0/gcc/common.md ../../gcc-7.1.0/gcc/config/sparc/sparc.md \
53   > tmp-constants.h
54/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-constants.h insn-constants.h
55echo timestamp > s-constants
56build/gengenrtl > tmp-genrtl.h
57/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-genrtl.h genrtl.h
58echo timestamp > s-genrtl-h
59/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -c    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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../../gcc-7.1.0/gcc -I../../gcc-7.1.0/gcc/build -I../../gcc-7.1.0/gcc/../include  -I../../gcc-7.1.0/gcc/../libcpp/include  \
60        -o build/min-insn-modes.o min-insn-modes.c
61c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
62config.status: creating Makefile
63config.status: creating cc1plugin-config.h
6431 warnings generated.
65config.status: executing depfiles commands
66config.status: executing libtool commands
6719 warnings generated.
68/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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 -L/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/lib  -o build/gengtype \
69    build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-x86_64-freebsd12.0/libiberty/libiberty.a
70cp doc/gcc.1 doc/g++.1
71/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-optionlist optionlist
72echo timestamp > s-options
73nawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \
74       -f ../../gcc-7.1.0/gcc/opth-gen.awk \
75       < optionlist > tmp-options.h
76nawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \
77       -f ../../gcc-7.1.0/gcc/optc-save-gen.awk \
78       -v header_name="config.h system.h coretypes.h tm.h" < optionlist > options-save.c
79nawk -f ../../gcc-7.1.0/gcc/opt-functions.awk -f ../../gcc-7.1.0/gcc/opt-read.awk \
80       -f ../../gcc-7.1.0/gcc/optc-gen.awk \
81       -v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c
82/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-options.h options.h
83echo timestamp > s-options-h
84build/gengtype  \
85                    -S ../../gcc-7.1.0/gcc -I gtyp-input.list -w tmp-gtype.state
86/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/storage/russellh/rtems/4.12/rsb/rtems/build/tmp/sb-russellh/4.12/rtems-sparc/storage/russellh/rtems/4.12/include -c    -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -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../../gcc-7.1.0/gcc -I../../gcc-7.1.0/gcc/build -I../../gcc-7.1.0/gcc/../include  -I../../gcc-7.1.0/gcc/../libcpp/include  \
87        -o build/gencheck.o ../../gcc-7.1.0/gcc/gencheck.c
88c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
89In file included from ../../gcc-7.1.0/gcc/gencheck.c:25:
90../../gcc-7.1.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags]
91class rtx_def;
92^
93../../gcc-7.1.0/gcc/coretypes.h:55:8: note: previous use is here
94struct rtx_def;
95       ^
96In file included from ../../gcc-7.1.0/gcc/gencheck.c:26:
97In file included from ./tm.h:17:
98./options.h:5535:3: error: redefinition of enumerator 'OPT_C'
99  OPT_C = 117,                               /* -C */
100  ^
101./options.h:5532:3: note: previous definition is here
102  OPT_C = 114,                               /* -C */
103  ^
104./options.h:5541:3: error: redefinition of enumerator 'OPT_d'
105  OPT_d = 123,                               /* -d */
106  ^
107./options.h:5539:3: note: previous definition is here
108  OPT_d = 121,                               /* -d */
109  ^
110./options.h:5542:3: error: redefinition of enumerator 'OPT_D'
111  OPT_D = 124,                               /* -D */
112  ^
113./options.h:5540:3: note: previous definition is here
114  OPT_D = 122,                               /* -D */
115  ^
116./options.h:5551:3: error: redefinition of enumerator 'OPT_E'
117  OPT_E = 133,                               /* -E */
118  ^
119./options.h:5549:3: note: previous definition is here
120  OPT_E = 131,                               /* -E */
121  ^
122./options.h:6231:3: error: redefinition of enumerator 'OPT_H'
123  OPT_H = 813,                               /* -H */
124  ^
125./options.h:6229:3: note: previous definition is here
126  OPT_H = 811,                               /* -H */
127  ^
128./options.h:6234:3: error: redefinition of enumerator 'OPT_I'
129  OPT_I = 816,                               /* -I */
130  ^
131./options.h:6232:3: note: previous definition is here
132  OPT_I = 814,                               /* -I */
133  ^
134./options.h:6251:3: error: redefinition of enumerator 'OPT_L'
135  OPT_L = 833,                               /* -L */
136  ^
137./options.h:6249:3: note: previous definition is here
138  OPT_L = 831,                               /* -L */
139  ^
140./options.h:6261:3: error: redefinition of enumerator 'OPT_MD'
141  OPT_MD = 843,                              /* -MD */
142  ^
143./options.h:6259:3: note: previous definition is here
144  OPT_MD = 841,                              /* -MD */
145  ^
146./options.h:6270:3: error: redefinition of enumerator 'OPT_M'
147  OPT_M = 852,                               /* -M */
148  ^
149./options.h:6255:3: note: previous definition is here
150  OPT_M = 837,                               /* -M */
151  ^
152./options.h:6279:3: error: redefinition of enumerator 'OPT_MM'
153  OPT_MM = 861,                              /* -MM */
154  ^
155./options.h:6276:3: note: previous definition is here
156  OPT_MM = 858,                              /* -MM */
157  ^
158./options.h:6314:3: error: redefinition of enumerator 'OPT_o'
159  OPT_o = 896,                               /* -o */
160  ^
161./options.h:6311:3: note: previous definition is here
162  OPT_o = 893,                               /* -o */
163  ^
164./options.h:6316:3: error: redefinition of enumerator 'OPT_o'
165  OPT_o = 898,                               /* -o */
166  ^
167./options.h:6311:3: note: previous definition is here
168  OPT_o = 893,                               /* -o */
169  ^
170./options.h:6323:3: error: redefinition of enumerator 'OPT_P'
171  OPT_P = 905,                               /* -P */
172  ^
173./options.h:6319:3: note: previous definition is here
174  OPT_P = 901,                               /* -P */
175  ^
176./options.h:6422:3: error: redefinition of enumerator 'OPT_U'
177  OPT_U = 1004,                              /* -U */
178  ^
179./options.h:6420:3: note: previous definition is here
180  OPT_U = 1002,                              /* -U */
181  ^
182./options.h:6426:3: error: redefinition of enumerator 'OPT_v'
183  OPT_v = 1008,                              /* -v */
184  ^
185./options.h:6424:3: note: previous definition is here
186  OPT_v = 1006,                              /* -v */
187  ^
188./options.h:6474:3: error: redefinition of enumerator 'OPT_w'
189  OPT_w = 1056,                              /* -w */
190  ^
191./options.h:6455:3: note: previous definition is here
192  OPT_w = 1037,                              /* -w */
193  ^
1941 warning and 16 errors generated.
195gmake[2]: *** [Makefile:2594: build/gencheck.o] Error 1
196gmake[2]: *** Waiting for unfinished jobs....
197/bin/sh ../../gcc-7.1.0/gcc/../move-if-change tmp-gtype.state gtype.state
198build/gengtype  \
199                    -r gtype.state
200echo timestamp > s-gtype
201rm gcc.pod
202gmake[2]: Leaving directory '/storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/build/gcc'
203gmake[1]: *** [Makefile:4233: all-gcc] Error 2
204gmake[1]: Leaving directory '/storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/build'
205gmake: *** [Makefile:898: all] Error 2
206shell cmd failed: /bin/sh -ex  /storage/russellh/rtems/4.12/rsb/rtems/build/sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1/doit
207error: building sparc-rtems4.12-gcc-7.1.0-newlib-2.5.0.20170623-x86_64-freebsd12.0-1