Jeffrey Walton
7c3967ad8f
Add disassembly tests to verify some aspects of code generation. Fix SUNCC_CXXFLAGS flags. Fix "Quick Tests" undr Clang (Issues 245 and 246)
2016-08-24 06:19:42 -04:00
Jeffrey Walton
ff1e5ce63a
Tweak makefile variables (SUNCC_120_OR_LATER → SUNCC_510_OR_LATER, etc)
2016-08-23 23:43:50 -04:00
Jeffrey Walton
3fee549476
Fix SunCC 12.3 and 12.4 verions
2016-08-23 22:17:56 -04:00
Jeffrey Walton
c1b692af13
Fix SunCC 12.2 compile error
2016-08-22 08:53:01 -04:00
Jeffrey Walton
8c63bc3a63
Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -O3 and above for ARM and MIPS (Issue 231)
2016-07-29 05:56:12 -04:00
Jeffrey Walton
6ed2a60a53
Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -O5 and -Ofast
2016-07-21 02:57:50 -04:00
Jeffrey Walton
fd4287e433
Add LLVM bitcode to temporaies cleaned by 'make distclean' rule
2016-07-20 03:03:01 -04:00
Jeffrey Walton
7ec3b29df6
Fix missing BMI/BMI2 instrinsics under GCC on Solaris (Issue 230)
2016-07-20 01:17:55 -04:00
Jeffrey Walton
26ab08e29d
Fix Sun Studio 12.5 detection. Only add "-w -erroff=wvarhidemem -erroff=voidretw" to SunCC 12.2 and above
2016-07-08 18:32:12 -04:00
Jeffrey Walton
2e14d5d7cb
Fix "/usr/bin/ld: -f may not be used without -shared" (Issue 219)
2016-07-06 15:08:24 -04:00
Jeffrey Walton
6c0b120072
Go back to Commit 66ada4cc61
2016-07-06 14:39:18 -04:00
Mouse
87be783cd1
Revert "Merge remote-tracking branch 'upstream/master'" - not intended to be merged by me
...
This reverts commit 762c315566 , reversing
changes made to b48866631a .
2016-07-06 12:01:28 -04:00
Jeffrey Walton
fb72dbc8cb
Add MacPorts GCC compiler and Clang integrated assembler support. This is a merge of the development branch 'clang-ia'
2016-07-05 02:48:27 -04:00
Jeffrey Walton
8a563177b3
Fix Cygwin debug build (Binutil PR 20268)
2016-06-17 06:36:22 -04:00
Jeffrey Walton
3c19dc4ce2
Guard setting of IS_GAS. Remove IS_GAS from MacPorts compiler test
2016-06-16 05:17:16 -04:00
Jeffrey Walton
3d8a08f6b6
Fix -Wa,q typo
2016-06-16 01:06:30 -04:00
Jeffrey Walton
58840a030b
Fix -DCRYPTOPP_DISABLE_ASM with MacPorts compiler (Issue 189)
2016-06-15 23:16:52 -04:00
Jeffrey Walton
2cc5084d7a
Enable -Wa,q for MacPort GCC/Clang integrated assembler
2016-06-15 18:58:02 -04:00
Jeffrey Walton
8d940f1c3f
Enable -Wa,--divide for GCC/GAS on Solaris (Binutil PR 4572)
2016-06-15 09:55:10 -04:00
Jeffrey Walton
b1df5736a7
Merge 'solaris' dev branch into 'master'
2016-06-15 05:02:28 -04:00
Jeffrey Walton
42e644f25a
Remove _GLIBCXX_CONCEPT_CHECKS for debug builds. Its part of GCC courtesy of Boost, its broken and its unmaintained
2016-06-15 02:57:08 -04:00
Jeffrey Walton
454f528d3c
Simplified IS_X86 and IS_X64 un SunOS. Add separator for benchmark tests
2016-06-10 03:05:34 -04:00
Jeffrey Walton
0403fc747d
Added Sun Studio testing (Issue 180)
2016-06-09 03:47:57 -04:00
Jeffrey Walton
b02724e788
Remove -fPIC from Solaris builds. -Kpic will be added appropriately
2016-06-09 01:02:56 -04:00
Jeffrey Walton
f4ef75ef91
Fix GCC and Solaris builds picking up Sun Studio flags
2016-06-09 00:54:53 -04:00
Jeffrey Walton
37dad288fd
Add warnings ands some suppressions to Sun Studio builds
2016-06-09 00:51:23 -04:00
Jeffrey Walton
f836f741e8
Update makefile to make it easier to tune Solaris builds during testing
2016-06-08 23:30:39 -04:00
Jeffrey Walton
d965ca66d9
Fixed broken Sun Studio compile (Issue 179)
2016-06-08 21:41:45 -04:00
Jeffrey Walton
639c9024f4
Fix Sun Studio builds (Issue 179)
2016-06-08 19:51:36 -04:00
Jeffrey Walton
69f7802b53
Add rules for AArch32 and AArch64 detection. Restrict shared object warning to shared object and dylibs
2016-05-09 02:59:16 -04:00
Jeffrey Walton
676e6546e5
Fix CPU_SPEED
2016-04-22 16:09:28 -04:00
Jeffrey Walton
63529159d6
Add blake2.cpp chacha.cpp to DLLSRCS
2016-04-22 14:19:51 -04:00
Jeffrey Walton
f8ad685c3d
Rename bench.cpp to bench1.cpp
2016-04-22 14:15:09 -04:00
Jeffrey Walton
dfe2946a75
Add Coverity artifacts to clean recipe
2016-04-11 00:51:15 -04:00
Jeffrey Walton
34a34967ac
Cleaned artifacts from testing. Move documentation clean rule to distclean
2016-03-29 03:47:33 -04:00
Jeffrey Walton
4a3bd8a01f
Fixed compile for NetBSD
2016-03-20 01:14:19 -04:00
Jeffrey Walton
d4f0dee87a
Fixed PowerPC detection code on OS X
2016-01-25 09:15:10 -05:00
Jeffrey Walton
f20585ccb8
(1) Remove -pipe from ARM builds (Issue 120); (2) Added section labels for wiki article; (3) Moved LIB_MAJOR, LIB_MINOR and LIB_PATCH into Common Section
2016-01-24 17:02:16 -05:00
andresgaragiola@gmail.com
6737fdf91d
Fixed the DLLSRCS variable of GNUmakefile to compile without errors cryptopp.dll in Windows.
2016-01-14 17:33:17 -03:00
Jeffrey Walton
c65c88a432
Added -fno-omit-frame-pointer for asan recipe
2016-01-11 06:54:00 -05:00
Jeffrey Walton
86d59828c7
Added cryptest.info to clean rule
2016-01-04 20:26:16 -05:00
Jeffrey Walton
9696b9e5e7
Added "lean" recipe that setups for for dead code stripping. Added test cases
2016-01-04 18:24:18 -05:00
Jeffrey Walton
748e79e87c
Added full support for CRYPTOPP_DATA_DIR to test script. Changed makefile to use CPU_SPEED so users could change it from the environment
2016-01-03 17:32:11 -05:00
Jeffrey Walton
a17b23d42c
Cut-in support for CRYPTOPP_DATA_DIR during install
2016-01-03 15:30:59 -05:00
Todd Knarr
69a76042e2
Fix problem, issue #65 comment 168191115
2015-12-31 13:05:14 -08:00
Jeffrey Walton
6652e94d20
Added -headerpad_max_install_names to dylib targets. Added standard directory vairables to GNUmakefile-cross
2015-12-31 01:43:42 -05:00
Jeffrey Walton
9e4e210834
Switched to standard directory variables for include/, lib/, bin/ and share/
2015-12-29 06:32:45 -05:00
Jeffrey Walton
da95a18c19
Added locv to makefile recipe, added both cryptest.exe runs (thanks Jack Lloyd)
2015-12-29 04:50:15 -05:00
Grant Ayers
4f277dab59
Fix an issue that caused targets to be rebuilt unnecessarily
...
and prevented updated object files from regenerating targets.
The 'public_service' phony target should be an 'order-only' prerequisite so
that it doesn't cause its target to be rebuilt when it is run.
However, object files were specified as order-only while the 'public_service'
target was not. This is reproducible by running 'make' twice. Another effect
is that when these object files change they will not cause the target to be
updated while they are order-only.
2015-12-28 16:30:01 -08:00
Jeffrey Walton
13748582e5
Added "make coverage" recipe. Added additional SecBlock tests
2015-12-28 07:06:50 -05:00
Jeffrey Walton
79882d4c7d
Tweaked makefile recipes to use variables for CP, MV, MKDIR, etc. Added Cmake artifacts to distclean rule
2015-12-26 06:45:59 -05:00
Todd Knarr
09d194d8cf
Added a makefile target to build the versioned .so if the unversioned name is given.
...
Added DESTDIR to an ldconf line that was missint it.
2015-12-26 03:00:31 -08:00
Todd Knarr
a3ac556e37
Resolve conflicts between master and version_shlib
2015-12-25 13:06:43 -08:00
Todd Knarr
cba640d9f1
Merge branch 'master' of https://github.com/weidai11/cryptopp into version_shlib
2015-11-26 07:02:04 -08:00
Jeffrey Walton
ed6c1de915
Fixed typos in comments
2015-11-25 15:20:37 -05:00
Todd Knarr
08e88dfbd3
Changes per noloader's comments in pull #65
2015-11-24 20:14:53 -08:00
Todd Knarr
67ba451c6a
Merge branch 'master' of https://github.com/weidai11/cryptopp into version_shlib
2015-11-24 19:36:54 -08:00
Jeffrey Walton
298988a5b9
Crypto++ 5.6.3 check-in
2015-11-22 19:17:15 -05:00
Jeffrey Walton
b3e49d8c96
Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class
2015-11-19 13:09:33 -05:00
Jeffrey Walton
628f40755a
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:35:35 -05:00
Todd Knarr
65849072f4
Linux shared-object library versioning
2015-11-08 12:29:56 -08:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
Jeffrey Walton
c5b1adde3a
Added "system" target that dumps a number of internal variables for testing and troubleshooting
2015-07-31 14:00:24 -04:00
Jeffrey Walton
b1085b7384
Changed Cygwin to use -O2 instead of -O3 with GCC 4.9 due to crash
2015-07-31 10:22:15 -04:00
Jeffrey Walton
8796c9e684
Removed IS_CENTOS feature test
2015-07-31 08:09:59 -04:00
Jeffrey Walton
80b253c8d8
Removed IS_CENTOS feature test
2015-07-31 08:09:32 -04:00
Jeffrey Walton
cfb68699b0
Fix "error: bad value (native) for -march= switch" on CentOS 5
2015-07-31 06:32:11 -04:00
Jeffrey Walton
2799132fd7
Added fipsalgt.cpp to list of Windows sources to be filtered. Its literally empty (everything is commented out)
2015-07-30 17:30:10 -04:00
Jeffrey Walton
5a35640912
Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11
2015-07-30 10:36:49 -04:00
Jeffrey Walton
cebf5906a9
Added "-Wcast-align" when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is in effect. Commented out at the moment because its very noisy
2015-07-26 23:47:46 -04:00
Jeffrey Walton
5ab200bb68
Added Install.txt to 'make dist' recipe
2015-07-26 02:33:46 -04:00
Jeffrey Walton
f36dc3d643
Added rules to supress CRYPTOPP_NO_UNALIGNED_DATA_ACCESS warning
2015-07-26 00:39:29 -04:00
Jeffrey Walton
fe9948e39a
Moved IS_MINGW block back under x86
2015-07-25 09:27:59 -04:00
Jeffrey Walton
6ac2555052
Removed -Oz from symbolize. Moved MinGW libraries down before recipes
2015-07-25 09:17:26 -04:00
Jeffrey Walton
2c988356a9
Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW".
...
The commit accidentally committed a number of unneeded files while on Windows during testing.
This reverts commit 576749b4bb .
2015-07-25 07:19:41 -04:00
Jeffrey Walton
576749b4bb
Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW
2015-07-25 07:16:45 -04:00
Jeffrey Walton
ff8974f1fd
Fixed variable expansion issue on Cygwin (other shells on on OSes were fine, like Bash and C shell)
2015-07-25 06:56:38 -04:00
Jeffrey Walton
427b45b4e7
Added some sane defaults for -g and -O if they are missing from CXXFLAGS
2015-07-25 05:03:13 -04:00
Jeffrey Walton
6bdcaefccd
Added test for CRYPTOPP_NO_UNALIGNED_DATA_ACCESS, added warning if its not defined
2015-07-25 04:23:27 -04:00
Jeffrey Walton
ac74f8e4df
Added default flag detection for ARFLAGS. Added MACHINE,SYSTEM,RELEASE variables for overrides. Added *.dylib and *.dll to clean rule. Added *.s and *.ii to clean rule
2015-07-25 02:04:53 -04:00
Jeffrey Walton
ed7566fb8d
Fixed mis-detected Fedora 22/i686
2015-07-25 01:31:37 -04:00
Jeffrey Walton
d6f5ed03bf
Cleaned up and re-organized the makefile. There are now sections, with some comments calling out what various sections do and the work arounds that are in effect
2015-07-24 23:08:18 -04:00
Jeffrey Walton
db40142116
Added -Wno-type-limits for GCC 4.3 and above. Its the GCC equivalent to Clang's -Wno-tautological-compare
2015-07-23 20:04:30 -04:00
Jeffrey Walton
3fd7a239f0
Backed out Clang integrated assembler changes. LLVM Bug 24232 pushed us over the edge. There is some skeleton code remaining for testing. To activate it, perform "make FORCE_ASM=1"
2015-07-23 16:47:03 -04:00
Jeffrey Walton
5af5c553e3
Added default for strip program. Added additional fodder to distclean recipe
2015-07-23 08:39:31 -04:00
Jeffrey Walton
123ca9b76d
Added standard makefile targets, including distclean, dist, install-strip. Removed no-lib recipe because there's a proper dependency rule
2015-07-23 07:50:55 -04:00
Jeffrey Walton
cd33142f6c
Improved flow of setting variables in makefile
2015-07-23 03:17:18 -04:00
Jeffrey Walton
b3924a7b86
Additional changes to support Clang's integrated assembler. They have not been activated though. Uri and other testers will be able to uncomment the TODO line and everything will work as expected
2015-07-23 02:18:57 -04:00
Jeffrey Walton
6d0dd41eb0
Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain
2015-07-22 03:48:10 -04:00
Jeffrey Walton
d40eee99c0
Ported relevant GNUmakefile changes to GNUmakefile-cross
2015-07-20 06:55:42 -04:00
Jeffrey Walton
d5a6f4c628
Updated comment on why -Wall is only enabled for Clang
2015-07-20 04:16:40 -04:00
Jeffrey Walton
77556fca7b
Backed-off -Wall for GCC due to issues when managing induced warnings when using -Wall.
2015-07-20 03:30:43 -04:00
Jeffrey Walton
4b4156e6ba
Fixed compile for MinGW
2015-07-19 22:09:35 -04:00
Jeffrey Walton
c4a5d802e7
Enabled -Wall for GCC 4.7 and above, and Clang
2015-07-19 15:04:57 -04:00
Jeffrey Walton
8c259ee6b4
Added recipe to create dependencies. The dependencies are only generated if multiarch is not in effect. MULTIARCH_SUPPORT was also changed to an overrideable makefile variable
2015-07-18 23:41:41 -04:00
Jeffrey Walton
134ba3e16b
Added -fsanitize-undefined-trap-on-error to help with a call stack on violations. Disabled by default
2015-07-17 11:02:37 -04:00
Jeffrey Walton
04429b291d
Added targets for UBsan and Asan
2015-07-16 00:47:09 -04:00
Jeffrey Walton
00cc470f04
Folded OPTIMIZE and SYMBOLS back into CXXFLAGS (we can use 'subst' to modify CXXFLAGS). Moved Cygwin work arounds into block guarded by IS_X86 (Cygwin only runs on Windows)
2015-07-15 19:03:49 -04:00
Jeffrey Walton
9bf0eed0f6
Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction
2015-07-13 22:53:16 -04:00
Jeffrey Walton
8ed9bc7f1f
Fixed multiarch detection on OS X
2015-07-09 02:19:15 -04:00