Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c62a9cd720eccdbb388890ee4a36801d01315be4
      
https://github.com/openssl/openssl/commit/c62a9cd720eccdbb388890ee4a36801d01315be4
  Author: Richard Levitte <levi...@openssl.org>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M Configurations/descrip.mms.tmpl

  Log Message:
  -----------
  VMS: use selective search when linking with shareable images

VMS linking complains a lot about multiply defined symbols unless told
otherwise, especially when shareable images are involved.  For example, this
involves the legacy provider, where there are overriding implementations of
certain ERR functions.

To quiet the linker down, we need to say that symbols should be searched
selectively in shareable images.

However, that's not quite enough.  The order in which the VMS linker
processes files isn't necessarily top to bottom as given on the command line
or the option file(s), which may result in some symbols appearing undefined,
even though they are.  To remedy that, it's necessary to explicitly include
all object files and object libraries into a cluster, thus ensuring that
they will be processed first.  This allows the search for remaining symbol
references to be done in the as desired in the shareable images that follow.

Reviewed-by: Tomas Mraz <to...@openssl.org>
Reviewed-by: Matt Caswell <m...@openssl.org>
Reviewed-by: Tim Hudson <t...@openssl.org>
Reviewed-by: Hugo Landau <hlan...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19327)


Reply via email to