[gcc-7] 69/354: * In GCC ICE dumps, prefix each line with the PID of the driver.
Ximin Luo
infinity0 at debian.org
Thu Nov 23 15:50:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository gcc-7.
commit 36f92d8af6edd80ef33a6c5e7f9409e686ba9a96
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Thu Dec 8 11:00:19 2016 +0000
* In GCC ICE dumps, prefix each line with the PID of the driver.
git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9171 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 1 +
debian/patches/gcc-ice-dump.diff | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c8fe521..02ef7aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ gcc-7 (7-20161201-2) UNRELEASED; urgency=medium
* Build the cilk runtime on armel, armhf, sparc and sparc64.
* Use --push-state/--pop-state for gold as well when linking libtsan.
+ * In GCC ICE dumps, prefix each line with the PID of the driver.
-- Matthias Klose <doko at debian.org> Thu, 01 Dec 2016 20:10:32 +0100
diff --git a/debian/patches/gcc-ice-dump.diff b/debian/patches/gcc-ice-dump.diff
index 1edd391..62d82f0 100644
--- a/debian/patches/gcc-ice-dump.diff
+++ b/debian/patches/gcc-ice-dump.diff
@@ -27,7 +27,7 @@ Index: b/src/gcc/gcc.c
+ {
+ char *cmd = XNEWVEC (char, 50 + strlen (*out_file));
+
-+ sprintf(cmd, "/bin/cat %s >&2", *out_file);
++ sprintf(cmd, "/usr/bin/awk '{print \"%d:\", $0}' %s >&2", getpid(), *out_file);
+ fprintf(stderr, "=== BEGIN GCC DUMP ===\n");
+ fflush(stderr);
+ system(cmd);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git
More information about the Reproducible-commits
mailing list