misc/86412: can not link shared libs to libstdc++ and libsupc++

Meka meka at softhome.net
Wed Sep 21 07:10:21 PDT 2005


>Number:         86412
>Category:       misc
>Synopsis:       can not link shared libs to libstdc++ and libsupc++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 14:10:19 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 at 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:


More information about the freebsd-bugs mailing list