GNU Binutils with patches for OS216
Révision | ce6c656dcb8257b7c05975039700e3c9f4c3af3b (tree) |
---|---|
l'heure | 2015-07-14 23:49:50 |
Auteur | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
Sync toplevel configure.ac with GCC
Sync with GCC
2015-06-02 Jason Merrill <jason@redhat.com>
PR bootstrap/66319
* configure.ac: Use -std=gnu++98.
2015-05-28 Mike Frysinger <vapier@gentoo.org>
* configure.ac (--vtable-verify): Use AS_HELP_STRING for help.
* configure: Regenerate.
2015-05-11 Paulo Matos <paulo@matos-sorge.com>
* configure.ac: Fix typo.
* configure: Regenerate.
2015-05-03 Matthias Klose <doko@ubuntu.com>
* configure.ac: Match $host configured with triplets.
* configure: Regenerate.
2015-04-17 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/62077
* configure.ac (--enable-stage1-checking): Default to
release,misc,gimple,rtlflag,tree,types if --disable-checking
or --enable-checking is not specified and DEV-PHASE is not
experimental.
* configure: Regenerated.
2015-03-27 Uros Bizjak <ubizjak@gmail.com>
Install back PR target/47230 fix (Revert the revert).
config/
Sync with GCC
* mh-alpha-linux: Restored.
@@ -1,3 +1,39 @@ | ||
1 | +2015-07-14 H.J. Lu <hongjiu.lu@intel.com> | |
2 | + | |
3 | + Sync with GCC | |
4 | + 2015-06-02 Jason Merrill <jason@redhat.com> | |
5 | + | |
6 | + PR bootstrap/66319 | |
7 | + * configure.ac: Use -std=gnu++98. | |
8 | + | |
9 | + 2015-05-28 Mike Frysinger <vapier@gentoo.org> | |
10 | + | |
11 | + * configure.ac (--vtable-verify): Use AS_HELP_STRING for help. | |
12 | + * configure: Regenerate. | |
13 | + | |
14 | + 2015-05-11 Paulo Matos <paulo@matos-sorge.com> | |
15 | + | |
16 | + * configure.ac: Fix typo. | |
17 | + * configure: Regenerate. | |
18 | + | |
19 | + 2015-05-03 Matthias Klose <doko@ubuntu.com> | |
20 | + | |
21 | + * configure.ac: Match $host configured with triplets. | |
22 | + * configure: Regenerate. | |
23 | + | |
24 | + 2015-04-17 Jakub Jelinek <jakub@redhat.com> | |
25 | + | |
26 | + PR bootstrap/62077 | |
27 | + * configure.ac (--enable-stage1-checking): Default to | |
28 | + release,misc,gimple,rtlflag,tree,types if --disable-checking | |
29 | + or --enable-checking is not specified and DEV-PHASE is not | |
30 | + experimental. | |
31 | + * configure: Regenerated. | |
32 | + | |
33 | + 2015-03-27 Uros Bizjak <ubizjak@gmail.com> | |
34 | + | |
35 | + Install back PR target/47230 fix (Revert the revert). | |
36 | + | |
1 | 37 | 2015-06-30 H.J. Lu <hongjiu.lu@intel.com> |
2 | 38 | |
3 | 39 | * configure.ac (ospace_frag): Enable for i?86*-*-elfiamcu |
@@ -1,3 +1,8 @@ | ||
1 | +2015-07-14 H.J. Lu <hongjiu.lu@intel.com> | |
2 | + | |
3 | + Sync with GCC | |
4 | + * mh-alpha-linux: Restored. | |
5 | + | |
1 | 6 | 2015-06-30 H.J. Lu <hongjiu.lu@intel.com> |
2 | 7 | |
3 | 8 | * dfp.m4 (enable_decimal_float): Also set to yes for |
@@ -0,0 +1,3 @@ | ||
1 | +# Prevent GPREL16 relocation truncation | |
2 | +LDFLAGS += -Wl,--no-relax | |
3 | +BOOT_LDFLAGS += -Wl,--no-relax |
@@ -1502,7 +1502,7 @@ Optional Features: | ||
1502 | 1502 | Mostly useful for compiler development |
1503 | 1503 | --enable-objc-gc enable use of Boehm's garbage collector with the GNU |
1504 | 1504 | Objective-C runtime |
1505 | - --enable-vtable-verify Enable vtable verification feature | |
1505 | + --enable-vtable-verify Enable vtable verification feature | |
1506 | 1506 | --enable-serial-[{host,target,build}-]configure |
1507 | 1507 | force sequential configuration of sub-packages for |
1508 | 1508 | the host, target or build machine, or all |
@@ -3987,6 +3987,9 @@ fi | ||
3987 | 3987 | *-mingw*) |
3988 | 3988 | host_makefile_frag="config/mh-mingw" |
3989 | 3989 | ;; |
3990 | + alpha*-linux*) | |
3991 | + host_makefile_frag="config/mh-alpha-linux" | |
3992 | + ;; | |
3990 | 3993 | hppa*-hp-hpux10*) |
3991 | 3994 | host_makefile_frag="config/mh-pa-hpux10" |
3992 | 3995 | ;; |
@@ -5419,6 +5422,12 @@ $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;} | ||
5419 | 5422 | ;; |
5420 | 5423 | esac |
5421 | 5424 | |
5425 | +# When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a | |
5426 | +# C++98 compiler can still start the bootstrap. | |
5427 | +if test "$enable_bootstrap:$GXX" = "yes:yes"; then | |
5428 | + CXX="$CXX -std=gnu++98" | |
5429 | +fi | |
5430 | + | |
5422 | 5431 | # Used for setting $lt_cv_objdir |
5423 | 5432 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
5424 | 5433 | $as_echo_n "checking for objdir... " >&6; } |
@@ -7456,7 +7465,7 @@ fi | ||
7456 | 7465 | # multilib is not explicitly enabled. |
7457 | 7466 | case "$target:$have_compiler:$host:$target:$enable_multilib" in |
7458 | 7467 | x86_64-*linux*:yes:$build:$build:) |
7459 | - # Make sure we have a developement environment that handles 32-bit | |
7468 | + # Make sure we have a development environment that handles 32-bit | |
7460 | 7469 | dev64=no |
7461 | 7470 | echo "int main () { return 0; }" > conftest.c |
7462 | 7471 | ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c |
@@ -7467,7 +7476,7 @@ case "$target:$have_compiler:$host:$target:$enable_multilib" in | ||
7467 | 7476 | fi |
7468 | 7477 | rm -f conftest* |
7469 | 7478 | if test x${dev64} != xyes ; then |
7470 | - as_fn_error "I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5 | |
7479 | + as_fn_error "I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5 | |
7471 | 7480 | fi |
7472 | 7481 | ;; |
7473 | 7482 | esac |
@@ -14794,7 +14803,19 @@ if test "${enable_stage1_checking+set}" = set; then : | ||
14794 | 14803 | enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking} |
14795 | 14804 | else |
14796 | 14805 | if test "x$enable_checking" = xno || test "x$enable_checking" = x; then |
14797 | - stage1_checking=--enable-checking=yes,types | |
14806 | + # For --disable-checking or implicit --enable-checking=release, avoid | |
14807 | + # setting --enable-checking=gc in the default stage1 checking for LTO | |
14808 | + # bootstraps. See PR62077. | |
14809 | + stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types | |
14810 | + case $BUILD_CONFIG in | |
14811 | + *lto*) | |
14812 | + if test "x$enable_checking" = x && \ | |
14813 | + test -d ${srcdir}/gcc && \ | |
14814 | + test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then | |
14815 | + stage1_checking=--enable-checking=yes,types | |
14816 | + fi;; | |
14817 | + *) stage1_checking=--enable-checking=yes,types;; | |
14818 | + esac | |
14798 | 14819 | else |
14799 | 14820 | stage1_checking=--enable-checking=$enable_checking,types |
14800 | 14821 | fi |
@@ -1308,6 +1308,9 @@ case "${host}" in | ||
1308 | 1308 | *-mingw*) |
1309 | 1309 | host_makefile_frag="config/mh-mingw" |
1310 | 1310 | ;; |
1311 | + alpha*-linux*) | |
1312 | + host_makefile_frag="config/mh-alpha-linux" | |
1313 | + ;; | |
1311 | 1314 | hppa*-hp-hpux10*) |
1312 | 1315 | host_makefile_frag="config/mh-pa-hpux10" |
1313 | 1316 | ;; |
@@ -1447,6 +1450,12 @@ case "$have_compiler:$host:$target:$enable_bootstrap" in | ||
1447 | 1450 | ;; |
1448 | 1451 | esac |
1449 | 1452 | |
1453 | +# When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a | |
1454 | +# C++98 compiler can still start the bootstrap. | |
1455 | +if test "$enable_bootstrap:$GXX" = "yes:yes"; then | |
1456 | + CXX="$CXX -std=gnu++98" | |
1457 | +fi | |
1458 | + | |
1450 | 1459 | # Used for setting $lt_cv_objdir |
1451 | 1460 | _LT_CHECK_OBJDIR |
1452 | 1461 |
@@ -2694,7 +2703,8 @@ AC_SUBST(BUILD_CONFIG) | ||
2694 | 2703 | # Use same top-level configure hooks in libgcc/libstdc++/libvtv. |
2695 | 2704 | AC_MSG_CHECKING([for --enable-vtable-verify]) |
2696 | 2705 | AC_ARG_ENABLE(vtable-verify, |
2697 | -[ --enable-vtable-verify Enable vtable verification feature ], | |
2706 | +[AS_HELP_STRING([--enable-vtable-verify], | |
2707 | + [Enable vtable verification feature])], | |
2698 | 2708 | [case "$enableval" in |
2699 | 2709 | yes) enable_vtable_verify=yes ;; |
2700 | 2710 | no) enable_vtable_verify=no ;; |
@@ -3089,7 +3099,7 @@ fi | ||
3089 | 3099 | # multilib is not explicitly enabled. |
3090 | 3100 | case "$target:$have_compiler:$host:$target:$enable_multilib" in |
3091 | 3101 | x86_64-*linux*:yes:$build:$build:) |
3092 | - # Make sure we have a developement environment that handles 32-bit | |
3102 | + # Make sure we have a development environment that handles 32-bit | |
3093 | 3103 | dev64=no |
3094 | 3104 | echo "int main () { return 0; }" > conftest.c |
3095 | 3105 | ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c |
@@ -3100,7 +3110,7 @@ case "$target:$have_compiler:$host:$target:$enable_multilib" in | ||
3100 | 3110 | fi |
3101 | 3111 | rm -f conftest* |
3102 | 3112 | if test x${dev64} != xyes ; then |
3103 | - AC_MSG_ERROR([I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.]) | |
3113 | + AC_MSG_ERROR([I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.]) | |
3104 | 3114 | fi |
3105 | 3115 | ;; |
3106 | 3116 | esac |
@@ -3508,7 +3518,19 @@ AC_ARG_ENABLE(stage1-checking, | ||
3508 | 3518 | [choose additional checking for stage1 of the compiler])], |
3509 | 3519 | [stage1_checking=--enable-checking=${enable_stage1_checking}], |
3510 | 3520 | [if test "x$enable_checking" = xno || test "x$enable_checking" = x; then |
3511 | - stage1_checking=--enable-checking=yes,types | |
3521 | + # For --disable-checking or implicit --enable-checking=release, avoid | |
3522 | + # setting --enable-checking=gc in the default stage1 checking for LTO | |
3523 | + # bootstraps. See PR62077. | |
3524 | + stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types | |
3525 | + case $BUILD_CONFIG in | |
3526 | + *lto*) | |
3527 | + if test "x$enable_checking" = x && \ | |
3528 | + test -d ${srcdir}/gcc && \ | |
3529 | + test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then | |
3530 | + stage1_checking=--enable-checking=yes,types | |
3531 | + fi;; | |
3532 | + *) stage1_checking=--enable-checking=yes,types;; | |
3533 | + esac | |
3512 | 3534 | else |
3513 | 3535 | stage1_checking=--enable-checking=$enable_checking,types |
3514 | 3536 | fi]) |