aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-10-23 11:23:00 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-10-23 11:23:00 +0200
commitc670b00dea7eb205be7ba24c81218fd4707e5aa4 (patch)
tree57a9d77c289927ca7692ba497cde41267daed39c /libjava
parentf7d08a632013705db0d48e089777c284241c8336 (diff)
downloadgcc-c670b00dea7eb205be7ba24c81218fd4707e5aa4.zip
gcc-c670b00dea7eb205be7ba24c81218fd4707e5aa4.tar.gz
gcc-c670b00dea7eb205be7ba24c81218fd4707e5aa4.tar.bz2
re PR libgcj/37893 (ICE in java during bootstrap at revision 141303)
PR java/37893 * tools/Makefile.am (tools.zip): Generate *.lst files always, not just in JAVA_MAINTAINER_MODE. * tools/Makefile.in: Regenerated. From-SVN: r141320
Diffstat (limited to 'libjava')
-rw-r--r--libjava/classpath/ChangeLog.gcj7
-rwxr-xr-xlibjava/classpath/tools/Makefile.am10
-rw-r--r--libjava/classpath/tools/Makefile.in38
3 files changed, 32 insertions, 23 deletions
diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj
index 7e7c40a..bf8bf23 100644
--- a/libjava/classpath/ChangeLog.gcj
+++ b/libjava/classpath/ChangeLog.gcj
@@ -1,3 +1,10 @@
+2008-10-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR java/37893
+ * tools/Makefile.am (tools.zip): Generate *.lst files always, not
+ just in JAVA_MAINTAINER_MODE.
+ * tools/Makefile.in: Regenerated.
+
2008-10-21 Matthias Klose <doko@ubuntu.com>
* classpath/tools/gnu/classpath/tools/gjdoc/expr/Java*: Move from ...
diff --git a/libjava/classpath/tools/Makefile.am b/libjava/classpath/tools/Makefile.am
index ad88b1c..31c9a6c 100755
--- a/libjava/classpath/tools/Makefile.am
+++ b/libjava/classpath/tools/Makefile.am
@@ -329,10 +329,8 @@ if CREATE_GJDOC_PARSER
$(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
endif
endif
-## Compile ASM separately as it is latin-1 encoded.
+endif
find $(srcdir)/external/asm -name '*.java' -print > asm.lst
- AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
- $$AC -g -w -d $(srcdir)/asm @asm.lst
find $(srcdir)/gnu/classpath/tools \
$(srcdir)/com/sun/javadoc \
$(srcdir)/com/sun/tools/doclets \
@@ -350,8 +348,12 @@ endif
else \
echo -n > vm-tools.lst; \
fi
- $(JCOMPILER) $(USE_JAVAC_FLAGS) -g -d $(srcdir)/classes @classes.lst @vm-tools.lst
cat classes.lst asm.lst vm-tools.lst > all-classes.lst
+if JAVA_MAINTAINER_MODE
+## Compile ASM separately as it is latin-1 encoded.
+ AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
+ $$AC -g -w -d $(srcdir)/asm @asm.lst
+ $(JCOMPILER) $(USE_JAVAC_FLAGS) -g -d $(srcdir)/classes @classes.lst @vm-tools.lst
endif
## END GCJ LOCAL
## Copy over tools resource files.
diff --git a/libjava/classpath/tools/Makefile.in b/libjava/classpath/tools/Makefile.in
index 6a86342..70518fb 100644
--- a/libjava/classpath/tools/Makefile.in
+++ b/libjava/classpath/tools/Makefile.in
@@ -1315,28 +1315,28 @@ $(TOOLS_ZIP): $(ALL_TOOLS_FILES)
@CREATE_GJDOC_PARSER_TRUE@@CREATE_GJDOC_TRUE@@JAVA_MAINTAINER_MODE_TRUE@ @mkdir_p@ $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr
@CREATE_GJDOC_PARSER_TRUE@@CREATE_GJDOC_TRUE@@JAVA_MAINTAINER_MODE_TRUE@ $(ANTLR) -o $(gjdoc_gendir)/gnu/classpath/tools/gjdoc/expr/ \
@CREATE_GJDOC_PARSER_TRUE@@CREATE_GJDOC_TRUE@@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/gnu/classpath/tools/gjdoc/expr/java-expression.g
-@JAVA_MAINTAINER_MODE_TRUE@ find $(srcdir)/external/asm -name '*.java' -print > asm.lst
+ find $(srcdir)/external/asm -name '*.java' -print > asm.lst
+ find $(srcdir)/gnu/classpath/tools \
+ $(srcdir)/com/sun/javadoc \
+ $(srcdir)/com/sun/tools/doclets \
+ $(srcdir)/com/sun/tools/javadoc \
+ $(srcdir)/com/sun/tools/javac \
+ $(srcdir)/com/sun/tools/javah \
+ $(srcdir)/sun/rmi/rmic \
+ $(GJDOC_EX) \
+ -name '*.java' -print > classes.lst
+ if [ -f $(top_builddir)/../vm-tools-packages ]; then \
+ : > vm-tools.lst; \
+ for pkg in `cat $(top_builddir)/../vm-tools-packages`; do \
+ $(FIND) $(top_srcdir)/../$$pkg -follow -name '*.java' -print >> vm-tools.lst; \
+ done \
+ else \
+ echo -n > vm-tools.lst; \
+ fi
+ cat classes.lst asm.lst vm-tools.lst > all-classes.lst
@JAVA_MAINTAINER_MODE_TRUE@ AC=`echo $(JCOMPILER) | sed -e 's/UTF-8/ISO-8859-1/g'`; \
@JAVA_MAINTAINER_MODE_TRUE@ $$AC -g -w -d $(srcdir)/asm @asm.lst
-@JAVA_MAINTAINER_MODE_TRUE@ find $(srcdir)/gnu/classpath/tools \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/com/sun/javadoc \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/com/sun/tools/doclets \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/com/sun/tools/javadoc \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/com/sun/tools/javac \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/com/sun/tools/javah \
-@JAVA_MAINTAINER_MODE_TRUE@ $(srcdir)/sun/rmi/rmic \
-@JAVA_MAINTAINER_MODE_TRUE@ $(GJDOC_EX) \
-@JAVA_MAINTAINER_MODE_TRUE@ -name '*.java' -print > classes.lst
-@JAVA_MAINTAINER_MODE_TRUE@ if [ -f $(top_builddir)/../vm-tools-packages ]; then \
-@JAVA_MAINTAINER_MODE_TRUE@ : > vm-tools.lst; \
-@JAVA_MAINTAINER_MODE_TRUE@ for pkg in `cat $(top_builddir)/../vm-tools-packages`; do \
-@JAVA_MAINTAINER_MODE_TRUE@ $(FIND) $(top_srcdir)/../$$pkg -follow -name '*.java' -print >> vm-tools.lst; \
-@JAVA_MAINTAINER_MODE_TRUE@ done \
-@JAVA_MAINTAINER_MODE_TRUE@ else \
-@JAVA_MAINTAINER_MODE_TRUE@ echo -n > vm-tools.lst; \
-@JAVA_MAINTAINER_MODE_TRUE@ fi
@JAVA_MAINTAINER_MODE_TRUE@ $(JCOMPILER) $(USE_JAVAC_FLAGS) -g -d $(srcdir)/classes @classes.lst @vm-tools.lst
-@JAVA_MAINTAINER_MODE_TRUE@ cat classes.lst asm.lst vm-tools.lst > all-classes.lst
@list=`cd $(srcdir)/resource && find gnu/classpath/tools com/sun/tools/javac \
sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name \*.jav -print`; \
for p in $$list; do \