From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16368 invoked by alias); 30 Sep 2003 11:04:50 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 16360 invoked from network); 30 Sep 2003 11:04:49 -0000 Received: from unknown (HELO gary-benson.demon.co.uk) (80.177.162.128) by sources.redhat.com with SMTP; 30 Sep 2003 11:04:49 -0000 Received: from slippy.wire.rat ([192.168.1.1]) by gary-benson.demon.co.uk with esmtp (Exim 3.36 #1) id 1A4IJD-00023x-00 for rhug-rhats@sources.redhat.com; Tue, 30 Sep 2003 12:04:47 +0100 Received: from slippy.wire.rat (localhost.localdomain [127.0.0.1]) by slippy.wire.rat (8.12.8/8.12.8) with ESMTP id h8UB4lJD029283 for ; Tue, 30 Sep 2003 12:04:47 +0100 Received: (from gary@localhost) by slippy.wire.rat (8.12.8/8.12.8/Submit) id h8UB4l5H029281 for rhug-rhats@sources.redhat.com; Tue, 30 Sep 2003 12:04:47 +0100 Date: Tue, 30 Sep 2003 11:04:00 -0000 From: Gary Benson To: rhug-rhats@sources.redhat.com Subject: merged-libs-branch Message-ID: <20030930110446.GC3407@redhat.com> Mail-Followup-To: rhug-rhats@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-PGP-Fingerprint: 6646 CF68 DEA8 07CA CA64 C18C A150 FC2D 85A8 F78B X-SW-Source: 2003-09/txt/msg00015.txt.bz2 Hi, The merged-libs-branch in xerces, xalan and mx4j contains fixes for broken circular linking which makes dlopen() fail on some of the libraries in these packages. The problem was that mx4j, for example, has two class heirachies: javax.management and mx4j, javax.management being the interface and mx4j being the implementation. For this to be linked 'correctly' lib-javax-management must be linked to lib-mx4j and lib-mx4j must be linked to lib-javax-management. While it's theoretically possible to do this it isn't recommended; I could just feel Uli crossing himself as he answered my emails ;) In RHUG HEAD this problem is avoided by not linking lib-j-m to lib-mx4j, and linking lib-mx4j to executables that need it. In merged-libs-branch I moved the classes around so that there were no circular links. In xerces the classes from org.w3c.dom, org.apache.xerces and org.apache.xml.serialize were moved into lib-javax-xml-parsers; xalan, the classes from org.apache.xml and org.apache.xpath were moved into lib-org-apache-xalan; and in mx4j the classes from mx4j were moved into lib-javax-management. Dummy libraries were created for org.w3c.dom, org.apache.xerces, org.apache.xml.serialize, org.apache.xml, org.apache.xpath and mx4j; the dummies are empty libraries that link to the libraries that actually contain their classes. It all seems to work beautifully. Anyone mind if I merge the changes into HEAD? Cheers, Gary [ gbenson@redhat.com ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]