From owner-freebsd-ports Fri May 19 8:45:30 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ns.lst.de (ns.lst.de [194.231.72.1]) by hub.freebsd.org (Postfix) with ESMTP id 0162E37BDBC for ; Fri, 19 May 2000 08:45:16 -0700 (PDT) (envelope-from coolo@kde.org) Received: (from daemon@localhost) by ns.lst.de (8.9.3/8.9.3) id RAA05088; Fri, 19 May 2000 17:45:06 +0200 Received: from flakki.lst.de(194.231.72.17), claiming to be "kde.org" via SMTP by ns.lst.de, id smtpdaYeuzw; Fri May 19 17:45:05 2000 Message-ID: <39256080.73EA747D@kde.org> Date: Fri, 19 May 2000 17:40:48 +0200 From: Stephan Kulow X-Mailer: Mozilla 4.72C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: kde-devel@kde.org Cc: ports@freebsd.org Subject: Re: C++ exception handling and non Linux platforms References: <20000519083947.A47819@sharmas.dhs.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Arun Sharma wrote: > > Most non Linux platforms do not link in libgcc.a by default. libkhtml.so > uses exception handling. So it has undefined references to __eh_rtime_match > etc. > > A stand alone binary like konqueror or khelpcenter does not have libgcc.a > linked in the current build system. Therefore, they crash at runtime, > when they dlopen(3) libkhtml.so and do not find __eh_rtime_match. > > I've found that linking such executables with -lgcc -Wl,-export-symbols > fixes the problem. Can someone make the right changes to the build > system for this ? > It's not that easy to do it right. But the new libtool (which is not yet in our HEAD branch) has support for all kind of weired platform/compilers, so you can do that. I'm collecting votes to put the instability issues that come with the new libtool - and I count yours in :) Greetings, Stephan -- Programmers, heed this: If someone starts asking you about agricultural genomes, it's likely time to get a handler. zdnet.com about Torvalds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message