Ticket #9711: gcc_build_error.log

File gcc_build_error.log, 14.7 KB (added by gk, 6 years ago)
1+ set -e
2+ export OUTDIR=/home/ubuntu/out
3+ OUTDIR=/home/ubuntu/out
5+ MAKEOPTS=(-j2)
6+ REFERENCE_DATETIME='2000-01-01 00:00:00'
7+ REFERENCE_DATE=2000-01-01
8+ REFERENCE_TIME=00:00:00
9+ cd build/crosstool-ng
10+ git reset -q --hard
11+ git clean -q -f -d
12+ cd build
13+ INSTDIR=/home/ubuntu/install/
14+ export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
15+ LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
16+ export 'FAKETIME=2000-01-01 00:00:00'
17+ FAKETIME='2000-01-01 00:00:00'
18+ export TZ=UTC
19+ TZ=UTC
20+ export LC_ALL=C
21+ LC_ALL=C
22+ umask 0022
23+ mkdir -p /home/ubuntu/out/
24+ sudo dpkg -i apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb
25Selecting previously unselected package apple-uni-sdk-10.6.
26(Reading database ... 21278 files and directories currently installed.)
27Unpacking apple-uni-sdk-10.6 (from apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb) ...
28Setting up apple-uni-sdk-10.6 (20110407-0.flosoft1) ...
29+ cd crosstool-ng
30+ autoconf
31+ ./configure --prefix=/usr/local
32checking build system type... i686-pc-linux-gnu
33checking host system type... i686-pc-linux-gnu
34checking for a BSD-compatible install... /usr/bin/install -c
35checking for grep that handles long lines and -e... /bin/grep
36checking for egrep... /bin/grep -E
37checking for a sed that does not truncate output... /bin/sed
38checking whether sed understands -r -i -e... yes
39checking whether ln -s works... yes
40checking for gcc... gcc
41checking whether the C compiler works... yes
42checking for C compiler default output file name... a.out
43checking for suffix of executables...
44checking whether we are cross compiling... no
45checking for suffix of object files... o
46checking whether we are using the GNU C compiler... yes
47checking whether gcc accepts -g... yes
48checking for gcc option to accept ISO C89... none needed
49checking how to run the C preprocessor... gcc -E
50checking for ranlib... ranlib
51checking for objcopy... objcopy
52checking for absolute path to objcopy... /usr/bin/objcopy
53checking for objdump... objdump
54checking for absolute path to objdump... /usr/bin/objdump
55checking for readelf... readelf
56checking for absolute path to readelf... /usr/bin/readelf
57checking for gperf... gperf
58checking for absolute path to gperf... /usr/bin/gperf
59checking for bison... bison
60checking for flex... flex
61checking for makeinfo... makeinfo
62checking for cut... cut
63checking for stat... stat
64checking for readlink... readlink
65checking for wget... wget
66checking for tar... tar
67checking for gzip... gzip
68checking for bzip2... bzip2
69checking for patch... /usr/bin/patch
70checking for bash >= 3.1... /bin/bash
71checking for GNU awk... /usr/bin/awk
72checking for GNU make >= 3.80... /usr/bin/make
73checking whether /usr/bin/make sets $(MAKE)... yes
74checking for GNU libtool >= 1.5.26... /usr/bin/libtool
75checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
76checking for GNU automake >= 1.10... /usr/bin/automake
77checking for xz... xz
78checking for cvs... no
79checking for svn... svn
80checking for inline... inline
81checking for ANSI C header files... yes
82checking for sys/types.h... yes
83checking for sys/stat.h... yes
84checking for stdlib.h... yes
85checking for string.h... yes
86checking for memory.h... yes
87checking for strings.h... yes
88checking for inttypes.h... yes
89checking for stdint.h... yes
90checking for unistd.h... yes
91checking for stdlib.h... (cached) yes
92checking for GNU libc compatible malloc... yes
93checking for stdlib.h... (cached) yes
94checking for GNU libc compatible realloc... yes
95checking for size_t... yes
96checking for working alloca.h... yes
97checking for alloca... yes
98checking libintl.h usability... yes
99checking libintl.h presence... yes
100checking for libintl.h... yes
101checking whether gettext is declared... yes
102checking ncurses/ncurses.h usability... no
103checking ncurses/ncurses.h presence... no
104checking for ncurses/ncurses.h... no
105checking ncurses/curses.h usability... no
106checking ncurses/curses.h presence... no
107checking for ncurses/curses.h... no
108checking ncursesw/curses.h usability... no
109checking ncursesw/curses.h presence... no
110checking for ncursesw/curses.h... no
111checking ncurses.h usability... yes
112checking ncurses.h presence... yes
113checking for ncurses.h... yes
114checking for library containing initscr... -lncurses
115checking for mkdir... yes
116checking for _mkdir... no
117checking whether mkdir takes one argument... no
118configure: creating ./config.status
119config.status: creating Makefile
120+ ln -s /usr/lib/apple/SDKs/MacOSX10.6.sdk /home/ubuntu/MacOSX10.6.sdk
121+ sudo make install
122  SED    'ct-ng'
123  SED    'scripts/crosstool-NG.sh'
124  SED    'scripts/saveSample.sh'
125  SED    'scripts/showTuple.sh'
126  GEN    'config/configure.in'
127  GEN    'paths.mk'
128  GEN    'paths.sh'
129  DEP    'nconf.gui.dep'
130  DEP    'nconf.dep'
131  DEP    'lxdialog/yesno.dep'
132  DEP    'lxdialog/util.dep'
133  DEP    'lxdialog/textbox.dep'
134  DEP    'lxdialog/menubox.dep'
135  DEP    'lxdialog/inputbox.dep'
136  DEP    'lxdialog/checklist.dep'
137  DEP    'mconf.dep'
138  DEP    'conf.dep'
139  BISON  'zconf.tab.c'
140  GPERF  'zconf.hash.c'
141  LEX    'lex.zconf.c'
142  DEP    'zconf.tab.dep'
143  CC     'zconf.tab.o'
144  CC     'conf.o'
145  LD     'conf'
146  CC     'lxdialog/checklist.o'
147  CC     'lxdialog/inputbox.o'
148  CC     'lxdialog/menubox.o'
149  CC     'lxdialog/textbox.o'
150  CC     'lxdialog/util.o'
151  CC     'lxdialog/yesno.o'
152  CC     'mconf.o'
153  LD     'mconf'
154  CC     'nconf.o'
155  CC     'nconf.gui.o'
156  LD     'nconf'
157  SED    'docs/ct-ng.1'
158  GZIP   'docs/ct-ng.1.gz'
159  INST    'ct-ng'
160  MKDIR   '/usr/local/lib/ct-ng.hg+unknown-20000101.000000/'
161  INSTDIR 'config/'
162  INSTDIR 'contrib/'
163  INSTDIR 'patches/'
164  INSTDIR 'scripts/'
165  INST    'steps.mk'
166  INST    'paths'
167  INSTDIR 'samples/'
168  INST    'kconfig/'
169  MKDIR   '/usr/local/share/doc/crosstool-ng/ct-ng.hg+unknown-20000101.000000/'
170  INST    'docs/*.txt'
171  MKDIR   '/usr/local/share/man/man1/'
172  INST    'ct-ng.1.gz'
174For auto-completion, do not forget to install 'ct-ng.comp' into
175your bash completion directory (usually /etc/bash_completion.d)
176+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ct-ng-build
177+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ct-ng-build
178+ sudo cp -f ../crosstool.config /usr/local/lib/ct-ng.hg+unknown-20000101.000000/samples/i686-apple-darwin11
179+ mkdir ct-ng-final
180+ cd ct-ng-final
181+ ct-ng i686-apple-darwin11
182  LN    config
183  MKDIR config.gen
184  IN    config.gen/arch.in
185  IN    config.gen/kernel.in
186  IN    config.gen/cc.in
187  IN    config.gen/binutils.in
188  IN    config.gen/libc.in
189  IN    config.gen/debug.in
190  CONF  config/config.in
192# configuration saved
197Initially reported by: Ray Donnelly <mingw.android@gmail.com>
202WARNING! This sample may enable experimental features.
203         Please be sure to review the configuration prior
204         to building and using your toolchain!
205Now, you have been warned!
209Now configured for "i686-apple-darwin11"
210+ ct-ng build
211make: Warning: File `/usr/local/lib/ct-ng.hg+unknown-20000101.000000/samples/samples.mk' has modification time 0.24 s in the future
212[INFO ]  Performing some trivial sanity checks
213[INFO ]  Build started 20000101.000000
214[INFO ]  Building environment variables
215[WARN ]  Directory '/home/ubuntu/src' does not exist.
216[WARN ]  Will not save downloaded tarballs to local storage.
217[EXTRA]  Preparing working directories
218[EXTRA]  Installing user-supplied crosstool-NG configuration
219[EXTRA]  =================================================================
220[EXTRA]  Dumping internal crosstool-NG configuration
221[EXTRA]    Building a toolchain for:
222[EXTRA]      build  = i686-pc-linux-gnu
223[EXTRA]      host   = i686-pc-linux-gnu
224[EXTRA]      target = i686-apple-darwin10
225[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.08s (at 00:00)
226[INFO ]  =================================================================
227[INFO ]  Retrieving needed toolchain components' tarballs
228[INFO ]    =================================================================
229[INFO ]    Get kernel headers
230[INFO ]    Get kernel headers: done in 0.01s (at 00:00)
231[EXTRA]    Retrieving 'gmp-5.1.1'
232[EXTRA]    Retrieving 'mpfr-3.1.2'
233[EXTRA]    Retrieving 'llvm-3.3.src'
234[EXTRA]    Retrieving 'e2fsprogs-libs-1.41.14'
235[EXTRA]    Retrieving 'openssl-1.0.1e'
236[EXTRA]    Retrieving 'cctools-809'
237[EXTRA]    Retrieving 'ld64-127.2'
238[EXTRA]    Retrieving 'dyld-210.2.3'
239[EXTRA]    Retrieving 'cfe-3.3.src'
240[EXTRA]    Retrieving 'gcc-5666.3'
241[INFO ]  Retrieving needed toolchain components' tarballs: done in -0000000000000000000000.63s (at 00:00)
242[INFO ]  =================================================================
243[INFO ]  Extracting and patching toolchain components
244[INFO ]    =================================================================
245[INFO ]    Extract kernel headers and libraries (minimal)
246[INFO ]    Extract kernel headers and libraries (minimal): done in 0.77s (at 00:00)
247[EXTRA]    Extracting 'gmp-5.1.1'
248[EXTRA]    Patching 'gmp-5.1.1'
249[EXTRA]    Extracting 'mpfr-3.1.2'
250[EXTRA]    Patching 'mpfr-3.1.2'
251[EXTRA]    Extracting 'llvm-3.3.src'
252[EXTRA]    Patching 'llvm-3.3'
253[EXTRA]    Extracting 'e2fsprogs-libs-1.41.14'
254[EXTRA]    Patching 'e2fsprogs-libs-1.41.14'
255[EXTRA]    Extracting 'openssl-1.0.1e'
256[EXTRA]    Patching 'openssl-1.0.1e'
257[EXTRA]    Extracting 'cctools-809'
258[EXTRA]    Extracting 'ld64-127.2'
259[ERROR]    tar: unit-tests/test-cases/late-link-error: time stamp 2011-08-15 22:56:41 is 366764200.200619289 s in the future
260[EXTRA]    Extracting 'dyld-210.2.3'
261[ERROR]    tar: unit-tests/test-cases/dlsym-error: time stamp 2012-05-21 06:35:15 is 390897314.674942956 s in the future
262[ERROR]    tar: unit-tests/test-cases/dlerror: time stamp 2012-05-21 06:35:15 is 390897314.647484761 s in the future
263[ERROR]    tar: unit-tests/test-cases/dlopen-error: time stamp 2012-05-21 06:35:15 is 390897314.629379712 s in the future
264[EXTRA]    Patching 'cctools-809'
265autoreconf2.50: Entering directory `.'
266autoreconf2.50: configure.ac: not using Gettext
267autoreconf2.50: running: aclocal
268autoreconf2.50: configure.ac: tracing
269autoreconf2.50: configure.ac: not using Libtool
270autoreconf2.50: running: /usr/bin/autoconf
271autoreconf2.50: running: /usr/bin/autoheader
272autoreconf2.50: configure.ac: not using Automake
273autoreconf2.50: Leaving directory `.'
274[EXTRA]    Extracting 'cfe-3.3.src'
275[ERROR]    tar: test/CXX/cpp/cpp.error: time stamp 2013-06-07 11:13:17 is 423918796.645689359 s in the future
276[EXTRA]    Patching 'clang-3.3'
277[EXTRA]    Extracting 'gcc-5666.3'
278[EXTRA]    Patching 'gcc-5666.3'
279[INFO ]    =================================================================
280[INFO ]    Forcing date and time of patched sources to 199912312359.59
281[INFO ]    Forcing date and time of patched sources to 199912312359.59: done in 0.09s (at 00:00)
282[INFO ]  Extracting and patching toolchain components: done in 0.35s (at 00:00)
283[INFO ]  =================================================================
284[INFO ]  Installing GMP for host
285[EXTRA]    Configuring GMP
286[EXTRA]    Building GMP
287[EXTRA]    Installing GMP
288[INFO ]  Installing GMP for host: done in 0.33s (at 00:00)
289[INFO ]  =================================================================
290[INFO ]  Installing MPFR for host
291[EXTRA]    Configuring MPFR
292[EXTRA]    Building MPFR
293[EXTRA]    Installing MPFR
294[INFO ]  Installing MPFR for host: done in -0000000000000000000000.00s (at 00:00)
295[INFO ]  =================================================================
296[INFO ]  Installing LLVM for host
297[EXTRA]    Configuring LLVM
298[EXTRA]    Building LLVM
299[EXTRA]    Installing LLVM
300[INFO ]  Installing LLVM for host: done in -0000000000000000000000.89s (at 00:00)
301[INFO ]  =================================================================
302[INFO ]  Installing libuuid for host
303[EXTRA]    Configuring libuuid(e2fsprogslibs)
304[EXTRA]    Building libuuid(e2fsprogslibs)
305[EXTRA]    Installing libuuid(e2fsprogslibs)
306[INFO ]  Installing libuuid for host: done in 0.16s (at 00:00)
307[INFO ]  =================================================================
308[INFO ]  Installing openssl for host
309[EXTRA]    Configuring openssl
310[EXTRA]    Building openssl
311[EXTRA]    Installing openssl
312[INFO ]  Installing openssl for host: done in 0.08s (at 00:00)
313[INFO ]  =================================================================
314[INFO ]  Installing cctools for host
315[EXTRA]    Configuring cctools
316[EXTRA]    Building cctools
317[EXTRA]    Installing cctools
318[INFO ]  Installing cctools for host: done in -0000000000000000000000.25s (at 00:00)
319[INFO ]  =================================================================
320[INFO ]  Installing kernel headers
321[INFO ]  Installing kernel headers: done in 0.01s (at 00:00)
322[INFO ]  =================================================================
323[INFO ]  Installing final clang compiler
324[EXTRA]    Configuring clang
325[EXTRA]    Building clang
326[EXTRA]    Installing clang
327[INFO ]  Installing final clang compiler: done in 0.62s (at 00:00)
328[INFO ]  =================================================================
329[INFO ]  Installing final gcc compiler
330[EXTRA]    Configuring final gcc compiler
331[EXTRA]    Building final gcc compiler
332[ERROR]    /home/ubuntu/build/crosstool-ng/ct-ng-final/.build/src/gcc-5666.3/gcc/tsystem.h:47:20: error: stddef.h: No such file or directory
333[ERROR]    /home/ubuntu/build/crosstool-ng/ct-ng-final/.build/src/gcc-5666.3/gcc/tsystem.h:48:19: error: float.h: No such file or directory
334[ERROR]    /home/ubuntu/build/crosstool-ng/ct-ng-final/.build/src/gcc-5666.3/gcc/tsystem.h:87:20: error: stdarg.h: No such file or directory
335[ERROR]    /home/ubuntu/x-tools/i686-apple-darwin10/i686-apple-darwin10/sysroot/usr/include/dlfcn.h:40:21: error: stdbool.h: No such file or directory
336[ERROR]    /home/ubuntu/x-tools/i686-apple-darwin10/i686-apple-darwin10/sysroot/usr/include/dlfcn.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dlopen_preflight'
337[ERROR]    make[5]: *** [crt3.o] Error 1
338[ERROR]    make[4]: *** [extra] Error 2
339[ERROR]    make[3]: *** [stmp-multilib] Error 2
340[ERROR]    make[2]: *** [all-gcc] Error 2
341[ERROR]    make[1]: *** [all] Error 2
343[ERROR]  >>
344[ERROR]  >>  Build failed in step 'Installing final gcc compiler'
345[ERROR]  >>        called in step '(top-level)'
346[ERROR]  >>
347[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
348[ERROR]  >>        called from: do_gcc_backend[scripts/build/cc/gcc.sh@870]
349[ERROR]  >>        called from: do_gcc_for_host[scripts/build/cc/gcc.sh@590]
350[ERROR]  >>        called from: do_cc_for_host[scripts/build/cc.sh@56]
351[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@680]
352[ERROR]  >>
353[ERROR]  >>  For more info on this error, look at the file: 'build.log'
354[ERROR]  >>  There is a list of known issues, some with workarounds, in:
355[ERROR]  >>      '/usr/local/share/doc/crosstool-ng/ct-ng.hg+unknown-20000101.000000/B - Known issues.txt'
357[ERROR]  (elapsed: 0:00.-7)
358make: *** [build] Error 2