From owner-freebsd-ports Tue Jun 11 22:29:40 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id 012AF37B40B for ; Tue, 11 Jun 2002 22:29:32 -0700 (PDT) Received: from d1o1075.telia.com (d1o1075.telia.com [213.67.243.241]) by mailb.telia.com (8.11.6/8.11.6) with ESMTP id g5C5StW27121; Wed, 12 Jun 2002 07:28:55 +0200 (CEST) Received: from ludd.luth.se (h183n1fls22o1075.telia.com [217.209.40.183]) by d1o1075.telia.com (8.10.2/8.10.1) with ESMTP id g5C5Sps14446; Wed, 12 Jun 2002 07:28:51 +0200 (CEST) Message-ID: <3D06DC42.4070409@ludd.luth.se> Date: Wed, 12 Jun 2002 07:29:38 +0200 From: =?ISO-8859-1?Q?Joachim_Str=F6mbergson?= Organization: =?ISO-8859-1?Q?Str=F6mbergson_Intergalactic_AB?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: en-US MIME-Version: 1.0 To: Martin Blapp Cc: Alexandr Kovalenko , "Carlos F. A. Paniago" , Tim Tretyak , Huang wen hui , trish@bsdunix.net, Alexander Kabaev , Pat Lashley , Dave Goode , "Erik H. Bakke" , Mark Russell , Oliver Braun , Larry Rosenman , David Liebeherr , Steve Kargl , Peter Ulrich Kruppa , ports@freebsd.org Subject: Re: System rtld fix for Openoffice (ports only) References: <20020610114528.E29168-100000@levais.imp.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Aloha! Martin Blapp wrote: > Hi all, > > Matt Dillon has fixed the openoffice setup install problem. Maybe > we will get a MFC which just disables the SymCache for the RELEASE. > > Since the package does not use the OO setup for the whole install > (this already happened on the machine building the package), this > problem is only if someone builds the ports himself. > > The problem also exists in CURRENT. > > The effect of the problem is a coredumping installation, which does > leave a half installed Openoffice back. The setup programm will then > tell you about setup.ins missing. > > >>The problem appears to be when the loader is called from a thread. >>Threads do not have large stacks... typically only 64K, but the symbol >>cache can be huge and the dynamic loader allocates it on the stack using >>alloca()! In the case of open-office there are several dynamically >>loaded modules with symbol caches exceeded 250 Kilobytes. > > > If you have already tried to install OO but is has failed starting setup > afer you have installed, just do this: > > 1.) Apply the patch > 2.) cd /src/libexec/rtld-elf/ > 3.) make depend && make && make install > 4.) cd /usr/ports/editors/openoffice > 5.) make deinstall, make reinstall > > Can you please test this too ? Yes! Yes! Yes! I did a fresh install of OpenOffice after applying the patch. When the installation completed I did a "make install-user" using my normal user. All works as expected. The system I'm running is STABLE as of: js@fetis2.ninja.se:/home/js>uname -a FreeBSD fetis2.ninja.se 4.6-RC FreeBSD 4.6-RC #8: Sun Jun 9 09:02:05 CEST 2002 js@fetis2.ninja.se:/usr/obj/usr/src/sys/ATHLON i386 This might indicate that with the applied patch, OpenOffice should be installable and usable with the 4.6 Release. Great job Martin and Matt! -- Med vänlig hälsning, Cheers! Joachim Strömbergson ============================================================================ Joachim Strömbergson - ASIC designer, nice to *cute* animals. snail: phone: mail & web: Sävenäsgatan 5A +46 31 - 27 98 47 watchman@ludd.luth.se 416 72 Göteborg +46 733 75 97 02 www.ludd.luth.se/~watchman ============================================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message