• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


コミットメタ情報

リビジョンce6c656dcb8257b7c05975039700e3c9f4c3af3b (tree)
日時2015-07-14 23:49:50
作者H.J. Lu <hjl.tools@gmai...>
コミッター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.

変更サマリ

差分

--- a/ChangeLog
+++ b/ChangeLog
@@ -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+
137 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
238
339 * configure.ac (ospace_frag): Enable for i?86*-*-elfiamcu
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -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+
16 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
27
38 * dfp.m4 (enable_decimal_float): Also set to yes for
--- /dev/null
+++ b/config/mh-alpha-linux
@@ -0,0 +1,3 @@
1+# Prevent GPREL16 relocation truncation
2+LDFLAGS += -Wl,--no-relax
3+BOOT_LDFLAGS += -Wl,--no-relax
--- a/configure
+++ b/configure
@@ -1502,7 +1502,7 @@ Optional Features:
15021502 Mostly useful for compiler development
15031503 --enable-objc-gc enable use of Boehm's garbage collector with the GNU
15041504 Objective-C runtime
1505- --enable-vtable-verify Enable vtable verification feature
1505+ --enable-vtable-verify Enable vtable verification feature
15061506 --enable-serial-[{host,target,build}-]configure
15071507 force sequential configuration of sub-packages for
15081508 the host, target or build machine, or all
@@ -3987,6 +3987,9 @@ fi
39873987 *-mingw*)
39883988 host_makefile_frag="config/mh-mingw"
39893989 ;;
3990+ alpha*-linux*)
3991+ host_makefile_frag="config/mh-alpha-linux"
3992+ ;;
39903993 hppa*-hp-hpux10*)
39913994 host_makefile_frag="config/mh-pa-hpux10"
39923995 ;;
@@ -5419,6 +5422,12 @@ $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
54195422 ;;
54205423 esac
54215424
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+
54225431 # Used for setting $lt_cv_objdir
54235432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
54245433 $as_echo_n "checking for objdir... " >&6; }
@@ -7456,7 +7465,7 @@ fi
74567465 # multilib is not explicitly enabled.
74577466 case "$target:$have_compiler:$host:$target:$enable_multilib" in
74587467 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
74607469 dev64=no
74617470 echo "int main () { return 0; }" > conftest.c
74627471 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
@@ -7467,7 +7476,7 @@ case "$target:$have_compiler:$host:$target:$enable_multilib" in
74677476 fi
74687477 rm -f conftest*
74697478 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
74717480 fi
74727481 ;;
74737482 esac
@@ -14794,7 +14803,19 @@ if test "${enable_stage1_checking+set}" = set; then :
1479414803 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
1479514804 else
1479614805 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
1479814819 else
1479914820 stage1_checking=--enable-checking=$enable_checking,types
1480014821 fi
--- a/configure.ac
+++ b/configure.ac
@@ -1308,6 +1308,9 @@ case "${host}" in
13081308 *-mingw*)
13091309 host_makefile_frag="config/mh-mingw"
13101310 ;;
1311+ alpha*-linux*)
1312+ host_makefile_frag="config/mh-alpha-linux"
1313+ ;;
13111314 hppa*-hp-hpux10*)
13121315 host_makefile_frag="config/mh-pa-hpux10"
13131316 ;;
@@ -1447,6 +1450,12 @@ case "$have_compiler:$host:$target:$enable_bootstrap" in
14471450 ;;
14481451 esac
14491452
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+
14501459 # Used for setting $lt_cv_objdir
14511460 _LT_CHECK_OBJDIR
14521461
@@ -2694,7 +2703,8 @@ AC_SUBST(BUILD_CONFIG)
26942703 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
26952704 AC_MSG_CHECKING([for --enable-vtable-verify])
26962705 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])],
26982708 [case "$enableval" in
26992709 yes) enable_vtable_verify=yes ;;
27002710 no) enable_vtable_verify=no ;;
@@ -3089,7 +3099,7 @@ fi
30893099 # multilib is not explicitly enabled.
30903100 case "$target:$have_compiler:$host:$target:$enable_multilib" in
30913101 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
30933103 dev64=no
30943104 echo "int main () { return 0; }" > conftest.c
30953105 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
@@ -3100,7 +3110,7 @@ case "$target:$have_compiler:$host:$target:$enable_multilib" in
31003110 fi
31013111 rm -f conftest*
31023112 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.])
31043114 fi
31053115 ;;
31063116 esac
@@ -3508,7 +3518,19 @@ AC_ARG_ENABLE(stage1-checking,
35083518 [choose additional checking for stage1 of the compiler])],
35093519 [stage1_checking=--enable-checking=${enable_stage1_checking}],
35103520 [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
35123534 else
35133535 stage1_checking=--enable-checking=$enable_checking,types
35143536 fi])