I just noticed that building rhug from cvs fails with the current gcc from cvs. I'm reporting this here because gcc 3.4.2 seems to build the problematic file so this might be regression.
$ CVS_RSH=ssh cvs -d:pserver:[EMAIL PROTECTED]:/cvs/rhug -z9 co rhug $ cd rhug $ export LD_LIBRARY_PATH=$INSTALLDIR/gcc/lib $ PATH=$INSTALLDIR/gcc/bin:$PATH ./configure --prefix=$INSTALLDIR/rhug $ PATH=$INSTALLDIR/gcc/bin:$PATH make ... gcj --encoding=ISO-8859-1 -Wno-deprecated --classpath=upstream/src:upstream:./upstream/src:./upstream -fassume-compiled -g -O2 -c upstream/junit/tests/runner/AllTests.java -MT upstream/junit/tests/runner/AllTests.lo -MD -MP -MF .deps/upstream/junit/tests/runner/AllTests.TPlo -fPIC -o upstream/junit/tests/runner/.libs/AllTests.o upstream/junit/tests/runner/AllTests.java:19: error: cannot find file for class junit.runner.Sorter$Swapper make[1]: *** [upstream/junit/tests/runner/AllTests.lo] Error 1 make[1]: Leaving directory `/home/lindi/src-2004-11-27/rhug/junit' make: *** [all-recursive] Error 1 Next I managed to reproduce the issue with [EMAIL PROTECTED] rhug]$ cd junit/ [EMAIL PROTECTED] junit]$ PATH=$INSTALLDIR/gcc/bin:$PATH gcj --encoding=ISO-8859-1 -Wno-deprecated --classpath=upstream/src:upstream:./upstream/src:./upstream -fassume-compiled -g -O2 -c upstream/junit/tests/runner/AllTests.java -MT upstream/junit/tests/runner/AllTests.lo -MD -MP -MF .deps/upstream/junit/tests/runner/AllTests.TPlo -fPIC -o upstream/junit/tests/runner/.libs/AllTests.o [EMAIL PROTECTED] junit]$ PATH=$INSTALLDIR/gcc/bin:$PATH gcj --version gcj (GCC) 4.0.0 20041127 (experimental) ... and noticed that the an older gcc handles the situation without errors [EMAIL PROTECTED] junit]$ gcj --encoding=ISO-8859-1 -Wno-deprecated --classpath=upstream/src:upstream:./upstream/src:./upstream -fassume-compiled -g -O2 -c upstream/junit/tests/runner/AllTests.java -MT upstream/junit/tests/runner/AllTests.lo -MD -MP -MF .deps/upstream/junit/tests/runner/AllTests.TPlo -fPIC -o upstream/junit/tests/runner/.libs/AllTests.o [EMAIL PROTECTED] junit]$ gcj --version gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) ... Is this regression in gcc, a bug in rhug or something else? -- Summary: rhug build problem, regression? Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: timo dot lindfors at iki dot fi CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18811