This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, libjava/classpath]: Fix overriding recipe for target 'gjdoc' build warning


On 08/11/2015 12:03 PM, Uros Bizjak wrote:
On Fri, Aug 7, 2015 at 1:21 PM, Uros Bizjak <ubizjak@gmail.com> wrote:

Attached patch fixes:

Makefile:871: warning: overriding recipe for target 'gjdoc'
Makefile:786: warning: ignoring old recipe for target 'gjdoc'

build warning when compiling libjava.

The problem was in configure.ac: we have to depend gjdoc build on
CREATE_WRAPPERS in the same way as other tools are dependent a couple
of lines above.

While in this area, I also removed obsolete automake < 1.11
workaround. As mentioned in HACKING:  "Make sure you have Automake
1.11.1 installed. Exactly that version!"

I have included all generated files in the diff. The changes are small
and they illustrate the effect of the patch.

2015-08-07  Uros Bizjak  <ubizjak@gmail.com>

     * configure.ac (tools/gjdoc): Depend on CREATE_WRAPPERS.
     * configure: Regenerate.
     * tools/Makefile.am: Remove unneeded dependencies for Automake 1.11.
     * tools/Makefile.in: Regenerate.

Patch was bootstrapped on x86_64-linux-gnu, Fedora 22.

OK for GCC mainline?

I have committed this patch to GCC mainline SVN repository. Both
issues can be considered obvious and the fix is trivial.

Also, it looks like the official classpath repository is a dead place
for a couple of years.
It's probably time for the occasional discussion WRT dropping gcj/libjava from the default languages and replace them with either Ada or Go.

gcj/libjava are dead IMHO.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]