From owner-freebsd-questions Fri May 26 17:10:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by hub.freebsd.org (Postfix) with ESMTP id B1E9E37BA26 for ; Fri, 26 May 2000 17:10:29 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id RAA28605 for questions@freebsd.org; Fri, 26 May 2000 17:10:14 -0700 Date: Fri, 26 May 2000 17:10:14 -0700 From: Arun Sharma To: questions@freebsd.org Subject: libgcc vs libgcc_pic.a (Was Re: ports/18838: kdelibs2 - konqeror crushes with html file) Message-ID: <20000526171014.A28567@sharmas.dhs.org> References: <392EE977.B3D051C3@windriver.com> <20000526142011.A28240@sharmas.dhs.org> <392EEF3F.7389FFAA@windriver.com> <20000526150848.A28293@sharmas.dhs.org> <392F03CD.964EF27C@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <392F03CD.964EF27C@windriver.com>; from Tadayuki Okada on Fri, May 26, 2000 at 07:07:57PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ Moved from ports ] On Fri, May 26, 2000 at 07:07:57PM -0400, Tadayuki Okada wrote: > > 4. Linking libkhtml.so with libgcc.a doesn't fix the problem. I get core > > dumps in __eh_rtime_match. > It should be libgcc_pic.a. > #anyway ld should handle this. Can anyone explain to me the difference between libgcc.a and libgcc_pic.a ? Isn't the code generated by gcc PIC by default ? Also, why is libgcc_r.a necessary ? I don't see such a beast on my linux box. The only difference in build I see is -D_PTHREADS and searching in the sources indicates that nothing is using _PTHREADS. -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message