@@ -30,6 +30,8 @@ build_modules= { module= flex; };
30
30
build_modules= { module= m4; };
31
31
build_modules= { module= texinfo; };
32
32
build_modules= { module= fixincludes; };
33
+ build_modules= { module= libcpp;
34
+ extra_configure_flags='--disable-nls am_cv_func_iconv=no';};
33
35
34
36
host_modules= { module= bfd; bootstrap=true; };
35
37
host_modules= { module= opcodes; bootstrap=true; };
@@ -39,14 +41,15 @@ host_modules= { module= cgen; };
39
41
host_modules= { module= dejagnu; };
40
42
host_modules= { module= etc; };
41
43
host_modules= { module= fastjar; no_check_cross= true; };
42
- host_modules= { module= fixincludes;
44
+ host_modules= { module= fixincludes; bootstrap=true;
43
45
missing= TAGS; };
44
46
host_modules= { module= flex; no_check_cross= true; };
45
47
host_modules= { module= gas; bootstrap=true; };
46
48
host_modules= { module= gcc; bootstrap=true;
47
49
extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
48
50
host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
49
- extra_configure_flags='--disable-shared';
51
+ // Work around in-tree gmp configure bug with missing flex.
52
+ extra_configure_flags='--disable-shared LEX="touch lex.yy.c"';
50
53
no_install= true;
51
54
// none-*-* disables asm optimizations, bootstrap-testing
52
55
// the compiler more thoroughly.
@@ -56,6 +59,7 @@ host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
56
59
target="none-${host_vendor}-${host_os}"; };
57
60
host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
58
61
extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
62
+ extra_make_flags='AM_CFLAGS="-DNO_ASM"';
59
63
no_install= true; };
60
64
host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
61
65
extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
@@ -64,11 +68,6 @@ host_modules= { module= isl; lib_path=.libs; bootstrap=true;
64
68
extra_configure_flags='--disable-shared @extra_isl_gmp_configure_flags@';
65
69
extra_make_flags='V=1';
66
70
no_install= true; };
67
- host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
68
- extra_configure_flags='--disable-shared --with-gmp=system --with-bits=gmp --with-isl=system';
69
- extra_exports='CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; ';
70
- extra_make_flags='CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1';
71
- no_install= true; };
72
71
host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
73
72
extra_configure_flags='--disable-shared';
74
73
no_install= true; };
@@ -85,11 +84,22 @@ host_modules= { module= libdecnumber; bootstrap=true; };
85
84
host_modules= { module= libgui; };
86
85
host_modules= { module= libiberty; bootstrap=true;
87
86
extra_configure_flags='@extra_host_libiberty_configure_flags@';};
87
+ // Linker plugins may need their own build of libiberty; see
88
+ // gcc/doc/install.texi. We take care that this build of libiberty doesn't get
89
+ // installed. It's a helper library for linker plugins, so we pay attention to
90
+ // @extra_linker_plugin_flags@ and @extra_linker_plugin_configure_flags@.
91
+ host_modules= { module= libiberty-linker-plugin; bootstrap=true;
92
+ module_srcdir=libiberty;
93
+ extra_configure_flags='@extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@';
94
+ extra_make_flags='@extra_linker_plugin_flags@'; };
88
95
// We abuse missing to avoid installing anything for libiconv.
89
96
host_modules= { module= libiconv;
97
+ bootstrap=true;
90
98
extra_configure_flags='--disable-shared';
91
99
no_install= true;
92
- missing= install-info;
100
+ missing= pdf;
101
+ missing= html;
102
+ missing= info;
93
103
missing= install-pdf;
94
104
missing= install-html;
95
105
missing= install-info; };
@@ -98,7 +108,9 @@ host_modules= { module= readline; };
98
108
host_modules= { module= sid; };
99
109
host_modules= { module= sim; };
100
110
host_modules= { module= texinfo; no_install= true; };
101
- host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
111
+ host_modules= { module= zlib; no_install=true; no_check=true;
112
+ bootstrap=true;
113
+ extra_configure_flags='@extra_host_zlib_configure_flags@';};
102
114
host_modules= { module= gdb; };
103
115
host_modules= { module= expect; };
104
116
host_modules= { module= guile; };
@@ -111,21 +123,31 @@ host_modules= { module= libtermcap; no_check=true;
111
123
host_modules= { module= utils; no_check=true; };
112
124
host_modules= { module= gnattools; };
113
125
host_modules= { module= lto-plugin; bootstrap=true;
114
- extra_configure_flags=--enable-shared; };
126
+ extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@';
127
+ extra_make_flags='@extra_linker_plugin_flags@'; };
128
+ host_modules= { module= libcc1; extra_configure_flags=--enable-shared; };
129
+ host_modules= { module= gotools; };
115
130
116
131
target_modules = { module= libstdc++-v3;
117
132
bootstrap=true;
118
133
lib_path=src/.libs;
119
134
raw_cxx=true; };
120
- target_modules = { module= libmudflap; lib_path=.libs; };
121
135
target_modules = { module= libsanitizer;
122
136
bootstrap=true;
123
137
lib_path=.libs;
124
138
raw_cxx=true; };
139
+ target_modules = { module= libmpx;
140
+ bootstrap=true;
141
+ lib_path=.libs; };
125
142
target_modules = { module= libvtv;
126
143
bootstrap=true;
127
144
lib_path=.libs;
128
145
raw_cxx=true; };
146
+ target_modules = { module= libcilkrts;
147
+ lib_path=.libs; };
148
+ target_modules = { module= liboffloadmic;
149
+ lib_path=.libs;
150
+ extra_configure_flags='@extra_liboffloadmic_configure_flags@'; };
129
151
target_modules = { module= libssp; lib_path=.libs; };
130
152
target_modules = { module= newlib; };
131
153
target_modules = { module= libgcc; bootstrap=true; no_check=true; };
@@ -270,6 +292,7 @@ flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
270
292
flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
271
293
flags_to_pass = { flag= NM_FOR_TARGET ; };
272
294
flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
295
+ flags_to_pass = { flag= OBJCOPY_FOR_TARGET ; };
273
296
flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
274
297
flags_to_pass = { flag= READELF_FOR_TARGET ; };
275
298
flags_to_pass = { flag= STRIP_FOR_TARGET ; };
@@ -291,33 +314,40 @@ dependencies = { module=all-build-flex; on=all-build-m4; };
291
314
dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
292
315
dependencies = { module=all-build-m4; on=all-build-texinfo; };
293
316
dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
317
+ dependencies = { module=all-build-libcpp; on=all-build-libiberty; };
294
318
295
319
// Host modules specific to gcc.
296
320
dependencies = { module=configure-gcc; on=configure-intl; };
297
321
dependencies = { module=configure-gcc; on=all-gmp; };
322
+ dependencies = { module=configure-gcc; on=all-mpfr; };
323
+ dependencies = { module=configure-gcc; on=all-mpc; };
324
+ dependencies = { module=configure-gcc; on=all-isl; };
298
325
dependencies = { module=configure-gcc; on=all-lto-plugin; };
299
326
dependencies = { module=configure-gcc; on=all-binutils; };
300
327
dependencies = { module=configure-gcc; on=all-gas; };
301
328
dependencies = { module=configure-gcc; on=all-ld; };
302
329
dependencies = { module=configure-gcc; on=all-gold; };
303
330
dependencies = { module=configure-gcc; on=all-libelf; };
331
+ dependencies = { module=configure-gcc; on=all-libiconv; };
304
332
dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
305
333
dependencies = { module=all-gcc; on=all-intl; };
306
334
dependencies = { module=all-gcc; on=all-mpfr; };
307
335
dependencies = { module=all-gcc; on=all-mpc; };
308
- dependencies = { module=all-gcc; on=all-cloog ; };
336
+ dependencies = { module=all-gcc; on=all-isl ; };
309
337
dependencies = { module=all-gcc; on=all-build-texinfo; };
310
338
dependencies = { module=all-gcc; on=all-build-bison; };
311
339
dependencies = { module=all-gcc; on=all-build-flex; };
312
340
dependencies = { module=all-gcc; on=all-build-libiberty; };
313
341
dependencies = { module=all-gcc; on=all-build-fixincludes; };
342
+ dependencies = { module=all-gcc; on=all-build-libcpp; };
314
343
dependencies = { module=all-gcc; on=all-zlib; };
315
344
dependencies = { module=all-gcc; on=all-libbacktrace; hard=true; };
316
345
dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
317
346
dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
318
347
dependencies = { module=all-gcc; on=all-libiberty; };
319
348
dependencies = { module=all-gcc; on=all-fixincludes; };
320
349
dependencies = { module=all-gcc; on=all-lto-plugin; };
350
+ dependencies = { module=all-gcc; on=all-libiconv; };
321
351
dependencies = { module=info-gcc; on=all-build-libiberty; };
322
352
dependencies = { module=dvi-gcc; on=all-build-libiberty; };
323
353
dependencies = { module=pdf-gcc; on=all-build-libiberty; };
@@ -329,22 +359,33 @@ dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; };
329
359
330
360
dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
331
361
dependencies = { module=configure-libcpp; on=configure-intl; };
362
+ dependencies = { module=configure-libcpp; on=all-libiconv; };
332
363
dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
333
364
dependencies = { module=all-libcpp; on=all-intl; };
365
+ dependencies = { module=all-libcpp; on=all-libiconv; };
334
366
335
367
dependencies = { module=all-fixincludes; on=all-libiberty; };
336
368
337
369
dependencies = { module=all-gnattools; on=all-target-libada; };
370
+ dependencies = { module=all-gnattools; on=all-target-libstdc++-v3; };
338
371
372
+ // Depending on the specific configuration, the LTO plugin will either use the
373
+ // generic libiberty build or the specific build for linker plugins.
339
374
dependencies = { module=all-lto-plugin; on=all-libiberty; };
375
+ dependencies = { module=all-lto-plugin; on=all-libiberty-linker-plugin; };
376
+
377
+ dependencies = { module=configure-libcc1; on=configure-gcc; };
378
+ dependencies = { module=all-libcc1; on=all-gcc; };
379
+
380
+ dependencies = { module=all-gotools; on=all-target-libgo; };
340
381
341
382
dependencies = { module=all-utils; on=all-libiberty; };
342
383
384
+ dependencies = { module=configure-intl; on=all-libiconv; };
343
385
dependencies = { module=configure-mpfr; on=all-gmp; };
344
386
dependencies = { module=configure-mpc; on=all-mpfr; };
345
387
dependencies = { module=configure-isl; on=all-gmp; };
346
- dependencies = { module=configure-cloog; on=all-isl; };
347
- dependencies = { module=configure-cloog; on=all-gmp; };
388
+ dependencies = { module=all-intl; on=all-libiconv; };
348
389
349
390
// Host modules specific to gdb.
350
391
dependencies = { module=configure-gdb; on=all-intl; };
@@ -373,6 +414,7 @@ dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
373
414
dependencies = { module=configure-bfd; on=configure-intl; };
374
415
dependencies = { module=all-bfd; on=all-libiberty; };
375
416
dependencies = { module=all-bfd; on=all-intl; };
417
+ dependencies = { module=all-bfd; on=all-zlib; };
376
418
dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
377
419
dependencies = { module=all-opcodes; on=all-libiberty; };
378
420
@@ -417,6 +459,7 @@ dependencies = { module=all-ld; on=all-build-bison; };
417
459
dependencies = { module=all-ld; on=all-build-flex; };
418
460
dependencies = { module=all-ld; on=all-intl; };
419
461
dependencies = { module=all-ld; on=all-gas; };
462
+ dependencies = { module=all-ld; on=all-binutils; };
420
463
dependencies = { module=install-ld; on=install-gold; };
421
464
dependencies = { module=install-strip-ld; on=install-strip-gold; };
422
465
dependencies = { module=configure-gold; on=configure-intl; };
@@ -492,6 +535,9 @@ dependencies = { module=all-m4; on=all-build-texinfo; };
492
535
// on libgcc and newlib/libgloss.
493
536
lang_env_dependencies = { module=libjava; cxx=true; };
494
537
lang_env_dependencies = { module=libitm; cxx=true; };
538
+ lang_env_dependencies = { module=libffi; cxx=true; };
539
+ lang_env_dependencies = { module=libcilkrts; cxx=true; };
540
+ lang_env_dependencies = { module=liboffloadmic; cxx=true; };
495
541
lang_env_dependencies = { module=newlib; no_c=true; };
496
542
lang_env_dependencies = { module=libgloss; no_c=true; };
497
543
lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
@@ -518,12 +564,14 @@ dependencies = { module=all-target-libjava; on=all-target-libffi; };
518
564
dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
519
565
dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
520
566
dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
567
+ dependencies = { module=configure-target-liboffloadmic; on=configure-target-libgomp; };
521
568
dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; };
522
569
dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; };
523
570
// parallel_list.o and parallel_settings.o depend on omp.h, which is
524
571
// generated by the libgomp configure. Unfortunately, due to the use of
525
572
// recursive make, we can't be that specific.
526
573
dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
574
+ dependencies = { module=all-target-liboffloadmic; on=all-target-libgomp; };
527
575
528
576
dependencies = { module=install-target-libgo; on=install-target-libatomic; };
529
577
dependencies = { module=install-target-libgfortran; on=install-target-libquadmath; };
@@ -532,6 +580,10 @@ dependencies = { module=install-target-libsanitizer; on=install-target-libstdc++
532
580
dependencies = { module=install-target-libsanitizer; on=install-target-libgcc; };
533
581
dependencies = { module=install-target-libvtv; on=install-target-libstdc++-v3; };
534
582
dependencies = { module=install-target-libvtv; on=install-target-libgcc; };
583
+ dependencies = { module=install-target-libcilkrts; on=install-target-libstdc++-v3; };
584
+ dependencies = { module=install-target-libcilkrts; on=install-target-libgcc; };
585
+ dependencies = { module=install-target-liboffloadmic; on=install-target-libstdc++-v3; };
586
+ dependencies = { module=install-target-liboffloadmic; on=install-target-libgcc; };
535
587
dependencies = { module=install-target-libjava; on=install-target-libgcc; };
536
588
dependencies = { module=install-target-libitm; on=install-target-libgcc; };
537
589
dependencies = { module=install-target-libobjc; on=install-target-libgcc; };
@@ -547,11 +599,11 @@ dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
547
599
dependencies = { module=configure-target-newlib; on=all-binutils; };
548
600
dependencies = { module=configure-target-newlib; on=all-ld; };
549
601
dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
602
+ dependencies = { module=configure-target-libgfortran; on=all-target-libbacktrace; };
550
603
551
604
languages = { language=c; gcc-check-target=check-gcc; };
552
605
languages = { language=c++; gcc-check-target=check-c++;
553
606
lib-check-target=check-target-libstdc++-v3;
554
- lib-check-target=check-target-libmudflap-c++;
555
607
lib-check-target=check-target-libitm-c++;
556
608
lib-check-target=check-target-libgomp-c++; };
557
609
languages = { language=fortran; gcc-check-target=check-fortran;
0 commit comments