public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12893] New: The included test case does not link
@ 2003-11-04  8:22 oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` [Bug java/12893] " oyvind dot harboe at zylin dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-04  8:22 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: The included test case does not link
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oyvind dot harboe at zylin dot com
                CC: gcc-bugs at gcc dot gnu dot org

I think it is supposed to link.

http://gcc.gnu.org/ml/java/2003-10/msg00304.html


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` [Bug java/12893] " oyvind dot harboe at zylin dot com
@ 2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-04  8:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-04 08:24 -------
Created an attachment (id=5053)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5053&action=view)
Linking errors


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` [Bug java/12893] " oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
@ 2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
  2003-11-09  2:34 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-04  8:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


oyvind dot harboe at zylin dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dog at bluezoo dot org


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
@ 2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
  2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: oyvind dot harboe at zylin dot com @ 2003-11-04  8:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From oyvind dot harboe at zylin dot com  2003-11-04 08:23 -------
Created an attachment (id=5052)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5052&action=view)
Testcase that does not compile when running compile.cmd


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (2 preceding siblings ...)
  2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
@ 2003-11-09  2:34 ` pinskia at gcc dot gnu dot org
  2003-11-09  9:25 ` dog at bluezoo dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09  2:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-09 02:34 -------
I had look into the and the problem was that one of the class files calls the super's 
functions and the super class was abstract so it was causing a link problem.  Is there any 
way to get the source to gnu.inet.ftp.* classes, I could not find them any where.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (3 preceding siblings ...)
  2003-11-09  2:34 ` pinskia at gcc dot gnu dot org
@ 2003-11-09  9:25 ` dog at bluezoo dot org
  2003-11-09 19:09 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dog at bluezoo dot org @ 2003-11-09  9:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dog at bluezoo dot org  2003-11-09 09:25 -------
Subject: Re:  The included test case does not link

pinskia at gcc dot gnu dot org wrote:
> I had look into the and the problem was that one of the class files 
> calls the super's
> functions and the super class was abstract so it was causing a link 
> problem.  Is there any
> way to get the source to gnu.inet.ftp.* classes, I could not find them 
> any where.

from classpath cvs, module inetlib.

thanks for looking into it,


-- 


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


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (4 preceding siblings ...)
  2003-11-09  9:25 ` dog at bluezoo dot org
@ 2003-11-09 19:09 ` pinskia at gcc dot gnu dot org
  2004-01-08 17:14 ` dog at bluezoo dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09 19:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-09 19:09 -------
The code does excatlly what I said it did.
GCJ should have rejected this code when compiling to *.class like javac does:
D.java:13: abstract method f() cannot be accessed directly
  void f(){super.f();}
                ^
1 error


Simplified version:
class A
{
  void f(){}
}
abstract class B extends A
{
  abstract void f();
}
class C extends B
{
  void f(){super.f();}
}

Can you report my findings to classpath for this module?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-09 19:09:22
               date|                            |


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


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (5 preceding siblings ...)
  2003-11-09 19:09 ` pinskia at gcc dot gnu dot org
@ 2004-01-08 17:14 ` dog at bluezoo dot org
  2004-01-08 18:17 ` pinskia at gcc dot gnu dot org
  2004-01-09  7:13 ` tromey at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: dog at bluezoo dot org @ 2004-01-08 17:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dog at bluezoo dot org  2004-01-08 17:14 -------
(From update of attachment 5435)
I've created a makefile that should be a bit more portable, and attempted to
build using that.
The original error(s) were not specified on the bugzilla issue. make gives me:

/usr/local/bin/gcj -c -o activation.o
--classpath=/usr/local/share/java/libgcj-3.4.jar activation.jar
/var/tmp//cclKloMi.s:23974:FATAL:Symbol
__GLOBAL__I__ZN3gnu10activation16MagicFileTypeMapC1Ev already defined.
make: *** [activation.o] Error 1

I can build javax-security.o and send.o, but the others all give this
already-defined error.


-- 


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


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (6 preceding siblings ...)
  2004-01-08 17:14 ` dog at bluezoo dot org
@ 2004-01-08 18:17 ` pinskia at gcc dot gnu dot org
  2004-01-09  7:13 ` tromey at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-08 18:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-08 18:17 -------
Note what exact version are you using to get the link errors?

-- 


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


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

* [Bug java/12893] The included test case does not link
  2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
                   ` (7 preceding siblings ...)
  2004-01-08 18:17 ` pinskia at gcc dot gnu dot org
@ 2004-01-09  7:13 ` tromey at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-01-09  7:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-01-09 07:12 -------
I tried this tonight.
I had to edit the Makefile a bit to get things to work.

I see the same errors that Andrew sees in comment #3.
I don't see a duplicate definition.

This PR looks like it might be related to Bug 13273.
How did you generate the .class files in question?
Was it with gcj or some other compiler?

I'm using
gcj (GCC) 3.4.0 20040107 (experimental)


-- 


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


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

end of thread, other threads:[~2004-01-09  7:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-04  8:22 [Bug java/12893] New: The included test case does not link oyvind dot harboe at zylin dot com
2003-11-04  8:24 ` [Bug java/12893] " oyvind dot harboe at zylin dot com
2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
2003-11-04  8:24 ` oyvind dot harboe at zylin dot com
2003-11-09  2:34 ` pinskia at gcc dot gnu dot org
2003-11-09  9:25 ` dog at bluezoo dot org
2003-11-09 19:09 ` pinskia at gcc dot gnu dot org
2004-01-08 17:14 ` dog at bluezoo dot org
2004-01-08 18:17 ` pinskia at gcc dot gnu dot org
2004-01-09  7:13 ` 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).