1. 29 4月, 2016 1 次提交
  2. 20 4月, 2016 2 次提交
  3. 18 4月, 2016 1 次提交
  4. 15 4月, 2016 2 次提交
  5. 13 4月, 2016 3 次提交
    • R
      Remake the way dynamic zlib is loaded · 5a5c0b95
      Richard Levitte 提交于
      Instead of absolute hard coding of the libz library name, have it use
      the macro LIBZ, which is set to defaults we know in case it's
      undefined.
      
      This allows our configuration to set something that's sane on current
      or older platforms, and allows the user to override it by defining
      LIBZ themselves.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      5a5c0b95
    • R
    • R
      Fix zlib configuration options. · 62890f47
      Richard Levitte 提交于
      The macros ZLIB and ZLIB_SHARED weren't appropriately defined,
      deviating wrongly from how they worked in earlier OpenSSL versions.
      So, restore it so that ZLIB is defined if configured "enable-zlib" and
      so that ZLIB and ZLIB_SHARED are defined if configured
      "enable-zlib-dynamic".
      
      Additionally, correct the interpretation of the --with-zlib-lib value
      on Windows and VMS, where it's used to indicate the actual zlib
      zlib library file / logical name, as that can differ depending on zlib
      version and packaging on those platforms.
      
      Finally for Windows and VMS, we also define the macro LIBZ with that
      file name / logical name when configured "zlib-dynamic", so the
      compression unit can pick it up and use it.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      62890f47
  6. 08 4月, 2016 2 次提交
  7. 01 4月, 2016 1 次提交
  8. 30 3月, 2016 2 次提交
    • R
      Config: The cflags in vms-alpha and vms-ia64 have to be added · 0a2629b3
      Richard Levitte 提交于
      "vms-generic" already has some values, which were discarded.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      0a2629b3
    • R
      VMS: Disable the warning MAYLOSEDATA3 · 5fe5bc30
      Richard Levitte 提交于
      The warning MAYLOSEDATA3 is one you will always get when compiling
      source that calculates the difference between two pointers with
      /POINTER_SIZE=64.
      
      The reason is quite simple, ptrdiff_t is always a 32-bit integer
      regardless of pointer size, so the result of 'ptr1 - ptr2' can
      potentially be larger than a 32-bit integer.  The compiler simply
      warns you of that possibility.
      
      However, we only use pointer difference within objects and strings,
      all of them well within 2^32 bytes in size, so that operation is
      harmless with our source, and we can therefore safely turn off that
      warning.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      5fe5bc30
  9. 29 3月, 2016 2 次提交
  10. 23 3月, 2016 1 次提交
  11. 22 3月, 2016 1 次提交
  12. 21 3月, 2016 4 次提交
  13. 18 3月, 2016 4 次提交
  14. 17 3月, 2016 1 次提交
  15. 16 3月, 2016 1 次提交
  16. 15 3月, 2016 1 次提交
  17. 14 3月, 2016 2 次提交
  18. 09 3月, 2016 1 次提交
  19. 05 3月, 2016 1 次提交
    • R
      No -fno-common for Darwin · 0c873419
      Richard Levitte 提交于
      When object files with common block symbols are added to static
      libraries on Darwin, those symbols are invisible to the linker that
      tries to use them.  Our solution was to use -fno-common when compiling
      C source.
      
      Unfortunately, there is assembler code that defines OPENSSL_ia32cap_P
      as a common block symbol, unconditionally, and in some cases, there is
      no other definition.  -fno-common doesn't help in this case.
      
      However, 'ranlib -c' adds common block symbols to the index of the
      static library, which makes them visible to the linker using it, and
      that solves the problem we've seen.
      
      The common conclusion is, either use -fno-common or ranlib -c on
      Darwin.  Since we have common block symbols unconditionally, choosing
      the method for our source is easy.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      0c873419
  20. 03 3月, 2016 4 次提交
    • R
      Configure - Get rid of the special thread_cflag, replace with thread_scheme · 9c62a279
      Richard Levitte 提交于
      The thread_cflag setting filled a double role, as kinda sorta an
      indicator of thread scheme, and as cflags.  Some configs also added
      lflags and ex_libs for multithreading regardless of if threading would
      be enabled or not.
      
      Instead of this, add threading cflags among in the cflag setting,
      threading lflags in the lflag setting and so on if and only if threads
      are enabled (which they are by default).
      
      Also, for configs where there are no special cflags for threading (the
      VMS configs are of that kind), this makes it possible to still clearly
      mention what thread scheme is used.
      
      The exact value of thread scheme is currently ignored except when it's
      "(unknown)", and thereby only serves as a flag to tell if we know how
      to build for multi-threading in a particular config.  Yet, the
      currently used values are "(unknown)", "pthreads", "uithreads" (a.k.a
      solaris threads) and "winthreads".
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      9c62a279
    • R
      Configure - get rid of the special debug_ and release_ settings · 8864f0de
      Richard Levitte 提交于
      Instead, make the build type ("debug" or "release") available through
      $config{build_type} and let the configs themselves figure out what the
      usual settings (such as "cflags", "lflags" and so on) should be
      accordingly.
      
      The benefit with this is that we can now have debug and release
      variants of any setting, not just those Configure supports, and may
      also involve other factors (the MSVC flags /MD[d] and /MT[d] involve
      both build type and whether threading is enabled or not)
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      8864f0de
    • R
      Configure - move the addition of the zlib / libz lib to configs · 98fdbce0
      Richard Levitte 提交于
      Configure had the Unix centric addition of -lz when linking with zlib
      is enabled, which doesn't work on other platforms.  Therefore, we move
      it to the BASE_unix config template and add corresponding ones in the
      other BASE_* config templates.  The Windows one is probably incomplete,
      but that doesn't matter for the moment, as mk1mf does it's own thing
      anyway.
      
      This required making the %withargs table global, so perl snippets in
      the configs can use it.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      98fdbce0
    • R
      Configure - Rename BASE to DEFAULTS and add a few inheritable BASEs · d2b2221a
      Richard Levitte 提交于
      These BASE templates are intended to hold values that are common for
      all configuration variants for whole families of configurations.
      
      So far, three "families" are identified: Unix, Windows and VMS, mostly
      characterised by the build system they currently use.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      d2b2221a
  21. 02 3月, 2016 1 次提交
  22. 27 2月, 2016 2 次提交