[java patch] increase library version number for xml-sax and w3c-dom as well
Jakub Jelinek
jakub@redhat.com
Tue Jan 20 14:00:00 GMT 2004
Hi!
On Mon, Jan 19, 2004 at 11:27:04AM -0700, Tom Tromey wrote:
> >>>>> "Matthias" == Matthias Klose <doko@cs.tu-berlin.de> writes:
>
> Matthias> At least because of the changed C++ ABI a version bump for
> Matthias> libgcj is needed. Ok to apply?
>
> Sorry about the delay on this. Can you update on both the trunk and
> the 3.4 branch?
>
> I suppose we could increment the trunk to "6". I think usually we've
> just left the trunk the same as the branch until a new release branch
> is made, on the theory that gcc developers know what they're doing.
There is also lib-org-w3c-dom.so.0.0.0 and lib-org-xml-sax.so.0.0.0
which haven't changed version numbers, yet they are binary incompatible
with GCC 3.3.x libs and depend on libgcj.so.5 (resp. 6).
Ok to commit (gcc-3_4-branch and trunk)?
2004-01-20 Jakub Jelinek <jakub@redhat.com>
* Makefile.am (lib_org_w3c_dom_la_LIBADD,
lib_org_w3c_dom_la_LDFLAGS): New.
(lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
* Makefile.in: Rebuilt.
--- libjava/Makefile.am.jj 2004-01-19 17:31:58.000000000 +0100
+++ libjava/Makefile.am 2004-01-20 14:33:57.000000000 +0100
@@ -307,6 +307,11 @@ org/w3c/dom/traversal/DocumentTraversal.
org/w3c/dom/traversal/NodeFilter.java \
org/w3c/dom/traversal/NodeIterator.java \
org/w3c/dom/traversal/TreeWalker.java
+## See jv_convert_LDADD.
+lib_org_w3c_dom_la_LIBADD = -L$(here)/.libs libgcj.la
+lib_org_w3c_dom_la_LDFLAGS = -rpath $(toolexeclibdir) \
+## The mysterious backslash is consumed by make.
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version`
lib_org_xml_sax_la_SOURCES = org/xml/sax/ext/DeclHandler.java \
org/xml/sax/ext/LexicalHandler.java \
@@ -338,6 +343,11 @@ org/xml/sax/SAXNotSupportedException.jav
org/xml/sax/SAXParseException.java \
org/xml/sax/XMLFilter.java \
org/xml/sax/XMLReader.java
+## See jv_convert_LDADD.
+lib_org_xml_sax_la_LIBADD = -L$(here)/.libs libgcj.la
+lib_org_xml_sax_la_LDFLAGS = -rpath $(toolexeclibdir) \
+## The mysterious backslash is consumed by make.
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version`
lib_gnu_awt_xlib_la_SOURCES = $(x_nat_source_files)
EXTRA_lib_gnu_awt_xlib_la_SOURCES = $(x_java_source_files)
--- libjava/Makefile.in.jj 2004-01-19 17:31:58.000000000 +0100
+++ libjava/Makefile.in 2004-01-20 14:34:39.000000000 +0100
@@ -397,6 +397,10 @@ org/w3c/dom/traversal/NodeFilter.java \
org/w3c/dom/traversal/NodeIterator.java \
org/w3c/dom/traversal/TreeWalker.java
+lib_org_w3c_dom_la_LIBADD = -L$(here)/.libs libgcj.la
+lib_org_w3c_dom_la_LDFLAGS = -rpath $(toolexeclibdir) \
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version`
+
lib_org_xml_sax_la_SOURCES = org/xml/sax/ext/DeclHandler.java \
org/xml/sax/ext/LexicalHandler.java \
@@ -429,6 +433,10 @@ org/xml/sax/SAXParseException.java \
org/xml/sax/XMLFilter.java \
org/xml/sax/XMLReader.java
+lib_org_xml_sax_la_LIBADD = -L$(here)/.libs libgcj.la
+lib_org_xml_sax_la_LDFLAGS = -rpath $(toolexeclibdir) \
+ -version-info `grep -v '^\#' $(srcdir)/libtool-version`
+
lib_gnu_awt_xlib_la_SOURCES = $(x_nat_source_files)
EXTRA_lib_gnu_awt_xlib_la_SOURCES = $(x_java_source_files)
@@ -2681,8 +2689,7 @@ java/nio/natDirectByteBufferImpl.lo \
java/nio/channels/natFileChannelImpl.lo java/text/natCollator.lo \
java/util/natResourceBundle.lo java/util/natTimeZone.lo \
java/util/zip/natDeflater.lo java/util/zip/natInflater.lo
-lib_org_xml_sax_la_LDFLAGS =
-lib_org_xml_sax_la_LIBADD =
+lib_org_xml_sax_la_DEPENDENCIES = libgcj.la
lib_org_xml_sax_la_OBJECTS = org/xml/sax/ext/DeclHandler.lo \
org/xml/sax/ext/LexicalHandler.lo \
org/xml/sax/helpers/AttributeListImpl.lo \
@@ -2704,8 +2711,7 @@ org/xml/sax/SAXException.lo org/xml/sax/
org/xml/sax/SAXNotSupportedException.lo \
org/xml/sax/SAXParseException.lo org/xml/sax/XMLFilter.lo \
org/xml/sax/XMLReader.lo
-lib_org_w3c_dom_la_LDFLAGS =
-lib_org_w3c_dom_la_LIBADD =
+lib_org_w3c_dom_la_DEPENDENCIES = libgcj.la
lib_org_w3c_dom_la_OBJECTS = org/w3c/dom/Attr.lo \
org/w3c/dom/CDATASection.lo org/w3c/dom/CharacterData.lo \
org/w3c/dom/Comment.lo org/w3c/dom/DOMException.lo \
Jakub
More information about the Gcc-patches
mailing list