[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Mon Aug 22 08:11:05 UTC 2016


The branch master has been updated
       via  68a39960a7a46545419fa7447291fad2e4c483f2 (commit)
      from  e6ed2b9108830b23cda5632a4940b7f718f58676 (commit)


- Log -----------------------------------------------------------------
commit 68a39960a7a46545419fa7447291fad2e4c483f2
Author: Richard Levitte <levitte at openssl.org>
Date:   Sun Aug 21 23:36:49 2016 +0200

    VMS: Use strict refdef extern model when building library object files
    
    Most of the time, this isn't strictly needed.  However, in the default
    extern model (called relaxed refdef), symbols are treated as weak
    common objects unless they are initialised.  The librarian doesn't
    include weak symbols in the (static) libraries, which renders them
    invisible when linking a program with said those libraries, which is a
    problem at times.
    
    Using the strict refdef model is much more like standard C on all
    other platforms, and thereby avoid the issues that come with the
    relaxed refdef model.
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 Configurations/10-main.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index cc1a207..4a2abae 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1730,7 +1730,7 @@ sub vms_info {
         lflags           => picker(default => "/MAP",
                                    debug   => "/DEBUG/TRACEBACK",
                                    release => "/NODEBUG/NOTRACEBACK"),
-        lib_cflags       => add("/NAMES=(AS_IS,SHORTENED)"),
+        lib_cflags       => add("/NAMES=(AS_IS,SHORTENED)/EXTERN_MODEL=STRICT_REFDEF"),
         dso_cflags       => add("/NAMES=(AS_IS,SHORTENED)"),
         shared_target    => "vms-shared",
         dso_scheme       => "vms",


More information about the openssl-commits mailing list