From nobody@FreeBSD.org  Wed Sep 21 14:10:13 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 71D9616A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2005 14:10:13 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 41BC043D45
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2005 14:10:13 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8LEADbt091424
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2005 14:10:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j8LEAACS091340;
	Wed, 21 Sep 2005 14:10:10 GMT
	(envelope-from nobody)
Message-Id: <200509211410.j8LEAACS091340@www.freebsd.org>
Date: Wed, 21 Sep 2005 14:10:10 GMT
From: Meka <meka@softhome.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: can not link shared libs to libstdc++ and libsupc++
X-Send-Pr-Version: www-2.3

>Number:         86413
>Category:       misc
>Synopsis:       can not link shared libs to libstdc++ and libsupc++
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 14:20:11 GMT 2005
>Closed-Date:    Wed Sep 21 14:39:14 GMT 2005
>Last-Modified:  Wed Sep 21 14:39:14 GMT 2005
>Originator:     Meka
>Release:        6.0BETA5
>Organization:
>Environment:
FreeBSD hal9000 6.0-BETA5 FreeBSD 6.0-BETA5 #1: Mon Sep 19 07:06:34 CEST 2005     root@hal9000:/usr/obj/mnt/atom/home/src/sys/HAL9000  amd64

>Description:
      Can not make a libSOMETHING.so if it needs to link agains libsupc++ and libstdc++.
>How-To-Repeat:
      Try compiling fltk2 from svn with ./configure --enable-shared
>Fix:
      I've tried using gcc-4.0, but same thing happend. Then, I've added -fPIC to CFLAGS in /etc/make.conf and recompiled gcc-4.0, and it works. Maybe this is the solution for the system gcc.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Wed Sep 21 14:38:45 GMT 2005 
State-Changed-Why:  
Duplicate of misc/86413. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86413 
>Unformatted:
