Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 08:39:47 -0700
From:      Arun Sharma <adsharma@sharmas.dhs.org>
To:        kde-devel@kde.org
Cc:        ports@freebsd.org
Subject:   C++ exception handling and non Linux platforms
Message-ID:  <20000519083947.A47819@sharmas.dhs.org>

next in thread | raw e-mail | index | archive | help
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 ?

	-Arun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000519083947.A47819>