From owner-freebsd-ports Tue Jun 11 10: 8:57 2002 Delivered-To: freebsd-ports@freebsd.org Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id B236C37B412 for ; Tue, 11 Jun 2002 10:08:51 -0700 (PDT) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.3/8.12.3) with ESMTP id g5BH8kDi020153; Tue, 11 Jun 2002 13:08:46 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.3/8.12.3/Submit) id g5BH8jlU020133; Tue, 11 Jun 2002 13:08:45 -0400 (EDT) Date: Tue, 11 Jun 2002 13:08:44 -0400 From: Alexander Kabaev To: "Tim Tretyak" Cc: mb@imp.ch, ports@freebsd.org Subject: Re: System rtld fix for Openoffice (ports only) Message-Id: <20020611130844.2dc1ac38.ak03@gte.com> In-Reply-To: <3D0626FA.2020302@umc.com.ua> References: <20020610170501.O29168-100000@levais.imp.ch> <3D0626FA.2020302@umc.com.ua> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.7.6claws38 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Could you please explain this a little bit more? > I am getting global symbols resolved from a wrong module. Two modules contain identically named classes. The destructor for the local class resolves to the symbol in another module. As far as I can tell, none of the offending modules were loaded with RTLD_GLOBAL flag and yet they still manage to clash somehow. Small modification to the OO sources took care of that, but the possible problem with rtld still has to be investigated. > > I don't know - what is the system compiler now? gcc2 or 3? > I don't know either. It depends on your FreeBSD version, of course :) > I think - this is a best choice for now because in near future all > systems would be with gcc3 and spending time to find and resolve old > gcc2 bugs takes not very big sense... FreeBSD-STABLE will stay with us for quite some time and I believe that having a working C++ compiler is a desirable goal. The nested exceptions bug does not affect OpenOffice at all anyway, and that is the only serious bug in our GCC I am aware of. After I eliminated the above mentioned class name clash, OpenOffice is running pretty reliably on my 4.6-RC1 and pre-GCC3 5.0-CURRENT here. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message