Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 21:05:59 +0900
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        John Indra <john@office.naver.co.id>
Cc:        freebsd-current@freebsd.org, kevlo@FreeBSD.org, sobomax@FreeBSD.org
Subject:   -lc_r against shared library (Re: Failed to build kdesupport2 port)
Message-ID:  <86n1bop2vs.wl@cheerful.com>
In-Reply-To: <20010215110428.A31614@office.naver.co.id>
References:  <20010215110428.A31614@office.naver.co.id>

next in thread | previous in thread | raw e-mail | index | archive | help
If you paid attention to -ports, you found adding

CONFIGURE_ARGS=	"LIBS=-pthread"

to kdesupport2/Makefile would help.

There are some way to ``fix'' this problem:
a) linking -lc_r against libGL.
   This is denied by John Polstra and he suggested (b). He said libc
   and libc_r must be strictly synchronized. If so, this might be a
   bad idea. 

b) adding -pthread to each port which uses libGL.
   This method needs some work but if this is the way to go, we should
   start fixing broken ports. So many ports are broken with -pthread
   now.

c) Use -lc_r instead of -pthread.
   As -pthread will be depreciated, we should use -lc_r for FreeBSD
   5.0 and later, shouldn't we?

d) [Please add your opinions]

-- 
FUJISHIMA Satsuki


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




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