public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap
@ 2004-10-22  3:01 aaronavay62 at aaronwl dot com
  2004-10-22  3:03 ` [Bug java/18104] " aaronavay62 at aaronwl dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-10-22  3:01 UTC (permalink / raw)
  To: java-prs

The libjava Makefiles are hardwired to use ':' as a CLASSPATH separator.  Gcj,
however, picks the separator based on system-specific configuration, and so
correctly chooses ';' on MinGW.  This will cause bootstrap in libjava to fail
when the incorrect CLASSPATH separator as used, as it sees all components of the
CLASSPATH as a single file, and so cannot find any files.

-- 
           Summary: Incorrect CLASSPATH separator in libjava breaks
                    bootstrap
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronavay62 at aaronwl dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug java/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
@ 2004-10-22  3:03 ` aaronavay62 at aaronwl dot com
  2004-10-22  5:18 ` aaronavay62 at aaronwl dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-10-22  3:03 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-10-22 03:03 -------
A proposed patch is here:
<http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02853.html>.  The Windows GCC Java
community has been using a patch similar to this for years.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug java/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
  2004-10-22  3:03 ` [Bug java/18104] " aaronavay62 at aaronwl dot com
@ 2004-10-22  5:18 ` aaronavay62 at aaronwl dot com
  2004-10-22 11:41 ` [Bug libgcj/18104] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-10-22  5:18 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |18107
              nThis|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug libgcj/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
  2004-10-22  3:03 ` [Bug java/18104] " aaronavay62 at aaronwl dot com
  2004-10-22  5:18 ` aaronavay62 at aaronwl dot com
@ 2004-10-22 11:41 ` pinskia at gcc dot gnu dot org
  2004-10-27  2:43 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-22 11:41 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aaronavay62 at aaronwl dot
                   |dot org                     |com
             Status|UNCONFIRMED                 |ASSIGNED
          Component|java                        |libgcj
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-22 11:41:37
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug libgcj/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
                   ` (2 preceding siblings ...)
  2004-10-22 11:41 ` [Bug libgcj/18104] " pinskia at gcc dot gnu dot org
@ 2004-10-27  2:43 ` cvs-commit at gcc dot gnu dot org
  2004-10-27  2:46 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-27  2:43 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-27 02:43 -------
Subject: Bug 18104

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	aaronwl@gcc.gnu.org	2004-10-27 02:43:44

Modified files:
	libjava        : ChangeLog Makefile.am Makefile.in configure 
	                 configure.ac 
	libjava/gcj    : Makefile.in 
	libjava/include: Makefile.in 
	libjava/testsuite: Makefile.in 
	libjava/testsuite/lib: libjava.exp 

Log message:
	PR libgcj/18104
	* Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
	colon.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* configure.ac (CLASSPATH_SEPARATOR): Define.
	* gcj/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/lib/libjava.exp (libjava_arguments): Fix
	CLASSPATH separator handling for Windows.
	----------------------------------------------------------------------

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3172&r2=1.3173
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.am.diff?cvsroot=gcc&r1=1.421&r2=1.422
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/Makefile.in.diff?cvsroot=gcc&r1=1.449&r2=1.450
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.241&r2=1.242
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/Makefile.in.diff?cvsroot=gcc&r1=1.57&r2=1.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/Makefile.in.diff?cvsroot=gcc&r1=1.58&r2=1.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/Makefile.in.diff?cvsroot=gcc&r1=1.68&r2=1.69
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/lib/libjava.exp.diff?cvsroot=gcc&r1=1.60&r2=1.61



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug libgcj/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
                   ` (3 preceding siblings ...)
  2004-10-27  2:43 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-27  2:46 ` pinskia at gcc dot gnu dot org
  2004-11-02 16:11 ` mckinlay at redhat dot com
  2004-11-02 22:32 ` aaronavay62 at aaronwl dot com
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-27  2:46 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-27 02:46 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug libgcj/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
                   ` (4 preceding siblings ...)
  2004-10-27  2:46 ` pinskia at gcc dot gnu dot org
@ 2004-11-02 16:11 ` mckinlay at redhat dot com
  2004-11-02 22:32 ` aaronavay62 at aaronwl dot com
  6 siblings, 0 replies; 8+ messages in thread
From: mckinlay at redhat dot com @ 2004-11-02 16:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mckinlay at redhat dot com  2004-11-02 16:11 -------
Would it make more sense for GCJ to accept ':' instead of/as well as ';' on
mingw? Perhaps with some logic to distinguish a drive-letter ':'? The Makefiles
are sure ugly now with all this CLASSPATH_SEPARATOR stuff :(

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

* [Bug libgcj/18104] Incorrect CLASSPATH separator in libjava breaks bootstrap
  2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
                   ` (5 preceding siblings ...)
  2004-11-02 16:11 ` mckinlay at redhat dot com
@ 2004-11-02 22:32 ` aaronavay62 at aaronwl dot com
  6 siblings, 0 replies; 8+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-11-02 22:32 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-11-02 22:31 -------
I agree with you with regards to the ugliness.

The entire situation is really too bad; the mutually incompatible path
separators used by Unix and Windows is definitely one of the top ten
compatibility problems in build systems.

GCJ definitely needs to accept ; on Windows, as whats what javac does.  I think
it would also be excellent if it accepted :, but I don't know the whole story
behind this.  In particular, I think there was some sort of code that could
handle nontrivial Windows path separator parsing, somewhere in GCC, but it was
removed, or something.  I really don't know enough about the issue to fix it myself.

Maybe there is some other way to fix this in the Makefiles, to make it so it
isn't so ugly?  Should a bug be opened for "CLASSPATH_SEPARATOR in Makefiles is
ugly"?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18104


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

end of thread, other threads:[~2004-11-02 22:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-22  3:01 [Bug java/18104] New: Incorrect CLASSPATH separator in libjava breaks bootstrap aaronavay62 at aaronwl dot com
2004-10-22  3:03 ` [Bug java/18104] " aaronavay62 at aaronwl dot com
2004-10-22  5:18 ` aaronavay62 at aaronwl dot com
2004-10-22 11:41 ` [Bug libgcj/18104] " pinskia at gcc dot gnu dot org
2004-10-27  2:43 ` cvs-commit at gcc dot gnu dot org
2004-10-27  2:46 ` pinskia at gcc dot gnu dot org
2004-11-02 16:11 ` mckinlay at redhat dot com
2004-11-02 22:32 ` aaronavay62 at aaronwl dot com

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).