[openssl/openssl] c62a9c: VMS: use selective search when linking with sharea...

Richard Levitte noreply at github.com
Tue Oct 4 10:54:48 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c62a9cd720eccdbb388890ee4a36801d01315be4
      https://github.com/openssl/openssl/commit/c62a9cd720eccdbb388890ee4a36801d01315be4
  Author: Richard Levitte <levitte at 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 <tomas at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19327)




More information about the openssl-commits mailing list