Subject: Re: --export-dynamic
To: Eric Schnoebelen <>
From: Lubomir Sedlacik <>
List: tech-pkg
Date: 06/21/2002 16:23:32
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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:

              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.


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

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (NetBSD)