From owner-freebsd-ports@FreeBSD.ORG Sat Nov 28 14:46:54 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3314106566B; Sat, 28 Nov 2009 14:46:54 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 535C08FC0A; Sat, 28 Nov 2009 14:46:53 +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 nASEklOl090037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Nov 2009 16:46:47 +0200 (EET) (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.3/8.14.3) with ESMTP id nASEklqo071402; Sat, 28 Nov 2009 16:46:47 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id nASEkld4071401; Sat, 28 Nov 2009 16:46:47 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 28 Nov 2009 16:46:47 +0200 From: Kostik Belousov To: Vladimir Kushnir Message-ID: <20091128144647.GN2368@deviant.kiev.zoral.com.ua> References: <200911270246.nAR2k9Zp026751@pozo.com> <86ocmos11v.fsf@ds4.des.no> <200911271636.nARGaf92050278@pozo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qi3SIpffvxS/TM8d" 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=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: ports@freebsd.org, Dag-Erling Sm??rgrav , current@freebsd.org Subject: Re: libthr on current breaks some ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 14:46:55 -0000 --qi3SIpffvxS/TM8d Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 27, 2009 at 07:22:29PM +0200, Vladimir Kushnir wrote: > Sorry, just my .0002 USD >=20 > On Fri, 27 Nov 2009, Manfred Antar wrote: >=20 > >At 02:40 AM 11/27/2009, Dag-Erling Sm??rgrav wrote: > >>Manfred Antar writes: > >>>The new addition to Makefile on /lib/libthr "-Wl,-znodlopen " > >>>Breaks php4 and mhash on my current 1386 > >> > >>If they try to dlopen() libthr, they're already broken. > >> > >>>I'm sure other ports that use it are broken too as can't load the lib. > >> > >>I doubt it. > >> > >>DES > >>-- > >>Dag-Erling Sm??rgrav - des@des.no > >> > >>-- > >>This message has been scanned for viruses and > >>dangerous content by MailScanner, and is > >>believed to be clean. > > > >OK > >Here are some of the errors I get > >Just rebuild /usr/ports/graphics/gd > > > >ldd /usr/local/lib/libgd.so.4 > >/usr/local/lib/libgd.so.4: /libexec/ld-elf.so.1:=20 > >/usr/local/lib/libgd.so.4: Unexpected inconsistency: dependency=20 > >libthr.so.3 not found > >/usr/local/lib/libgd.so.4: exit status 1 > > > >Just rebuild /usr/ports/security/mhash > >ldd /usr/local/lib/libmhash.so > >/usr/local/lib/libmhash.so: /libexec/ld-elf.so.1:=20 > >/usr/local/lib/libmhash.so: Unexpected inconsistency: dependency=20 > >libthr.so.3 not found > >/usr/local/lib/libmhash.so: exit status 1 > > > >Both of these have "--with-LDFLAGS=3D"${PTHREAD_LIBS}" in the Makefile. > > Issue is ldd on the _library_ linked to non-loadable object is cosmetic, I fixed it in r199877. >=20 > Just rebuild audio/faad - result precisely the same. Besides, ALL of the= =20 > already installed ports are affected: > ldd /usr/local/lib/lib*.so|grep libthr > gives either the same or > libthr.so.3 =3D> not found (0x0) > What is the worst, X does not load (display just freezes and the only way= =20 > out is to turn a box off - fortunately, ACPI does work here). What is the driver you use for your graphic card ? I remember Intel' driver had this problem: driver was linked with libthr, while X server was not. My server seems to be properly linked. I reverted r199830 that marked libthr as not loadable, r199878. > Result: as it is, my system (it's a desktop so ports are essential) is=20 > rendered unusable. > Fortunately, installworld backs up old ld-elf.so.1 so replacing linker=20 > saves from this disaster. --qi3SIpffvxS/TM8d Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksRN9YACgkQC3+MBN1Mb4hFkQCfU831xfLjzQBFixPglajwbnHX ZPkAn3lev+AaakHdGHLw7tgLXKesHbzI =S++S -----END PGP SIGNATURE----- --qi3SIpffvxS/TM8d--