Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2005 14:10:10 GMT
From:      Meka <meka@softhome.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/86413: can not link shared libs to libstdc++ and libsupc++
Message-ID:  <200509211410.j8LEAACS091340@www.freebsd.org>
Resent-Message-ID: <200509211420.j8LEKCC6027531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86413
>Category:       misc
>Synopsis:       can not link shared libs to libstdc++ and libsupc++
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 14:20:11 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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