[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: System getting stuck by GCC invocation
From: |
Thomas Schwinge |
Subject: |
Re: System getting stuck by GCC invocation |
Date: |
Mon, 19 Jan 2015 15:49:27 +0100 |
User-agent: |
Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
Hi!
On Thu, 25 Sep 2014 08:13:57 +0200, I wrote:
> Here is a test case that gets a Hurd system "stuck". (But I don't know
> yet what "stuck" exactly means.) Unfortunately, the test case is a
> biggie: GCC. The steps to reproduce it, reduced as much as I could:
> [...]
Just upgrading that system's Debian gnumach kernel package to the current
one, I'm no longer reproducing the problem of system instability. I'm
thus unapplying the workaround patch from my local GCC repository
(attached for reference).
Grüße,
Thomas
From 305bce6432a33e6ab3d949a80a7014da0db832d0 Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri, 26 Sep 2014 11:54:40 +0200
Subject: [PATCH] Avoid compile-hog in libjava's gnu/java/nio/charset.lo.
libjava/
* Makefile.am (GCJFLAGS) [gnu/java/nio/charset.lo]: Add
-fno-var-tracking-assignments.
* Makefile.in: Regenerate.
id:"87tx3wi5wa.fsf@schwinge.name"
---
libjava/Makefile.am | 3 +++
libjava/Makefile.in | 3 +++
2 files changed, 6 insertions(+)
diff --git libjava/Makefile.am libjava/Makefile.am
index 39b5199..98852b3 100644
--- libjava/Makefile.am
+++ libjava/Makefile.am
@@ -687,6 +687,9 @@ java/util/concurrent.lo \
java/util/concurrent/atomic.lo \
java/util/concurrent/locks.lo: LIBGCJ_REDUCED_REFLECTION_FLAGS =
+# Avoid compile-hog.
+gnu/java/nio/charset.lo: GCJFLAGS += -fno-var-tracking-assignments
+
%.lo: %.list
$(LTGCJCOMPILE) $(LIBGCJ_REDUCED_REFLECTION_FLAGS) -c -o $@
-fsource-filename=$(here)/classpath/lib/classes -MT $@ -MD -MP -MF $(basename
$@).deps @$<
diff --git libjava/Makefile.in libjava/Makefile.in
index f0f6350..7dc7200 100644
--- libjava/Makefile.in
+++ libjava/Makefile.in
@@ -10639,6 +10639,9 @@ java/util/concurrent.lo \
java/util/concurrent/atomic.lo \
java/util/concurrent/locks.lo: LIBGCJ_REDUCED_REFLECTION_FLAGS =
+# Avoid compile-hog.
+gnu/java/nio/charset.lo: GCJFLAGS += -fno-var-tracking-assignments
+
%.lo: %.list
$(LTGCJCOMPILE) $(LIBGCJ_REDUCED_REFLECTION_FLAGS) -c -o $@
-fsource-filename=$(here)/classpath/lib/classes -MT $@ -MD -MP -MF $(basename
$@).deps @$<
--
2.1.4
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: System getting stuck by GCC invocation,
Thomas Schwinge <=