This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: PR 13468
- From: Tom Tromey <tromey at redhat dot com>
- To: libgcj patches <java-patches at gcc dot gnu dot org>
- Date: 21 Jan 2004 16:47:21 -0700
- Subject: Patch: FYI: PR 13468
- Reply-to: tromey at redhat dot com
I'm checking this in on the 3.4 branch.
This works around PR 13468. I believe Bryce has a more substantial
fix which is too big to go in 3.4.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
PR java/13468:
* Makefile.in: Rebuilt.
* Makefile.am (interpret.lo): New target.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.354.2.1
diff -u -r1.354.2.1 Makefile.am
--- Makefile.am 20 Jan 2004 21:22:14 -0000 1.354.2.1
+++ Makefile.am 21 Jan 2004 23:22:28 -0000
@@ -449,6 +449,13 @@
$(c_files): %.lo: %.c
$(LTCOMPILE) -c -o $@ $<
+## A special rule for interpret.lo for the time being. Our current
+## approach to stack-trace handling is fragile and will not work with
+## unit-at-a-time. So, for now we disable it. This will be fixed by
+## a larger patch in the future.
+interpret.lo: interpret.cc
+ $(LTCXXCOMPILE) -fno-unit-at-a-time -c -o $@ $<
+
$(extra_cc_files): %.lo: %.cc
$(LTCXXCOMPILE) -c -o $@ $<