public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1344: builderror libgcj-snapshot-2000-08-15
@ 2000-12-20 12:25 j_duin
0 siblings, 0 replies; only message in thread
From: j_duin @ 2000-12-20 12:25 UTC (permalink / raw)
To: java-gnats
>Number: 1344
>Category: java
>Synopsis: builderror libgcj-snapshot-2000-08-15
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:15 PST 2000
>Closed-Date: Fri Dec 15 19:02:27 PST 2000
>Last-Modified: Fri Dec 15 19:16:00 PST 2000
>Originator: joop duin
>Release: libgcj-snapshot-2000-08-15
>Organization:
>Environment:
i686-pc-linux-gnu
gcc 2.96 gcj 2.96
>Description:
linker error when building libgcj
java/lang/natClass.lo: In function `_Jv_IsAssignableFrom(java::lang::Class *, java::lang::Class *)':
/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natClass.cc(.data+0x4): multiple definition of `java::lang::Class virtual table'
java/lang/Class.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Class.java:124: first defined here
java/lang/natObject.lo: In function `java::lang::Object::getClass(void)':
/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natObject.cc:52: multiple definition of `java::lang::Object virtual table'
java/lang/Object.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Object.java:50: first defined here
collect2: ld returned 1 exit status
make[2]: *** [libgcj.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-target-libjava] Error 2
>How-To-Repeat:
./configure
make
from libgcj
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/319
From: Tom Tromey <tromey@cygnus.com>
To: j_duin@hotmail.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/319: builderror libgcj-snapshot-2000-08-15
Date: 16 Aug 2000 16:26:21 -0600
>>>>> "joop" == j duin <j_duin@hotmail.com> writes:
joop> linker error when building libgcj
joop> /usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natClass.cc(.data+0x4): multiple definition of `java::lang::Class virtual table'
joop> java/lang/Class.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Class.java:124: first defined here
joop> java/lang/natObject.lo: In function `java::lang::Object::getClass(void)':
joop> /usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/natObject.cc:52: multiple definition of `java::lang::Object virtual table'
joop> java/lang/Object.lo:/usr/src/libgcj-snapshot-2000-08-15/libjava/java/lang/Object.java:50: first defined here
We've seen this before.
By some chance did gcjh generate a `Class.h' and an `Object.h' in your
build directory? If so then that is the problem.
Did you configure in the source tree? (You shouldn't be able to do
that.) What version of `make' are you using?
Tom
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Fri Dec 15 19:02:27 2000
State-Changed-Why:
This is likely to be the result of the build picking up the
wrong "gcc" from your path. It shouldn't be a problem anymore,
now that libgcj is merged into the gcc tree.
We havn't heard back from the originator, so I'm closing this.
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, j_duin@hotmail.com, java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/319
Date: 16 Dec 2000 03:02:27 -0000
Synopsis: builderror libgcj-snapshot-2000-08-15
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Fri Dec 15 19:02:27 2000
State-Changed-Why:
This is likely to be the result of the build picking up the
wrong "gcc" from your path. It shouldn't be a problem anymore,
now that libgcj is merged into the gcc tree.
We havn't heard back from the originator, so I'm closing this.
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=319&database=java
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-20 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:25 java/1344: builderror libgcj-snapshot-2000-08-15 j_duin
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).