From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30129 invoked by alias); 3 Dec 2004 15:56:16 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 30110 invoked by uid 48); 3 Dec 2004 15:56:15 -0000 Date: Fri, 03 Dec 2004 15:56:00 -0000 From: "timo dot lindfors at iki dot fi" To: java-prs@gcc.gnu.org Message-ID: <20041203155613.18811.timo.lindfors@iki.fi> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/18811] New: rhug build problem, regression? X-Bugzilla-Reason: CC X-SW-Source: 2004-q4/txt/msg00513.txt.bz2 List-Id: 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:anoncvs@sources.redhat.com:/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 [lindi@protu rhug]$ cd junit/ [lindi@protu 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 [lindi@protu 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 [lindi@protu 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 [lindi@protu 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