public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/28329]  New: [ecj] gcj leaves .jar and .zip files in /tmp
@ 2006-07-10 19:35 tromey at gcc dot gnu dot org
  2006-07-11  1:20 ` [Bug java/28329] " rmathew at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-07-10 19:35 UTC (permalink / raw)
  To: java-prs

This only happens with the gcj on the gcj-eclipse branch.

Doing a build with the new gcj leaves many .zip and .jar files
in /tmp.  This is probably a bug in java/lang-specs.h, but could
also be a bug in gcc.c.


-- 
           Summary: [ecj] gcj leaves .jar and .zip files in /tmp
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
OtherBugsDependingO 28067
             nThis:


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


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

* [Bug java/28329] [ecj] gcj leaves .jar and .zip files in /tmp
  2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
@ 2006-07-11  1:20 ` rmathew at gcc dot gnu dot org
  2006-07-11 19:28 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rmathew at gcc dot gnu dot org @ 2006-07-11  1:20 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from rmathew at gcc dot gnu dot org  2006-07-11 01:20 -------
Perhaps the "%d" string was omitted in the relevant specs:

  http://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html

Just guessing.


-- 


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


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

* [Bug java/28329] [ecj] gcj leaves .jar and .zip files in /tmp
  2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
  2006-07-11  1:20 ` [Bug java/28329] " rmathew at gcc dot gnu dot org
@ 2006-07-11 19:28 ` tromey at gcc dot gnu dot org
  2006-07-12 19:29 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-07-11 19:28 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-07-11 19:28 -------
%U implies %d

I debugged today and set a breakpoint in delete_if_ordinary.
I get this:

Breakpoint 1, delete_if_ordinary (
    name=0x9af48c0 "-fzip-dependency=/tmp/ccQurYQS.zip")
    at ../../trunk/gcc/gcc.c:2349

So the problem seems to be that gcc.c assumes that %U is only used
as a standalone argument.  This makes sense, so the fix, I think, is
to change the specs to pass this argument standalone somewhere.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-11 19:28:31
               date|                            |


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


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

* [Bug java/28329] [ecj] gcj leaves .jar and .zip files in /tmp
  2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
  2006-07-11  1:20 ` [Bug java/28329] " rmathew at gcc dot gnu dot org
  2006-07-11 19:28 ` tromey at gcc dot gnu dot org
@ 2006-07-12 19:29 ` tromey at gcc dot gnu dot org
  2006-07-12 20:01 ` tromey at gcc dot gnu dot org
  2006-07-12 20:06 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-07-12 19:29 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2006-07-12 19:29 -------
testing a patch


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-07-11 19:28:31         |2006-07-12 19:29:29
               date|                            |


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


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

* [Bug java/28329] [ecj] gcj leaves .jar and .zip files in /tmp
  2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-07-12 19:29 ` tromey at gcc dot gnu dot org
@ 2006-07-12 20:01 ` tromey at gcc dot gnu dot org
  2006-07-12 20:06 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-07-12 20:01 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2006-07-12 20:01 -------
Subject: Bug 28329

Author: tromey
Date: Wed Jul 12 20:01:47 2006
New Revision: 115396

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115396
Log:
        PR java/28329:
        * lang-specs.h: Pass '%U'-based options as separate arguments.
        Use -faux-classpath.
        * lang.c (java_handle_option): Handle OPT_faux_classpath.
        * lang.opt (faux-classpath): New option.

Modified:
    branches/gcj-eclipse/gcc/java/ChangeLog
    branches/gcj-eclipse/gcc/java/lang-specs.h
    branches/gcj-eclipse/gcc/java/lang.c
    branches/gcj-eclipse/gcc/java/lang.opt


-- 


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


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

* [Bug java/28329] [ecj] gcj leaves .jar and .zip files in /tmp
  2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-07-12 20:01 ` tromey at gcc dot gnu dot org
@ 2006-07-12 20:06 ` tromey at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-07-12 20:06 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from tromey at gcc dot gnu dot org  2006-07-12 20:06 -------
Fixed on branch.


-- 

tromey at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-07-12 20:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-10 19:35 [Bug java/28329] New: [ecj] gcj leaves .jar and .zip files in /tmp tromey at gcc dot gnu dot org
2006-07-11  1:20 ` [Bug java/28329] " rmathew at gcc dot gnu dot org
2006-07-11 19:28 ` tromey at gcc dot gnu dot org
2006-07-12 19:29 ` tromey at gcc dot gnu dot org
2006-07-12 20:01 ` tromey at gcc dot gnu dot org
2006-07-12 20:06 ` tromey 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).