#
8d51db86 |
| 11-Mar-2016 |
Andy Polyakov |
s390x assembly pack: 32-bit fixups. Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
01d99976 |
| 14-Mar-2016 |
Richard Levitte |
Fix a few Configure errors Reviewed-by: Andy Polyakov <appro@openssl.org>
|
#
2fe73036 |
| 02-Mar-2016 |
Richard Levitte |
Unified - extract settings from util/pl/VC-32.pl and make the config settings This introduces the settings loutflag and aroutflag, because different Windows tools that do the same thing
Unified - extract settings from util/pl/VC-32.pl and make the config settings This introduces the settings loutflag and aroutflag, because different Windows tools that do the same thing have different ways to specify the output file. The Borland C++ config is commented away for the monent, perhaps permanently. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
0c873419 |
| 04-Mar-2016 |
Richard Levitte |
No -fno-common for Darwin 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
No -fno-common for Darwin 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: Kurt Roeckx <kurt@openssl.org>
show more ...
|
#
9c62a279 |
| 27-Feb-2016 |
Richard Levitte |
Configure - Get rid of the special thread_cflag, replace with thread_scheme The thread_cflag setting filled a double role, as kinda sorta an indicator of thread scheme, and as cflags. S
Configure - Get rid of the special thread_cflag, replace with thread_scheme 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: Andy Polyakov <appro@openssl.org>
show more ...
|
#
8864f0de |
| 02-Mar-2016 |
Richard Levitte |
Configure - get rid of the special debug_ and release_ settings Instead, make the build type ("debug" or "release") available through $config{build_type} and let the configs themselves f
Configure - get rid of the special debug_ and release_ settings 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: Andy Polyakov <appro@openssl.org>
show more ...
|
#
98fdbce0 |
| 27-Feb-2016 |
Richard Levitte |
Configure - move the addition of the zlib / libz lib to configs Configure had the Unix centric addition of -lz when linking with zlib is enabled, which doesn't work on other platforms.
Configure - move the addition of the zlib / libz lib to configs 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: Andy Polyakov <appro@openssl.org>
show more ...
|
#
d2b2221a |
| 27-Feb-2016 |
Richard Levitte |
Configure - Rename BASE to DEFAULTS and add a few inheritable BASEs These BASE templates are intended to hold values that are common for all configuration variants for whole families of
Configure - Rename BASE to DEFAULTS and add a few inheritable BASEs 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: Andy Polyakov <appro@openssl.org>
show more ...
|
#
e9abfc3a |
| 02-Mar-2016 |
Richard Levitte |
Add a shared_target to the VC-common config This has no real meaning, except it gives Configure a hint that VC targets are indeed capable of producing shared objects. Reviewed-b
Add a shared_target to the VC-common config This has no real meaning, except it gives Configure a hint that VC targets are indeed capable of producing shared objects. Reviewed-by: Matt Caswell <matt@openssl.org>
show more ...
|
#
b6453a68 |
| 26-Feb-2016 |
FdaSilvaYY |
GH753: More spelling fix Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
|
#
56b10d88 |
| 26-Feb-2016 |
Richard Levitte |
Remove comments saying you must do 'make -f Makefile.in TABLE' Since the configs were remade into hash tables, this isn't needed any more. Reviewed-by: Rich Salz <rsalz@openssl.
Remove comments saying you must do 'make -f Makefile.in TABLE' Since the configs were remade into hash tables, this isn't needed any more. Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
bdcd83e1 |
| 24-Feb-2016 |
Richard Levitte |
Configure - neater looking add() and add_before() They now default to " " as separator, but that can be overridden by having a hash with parameters as last argument. The only currently
Configure - neater looking add() and add_before() They now default to " " as separator, but that can be overridden by having a hash with parameters as last argument. The only currently recognised parameter is `separator'. The special separator `undef' will force the result to become a list rather than a concatenated string. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
893fe73a |
| 22-Feb-2016 |
Richard Levitte |
Remove all -march= from configs These flags are limitting needlessly, are often patched by packagers, and should be specified on the configuration command line by anyone who desires
Remove all -march= from configs These flags are limitting needlessly, are often patched by packagers, and should be specified on the configuration command line by anyone who desires for it to be specific rather than forced by us. This work was already done with mingw when those configs were worked on, now it gets applied to the remaining configs. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
84af1bae |
| 22-Feb-2016 |
Richard Levitte |
Clean away $config{no_shared} since we have $disabled{shared} Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
5ee719da |
| 19-Feb-2016 |
Richard Levitte |
apps_extra_src changed name to apps_aux_src, rename everywhere One spot was forgotten. Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
520f434b |
| 16-Feb-2016 |
Richard Levitte |
Big rename fest of MingW shared libraries So far, MingW shared libraries were named like this libeay32.dll + libeay32.dll.a ssleay32.dll + ssleay32.dll.a That namin
Big rename fest of MingW shared libraries So far, MingW shared libraries were named like this libeay32.dll + libeay32.dll.a ssleay32.dll + ssleay32.dll.a That naming scheme is antiquated, a reminicense of SSLeay. We're therefore changing the scheme to something that's more like the rest of OpenSSL. There are two factors to remember: - Windows libraries have no recorded SOvers, which means that the shared library version must be encoded in the name. According to some, it's unwise to encode extra periods in a Windows file name, so we convert version number periods to underscores. - MingW has multilib ability. However, DLLs need to reside with the binaries that use them, so to allow both 32-bit and 64-bit DLLs to reside in the same place, we add '-x64' in the name of the 64-bit ones. The resulting name scheme (for SOver 1.1) is this: on x86: libcrypto-1_1.dll + libcrypto.dll.a libssl-1_1.dll + libssl.dll.a on x86_64: libcrypto-1_1-x64.dll + libcrypto.dll.a libssl-1_1-x64.dll + libssl.dll.a An observation is that the import lib is the same for both architectures. Not to worry, though, as they will be installed in PREFIX/lib/ for x86 and PREFIX/lib64/ for x86_64. As a side effect, MingW got its own targets in Makefile.shared. link_dso.mingw-shared and link_app.mingw-shared are aliases for the corresponding cygwin-shared targets. link_shlib.mingw-shared is, however, a target separated from the cygwin one. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
3a55c92b |
| 18-Feb-2016 |
Richard Levitte |
Rethink the uplink / applink story Adding uplink and applink to some builds was done by "magic", the configuration for "mingw" only had a macro definition, the Configure would react
Rethink the uplink / applink story Adding uplink and applink to some builds was done by "magic", the configuration for "mingw" only had a macro definition, the Configure would react to its presence by adding the uplink source files to cpuid_asm_src, and crypto/build.info inherited dance to get it compiled, and Makefile.shared made sure applink.o would be appropriately linked in. That was a lot under the hood. To replace this, we create a few template configurations in Configurations/00-base-templates.conf, inherit one of them in the "mingw" configuration, the rest is just about refering to the $target{apps_aux_src} / $target{apps_obj} in the right places. Reviewed-by: Andy Polyakov <appro@openssl.org>
show more ...
|
#
29d09327 |
| 17-Feb-2016 |
Richard Levitte |
Fix spelling Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
6ba5dd34 |
| 17-Feb-2016 |
Richard Levitte |
Fix spelling Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
d9dc3e1d |
| 17-Feb-2016 |
Richard Levitte |
Add -lresolv to the Solaris ex_libs The reason is that we use hstrerror() and other resolver functions. Reporter: Erik Forsberg <erik@efca.com> Reviewed-by: Rich Salz <rsal
Add -lresolv to the Solaris ex_libs The reason is that we use hstrerror() and other resolver functions. Reporter: Erik Forsberg <erik@efca.com> Reviewed-by: Rich Salz <rsalz@openssl.org>
show more ...
|
#
b0c93ee7 |
| 16-Feb-2016 |
Richard Levitte |
Fix use of add() and add_before() in Configurations/*.conf These two functions take a separator to concatenat the strings with as first argument. Reviewed-by: Viktor Dukhovni <v
Fix use of add() and add_before() in Configurations/*.conf These two functions take a separator to concatenat the strings with as first argument. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
show more ...
|
Revision tags: OpenSSL_1_1_0-pre3, OpenSSL-fips-2_0_12, OpenSSL_1_0_1r, OpenSSL_1_0_2f, OpenSSL_1_1_0-pre2 |
|
#
f4e175e4 |
| 15-Dec-2015 |
Andy Polyakov |
C64x+ assembly pack: add ChaCha20 and Poly1305 modules. Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
f3f1cf84 |
| 30-Jan-2016 |
Rich Salz |
Move to REF_DEBUG, for consistency. Add utility macros REF_ASSERT_NOT and REF_PRINT_COUNT This is also RT 4181 Reviewed-by: Richard Levitte <levitte@openssl.org>
|
#
64c443e3 |
| 05-Feb-2016 |
Richard Levitte |
Add support for shared_rcflag, useful for windres (Cygwin and Mingw) Reviewed-by: Rich Salz <rsalz@openssl.org>
|
#
68ab559a |
| 05-Feb-2016 |
Richard Levitte |
Modernise the mingw cflags and ldflags Reviewed-by: Rich Salz <rsalz@openssl.org>
|