From owner-freebsd-current@FreeBSD.ORG Tue Jul 6 08:54:50 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 01FE31065673 for ; Tue, 6 Jul 2010 08:54:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 59DD78FC14 for ; Tue, 6 Jul 2010 08:54:48 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o668sZdM032393 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Jul 2010 11:54:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o668sZB5006021; Tue, 6 Jul 2010 11:54:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o668sZMR006020; Tue, 6 Jul 2010 11:54:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 6 Jul 2010 11:54:35 +0300 From: Kostik Belousov To: Matthias Andree Message-ID: <20100706085435.GC13238@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y4wY251JZuCi4Byb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-current@freebsd.org, Andrew Reilly 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 08:54:50 -0000 --y4wY251JZuCi4Byb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 06, 2010 at 10:20:28AM +0200, Matthias Andree wrote: > Greetings, >=20 > it appears that some change to -RECENT (relative to 8-STABLE) breaks =20 > linking several GSSAPI applications from ports, for instance, =20 > mail/fetchmail if GSSAPI is enabled. >=20 > These applications then compile OK, but fail to link with MD2_Init and = =20 > other MD2 symbols not defined, although the command line (obtained from = =20 > krb5-config gssapi --libs) appears to list -lhx509 and -lcrypto in the = =20 > right order (hx509 first). This is, according to the report, happening on= =20 > -CURRENT, but does NOT happen on 8-STABLE or release candidates to 8.1. >=20 > Andrew Reilly posted a patch to the base system Kerberos to bin/147175 to= =20 > add a dependency from the shared hx509 library on libcrypto, however ther= e =20 > are open questions neither he nor I can answer -- particularly if it's = =20 > fixing the right problem, or if instead the run-time linker needed to be = =20 > fixed. >=20 > Please help: read PR bin/147175 and comment if you're knowledgeable about= =20 > either run-time linking, KRB5/GSSAPI, or both :) You need to gather and show exact command that fails. Shared object that references a symbol but does not record a dependency on the object providing the symbol is the bug in the build of that object (usually). --y4wY251JZuCi4Byb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwy70oACgkQC3+MBN1Mb4hEsACgv9DcMAHTfz6gN6J6L2gytf+g c3IAnjlmlBeNDZ6KOu5wNiRcHyhYqZLg =LS44 -----END PGP SIGNATURE----- --y4wY251JZuCi4Byb--