bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/26694] find gets a bad option


From: gnu_andrew at member dot fsf.org
Subject: [Bug classpath/26694] find gets a bad option
Date: Tue, 27 Jun 2017 21:45:46 +0000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26694

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |gnu_andrew at member dot 
fsf.org
         Resolution|WONTFIX                     |---

--- Comment #9 from Andrew John Hughes <gnu_andrew at member dot fsf.org> ---
This is a Classpath bug. In general, they are nothing to do with GCC/GCJ.

However, this one does seem to have been due to a local Makefile addition. I
can't see -follow in the Classpath sources or any trace of it in the change
history:

--- tools/Makefile.am   2015-08-20 03:39:21.718646698 +0100
+++ ../gcj/sources/trunk/libjava/classpath/tools/Makefile.am    2012-03-14
10:10:06.000000000 +0000
@@ -328,8 +345,22 @@
             $(srcdir)/sun/rmi/rmic \
             $(GJDOC_EX) \
             -name '*.java' -print > classes.lst
-       $(JCOMPILER) -g -d classes @classes.lst
-       cat classes.lst asm.lst > all-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
+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.
        @list=`cd $(srcdir)/resource && find gnu/classpath/tools
com/sun/tools/javac \
               sun/rmi/rmic $(GJDOC_EX) -name \*.properties -print -o -name
\*.jav -print`; \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]