Subject: Re: --export-dynamic
To: Eric Schnoebelen <eric@cirr.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 06/21/2002 16:23:32
--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Sun, Jun 16, 2002 at 08:50:10PM -0500, Eric Schnoebelen wrote:
> Personal opinion: always test _for_ things.  Positive matches are more
> likely to be correct.

yes, but there is one BUT why i asked this.  i don't have any GNU/Linux
or Mac OS X/Darwin system to check what they want so if they require it
as well as NetBSD does, i'd like to correct them all at once.  i assume
they all use GNU ld, so it's more effective to exclude SunOS, which uses
own ld, than name all others.  maybe someone with clue can say whether
is it needed for GNU/Linux and/or Mac OS X/Darwin at all?  from manpage
it seems that it is not required on all systems:

       -export-dynamic
              When  creating  an ELF file, add all symbols to the
              dynamic symbol table.  Normally, the dynamic symbol
              table contains only symbols which are used by a dy-
              namic object.  This option is needed for some  uses
              of dlopen.

> Is this something that can be dropped in mk/defs.*.mk?

well, i am not sure because it's not required in all packages, only in
few so it's probably not very useful.

regards,


--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9EzbkWc63C347cOIRArJ6AKCZb0m8Ko0mrCbeIbOtl9WLgyA8BQCeKRkX
rtBVntwUjVpacWabkI7+IXA=
=t2Yo
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--