Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 18:55:03 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        Alexander Kabaev <kabaev@gmail.com>, current@freebsd.org, ports@freebsd.org
Subject:   Re: DSO loading (dlopen) appearse to be broken somehow
Message-ID:  <20070404145503.GA41981@nagual.pp.ru>
In-Reply-To: <20070404145105.GA41879@nagual.pp.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404145503.GA41981>