Commit Graph

100 Commits (298988a5b9687f64de733ce01319e90e94b0b688)

Author SHA1 Message Date
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
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
Jeffrey Walton 94f28091e8 GNUmakefile improvements. Changed default optimization level to -O3, except on Cygwin. Added IS_DARWIN for consistency 2015-07-08 15:34:23 -04:00
Jeffrey Walton 99ed4c86db Added PHONY targets for clean, install and remove 2015-06-30 22:41:47 -04:00
Jeffrey Walton 1d8934e5b7 Removed -fPIC for Cygwin x86_64 compiles 2015-06-30 22:06:59 -04:00
Jeffrey Walton cf08f3e98d Remove dSYM directory for OS X during clean 2015-06-24 15:57:17 -04:00
Jeffrey Walton 4206b4a4dc Added IS_X86_64, enabled -fPIC for IS_X86_64. Cleared compile error when building the shared object 2015-06-14 19:07:06 -04:00
Jeffrey Walton 08b0e9105f Changed ISX86 -> IS_X86 for consistency 2015-06-08 05:14:17 -04:00
Jeffrey Walton ca6e2fa683 Fixed Clang compiler identification string 2015-06-07 20:50:10 -04:00
weidai ed7652256c fix compile with MINGW 2013-01-26 17:15:07 +00:00