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 is broken again


Paolo Bonzini writes:
> >> -  if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj; then
> >> -      AC_MSG_ERROR([cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx])
> >> +dnl  if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc; then
> >> +  if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj; then
> >>
> >> changes to check ${ECJ} instead of ${GCJ}, which breaks libjava
> >> build.
> > 
> > This patch works for me.
> 
> Looks like a merge hiccup, your patch may work but it probably is not 
> what Matthias intended to do.

The patch looks ok: prefer GCJ, as done in classpath/{lib,tools}/Makefile.am.
Apparently the merge did succeed without conflicts and I didn't
notice, having ecj in the path as well.

Please mark the section with ## GCJ LOCAL / ## END GCJ LOCAL.

I cannot approve the patch, but would like to see it checked in,
fixing a bootstrap error.

Changes from the classpath import are not explicitely mentioned in the
libjava ChangeLogs, these should be in libjava/classpath/ChangeLog,
maybe its better to include these in the commit message too.

  Matthias


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