public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/18811] New: rhug build problem, regression?
@ 2004-12-03 15:56 timo dot lindfors at iki dot fi
  2004-12-03 18:19 ` [Bug java/18811] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: timo dot lindfors at iki dot fi @ 2004-12-03 15:56 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-12-08 14:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 15:56 [Bug java/18811] New: rhug build problem, regression? timo dot lindfors at iki dot fi
2004-12-03 18:19 ` [Bug java/18811] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-03 18:28 ` aph at gcc dot gnu dot org
2004-12-07 18:53 ` pinskia at gcc dot gnu dot org
2004-12-07 19:07 ` pinskia at gcc dot gnu dot org
2004-12-08 14:09 ` cvs-commit at gcc dot gnu dot org
2004-12-08 14:14 ` aph at gcc dot gnu dot org
2004-12-08 14:14 ` aph at gcc dot gnu dot org
2004-12-08 14:36 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).