This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

middle-end/8147: Erroneous Duplicate Symbols in GCJ


>Number:         8147
>Category:       middle-end
>Synopsis:       Erroneous Duplicate Symbols in GCJ
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 04 12:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jredman@ergotech.com
>Release:        gcc version 3.0.4
>Organization:
>Environment:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/libgcj.spec
rename spec lib to liborig
rename spec startfile to startfileorig
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib
Thread model: posix
gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1)
>Description:
These two methods:

  public void setDocumentHandler(final org.xml.sax.DocumentHandler handler) {
   this.documentHandler = (handler == null) ? this : handler;
   this.extDocumentHandler = this;
  }

  public void setDocumentHandler(final uk.org.xml.sax.DocumentHandler handler) {
   this.documentHandler = this.extDocumentHandler = (handler == null) ? this : handler;
   this.documentHandler.setDocumentLocator(this);
  }

Produce this:
ccS2SSFK.s:3949: Error: symbol `_ZN2uk2co6wilson3xml5MinML18setDocumentHandlerEPNS2_3sax15DocumentHandlerE' is already defined

>How-To-Repeat:
This is what I'm trying to compile:

http://www.wilson.co.uk/xml/minml.htm

Let me know if you need more info.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]