From owner-freebsd-current@FreeBSD.ORG Tue Jul 6 13:26:29 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4219106566C; Tue, 6 Jul 2010 13:26:29 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nskntmtas06p.mx.bigpond.com (nskntmtas06p.mx.bigpond.com [61.9.168.152]) by mx1.freebsd.org (Postfix) with ESMTP id 146B58FC15; Tue, 6 Jul 2010 13:26:28 +0000 (UTC) Received: from nskntotgx02p.mx.bigpond.com ([124.188.161.100]) by nskntmtas06p.mx.bigpond.com with ESMTP id <20100706132627.VVIG24784.nskntmtas06p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com>; Tue, 6 Jul 2010 13:26:27 +0000 Received: from ghanamia.reilly.home ([124.188.161.100]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20100706132626.YUUH4790.nskntotgx02p.mx.bigpond.com@ghanamia.reilly.home>; Tue, 6 Jul 2010 13:26:26 +0000 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Andrew Reilly In-Reply-To: <20100706123325.GF13238@deviant.kiev.zoral.com.ua> Date: Tue, 6 Jul 2010 23:26:26 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: <457406E5-0E8C-4DB0-97B3-C8CAA7DD3AD0@bigpond.net.au> References: <20100706085435.GC13238@deviant.kiev.zoral.com.ua> <4C3317C6.3020009@FreeBSD.org> <20100706123325.GF13238@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Mailer: Apple Mail (2.1081) X-Authentication-Info: Submitted using SMTP AUTH PLAIN at nskntotgx02p.mx.bigpond.com from [124.188.161.100] using ID areilly@bigpond.net.au at Tue, 6 Jul 2010 13:26:26 +0000 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090202.4C332F02.0208,ss=1,fgs=0 X-SIH-MSG-ID: rBAzFt3uXAD+xDJw0jPvNAJ+xA/u8yI74J0WRdJsoQQZSkfduMHeU67mJrM7hNL2xDhcNxmPPGcqYav0X4/QsuM= Cc: freebsd-current@freebsd.org, Matthias Andree Subject: Re: Regression in GSSAPI/libxh509 linking? [PR bin/147175] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 13:26:30 -0000 Hi Kostik, On 06/07/2010, at 22:33 , Kostik Belousov wrote: > "Install evolution-data-server" as a reference to the command is a = sure way > to not get any help. Why, because no-one uses ports? > I asked for explicit command that fails, PR does not contain this = information. > It is not even clear whether the issue is from the static or run-time = linker. The specific command that fails is in the PR, to whit: cc -o conftest -O2 -pipe -g -DLDAP_DEPRECATED -fno-strict-aliasing = -I/usr/local/include -I/usr/local/include/db41 -L/usr/local/lib -pthread = conftest.c -L/usr/local/lib -L/usr/lib -lgssapi -lheimntlm -lkrb5 = -lhx509 -lcom_err -lcrypto -lasn1 -lroken -lcrypt where, in this instance, conftest.c is something like (extracted from = the configure script from evolution-data-server): /* contentes of confdefs.h, whatever that is, probably at least: */ #include /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char krb5_init_context (); int main () { return krb5_init_context (); ; return 0; } (fetchmail uses a conftest with a call to gss_check_version(), but the = result is the same.) And the cc fails with=20 /usr/lib/libhx509.so: undefined reference to `MD2_Init' /usr/lib/libhx509.so: undefined reference to `MD2_Final' /usr/lib/libhx509.so: undefined reference to `MD2_Update' as reported in the PR. It doesn't do this on my system any more, because I've fixed it with the = patch attached to that PR. Cheers, --=20 Andrew