Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3 Restore the local change



details:   https://anonhg.NetBSD.org/src/rev/56ca74152be7
branches:  trunk
changeset: 343564:56ca74152be7
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Feb 14 19:08:10 2016 +0000

description:
Restore the local change
  -gcc: internal compiler error: Killed (program cc1plus)
  +gcc: internal compiler error: Killed (program cc1plus received signal 9)
which was lost in an update somewhere after netbsd-6.

This clarification was found in the past to significantly reduce the
number of bug reports caused by people running out of swap, such as
(most likely) seen again today in PR 50802.

XXX: pullup-7

diffstat:

 external/gpl3/gcc.old/dist/gcc/gcc.c |  5 +++--
 external/gpl3/gcc/dist/gcc/gcc.c     |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 885ddfb6c6cb -r 56ca74152be7 external/gpl3/gcc.old/dist/gcc/gcc.c
--- a/external/gpl3/gcc.old/dist/gcc/gcc.c      Sun Feb 14 19:00:04 2016 +0000
+++ b/external/gpl3/gcc.old/dist/gcc/gcc.c      Sun Feb 14 19:08:10 2016 +0000
@@ -2819,8 +2819,9 @@
              }
            else
 #endif
-             internal_error ("%s (program %s)",
-                             strsignal (WTERMSIG (status)), commands[i].prog);
+             internal_error ("%s (program %s received signal %d)",
+                             strsignal (WTERMSIG (status)), commands[i].prog,
+                             WTERMSIG (status));
          }
        else if (WIFEXITED (status)
                 && WEXITSTATUS (status) >= MIN_FATAL_STATUS)
diff -r 885ddfb6c6cb -r 56ca74152be7 external/gpl3/gcc/dist/gcc/gcc.c
--- a/external/gpl3/gcc/dist/gcc/gcc.c  Sun Feb 14 19:00:04 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/gcc.c  Sun Feb 14 19:08:10 2016 +0000
@@ -2928,9 +2928,10 @@
              }
            else
 #endif
-             internal_error_no_backtrace ("%s (program %s)",
+             internal_error_no_backtrace ("%s (program %s received signal %d)",
                                           strsignal (WTERMSIG (status)),
-                                          commands[i].prog);
+                                          commands[i].prog,
+                                          WTERMSIG (status));
          }
        else if (WIFEXITED (status)
                 && WEXITSTATUS (status) >= MIN_FATAL_STATUS)



Home | Main Index | Thread Index | Old Index