From owner-freebsd-current@FreeBSD.ORG Wed Apr 4 14:55:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6180316A401; Wed, 4 Apr 2007 14:55:06 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id D0BF113C44C; Wed, 4 Apr 2007 14:55:05 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l34Et4PK042054; Wed, 4 Apr 2007 18:55:04 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.8/8.13.8/Submit) id l34Et4K4042053; Wed, 4 Apr 2007 18:55:04 +0400 (MSD) (envelope-from ache) Date: Wed, 4 Apr 2007 18:55:03 +0400 From: Andrey Chernov To: Alexander Kabaev , current@freebsd.org, ports@freebsd.org Message-ID: <20070404145503.GA41981@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Alexander Kabaev , current@freebsd.org, ports@freebsd.org References: <20070404101321.GA37396@nagual.pp.ru> <20070404082346.64ce25cd@kan.dnsalias.net> <20070404125735.GA40094@nagual.pp.ru> <20070404090944.1a13e96f@kan.dnsalias.net> <20070404133529.GA40652@nagual.pp.ru> <20070404145105.GA41879@nagual.pp.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20070404145105.GA41879@nagual.pp.ru> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Subject: Re: DSO loading (dlopen) appearse to be broken somehow 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: Wed, 04 Apr 2007 14:55:06 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 04, 2007 at 06:51:05PM +0400, Andrey Chernov wrote: > Comparing generated Makefile with FreeBSD 6 it seems some ld flags=20 > are now missing: >=20 > < LDFLAGS_SHLIB_EXPORT=3D > --- > > LDFLAGS_SHLIB_EXPORT=3D-Wl,-E >=20 > I'll come back with detailed results later. Found. It is old objformat problem. OBJFORMAT=3D`test -x /usr/bin/objformat && /usr/bin/objformat |= |=20 echo aout` if [ "x$OBJFORMAT" =3D "xelf" ]; then LDFLAGS_SHLIB_EXPORT=3D"-Wl,-E" SHLIB_SUFFIX_DEPTH=3D0 else LDFLAGS_SHLIB_EXPORT=3D"" SHLIB_SUFFIX_DEPTH=3D2 fi Sorry for the noise. --=20 http://ache.pp.ru/ --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGE7xHVg5YK5ZEdN0RAuZxAJ0Znqu+6GfXFELBL+g1prID7Eyz2wCfbFJy wf4XrBzXM87QDuTtbsOsjBE= =GU6I -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--