Date: Wed, 07 Feb 2001 19:42:06 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: FUJISHIMA Satsuki <sf@FreeBSD.org> Cc: John Polstra <jdp@polstra.com>, ports@FreeBSD.org, obrien@FreeBSD.org Subject: Re: Strange problems with dynamic linking of libGL.so.1 from XFree86-4.0.2_5 Message-ID: <3A8188ED.FC2A6241@FreeBSD.org> References: <3A6C3D19.E1F56291@FreeBSD.org> <3A6FE52B.AC9970C2@FreeBSD.org> <200101251842.f0PIgTL32394@vashon.polstra.com> <3A70756F.D8A7ED75@FreeBSD.org> <200101251903.f0PJ3qF32488@vashon.polstra.com> <3A755D84.266A80E7@FreeBSD.org> <86vgqn7vj4.wl@cheerful.com>
next in thread | previous in thread | raw e-mail | index | archive | help
FUJISHIMA Satsuki wrote:
> As libc_r does not have libc feature now, there's no reason to avoid
> linking -lc_r against shared libraries, I think.
>
> Index: contrib/gcc.295/config/freebsd.h
> ===================================================================
> RCS file: /home/ncvs/src/contrib/gcc.295/config/freebsd.h,v
> retrieving revision 1.31
> diff -u -r1.31 freebsd.h
> --- contrib/gcc.295/config/freebsd.h 2001/01/25 18:57:13 1.31
> +++ contrib/gcc.295/config/freebsd.h 2001/02/06 08:54:23
> @@ -76,10 +76,8 @@
> (like the default, except no -lg, and no -p). */
> #undef LIB_SPEC
> #define LIB_SPEC "\
> - %{!shared: \
> - %{!pg: %{pthread:-lc_r} -lc} \
> - %{pg: %{pthread:-lc_r_p} -lc_p} \
> - }"
> + %{!pg: %{pthread:-lc_r} %{!shared:-lc}} \
> + %{pg: %{pthread:-lc_r_p} %{!shared:-lc_p}}"
>
>
> /************************[ Target stuff ]***********************************/
David, John what do you think about this patch?
-Maxim
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8188ED.FC2A6241>
