| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This allows things to mostly work out of the box (#1702), and
allows us to write Emscripten specific code where required.
|
|
|
|
| |
Private report of a successful build on QNX 7 with these fixes.
|
|
|
|
| |
GH #1702
|
|
|
|
|
| |
It seems otherwise VC generates a mix of SSE and AVX code resulting
in lots of transition penalties.
|
| |
|
| |
|
|
|
|
| |
See #1624 for background
|
|
|
|
| |
Tested in qemu
|
| |
|
|
|
|
|
| |
Currently just a copy of the baseline compression function, but
compiled with BMI2 flags. On Skylake improves performance by about 40%.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Option "--with-sanitizers" sets compiler flag "-qcheck=all"
- Alternatively "--enable-sanitizers" can be set to either "address" which
translates to "-qcheck=bounds:stackclobber:unset" or "undefined" which
sets the flags "-qcheck=nullptr:divzero".
The flags are explained here: https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.2/com.ibm.xlc131.aix.doc/compiler_ref/opt_check.html
Currently compiling with "--with-sanitizers" or
"--enable-sanitizers=undefined" will cause compilation to fail because of a
"possible division by 0" in `Botan::bigint_divop`. This seems to be a false
positive, before the division occurrs an Invalid_Argument exception will be
thrown.
|
|
|
|
| |
Allows adding support for MSan with Clang and UBsan with GCC
|
|
|
|
| |
Users get nervous on seeing these during compilation.
|
|
|
|
| |
Fixes GH #210
|
|
|
|
| |
GH #939
|
|
|
|
| |
Needed for Debian
|
| |
|
|
|
|
|
| |
This used to not work but is fine with GCC 4.8 which is the minimum
version we support. Fixes #1438
|
| |
|
|
|
|
|
|
|
| |
These are best left to the user to set via CXXFLAGS or --cc-abi-flags
Add override if arch ends in in {eb, el, be, le} to set the endian.
Avoids an extra file for ppc64le.
|
|
|
|
| |
This is completely untested and just based on the documentation.
|
|
|
|
|
|
|
| |
Newlib hides system functions if __STRICT_ANSI__ is defined, as happens
with -std=c++11. To get access to POSIX APIs you must use a -std=gnu
variant. However doing that in the build is kind of painful, it's
easier to selectively undefine the macro.
|
|
|
|
|
| |
Allows avoiding -pthread on Haiku which doesn't support that flag.
(Even though it has pthreads, go figure...)
|
|
|
|
| |
Fixes #1314
|
|
|
|
|
|
| |
This breaks how we determine the ISA flags for amalgamation files.
The code for doing that is kind of a hack but I don't want to mess
with it right now, easier to just rename the ISA internally.
|
|
|
|
| |
Simplifies macro generation
|
|
|
|
|
| |
Clang doesn't like the way SIMD shifts were implemented, I guess
it fails to inline the constant. Make it a template parameter instead.
|
|
|
|
| |
It tends to have false positives, and is deprecated starting in GCC 8
|
|
|
|
|
| |
It's been dropped from GCC, appears OpenACC is the new hotness
for this kind of thing.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Splits up the ar command and ar options to make this possible.
Removes support for calling `ranlib` after `ar`: testing in #1317
confirms that all platforms we support no longer need it.
See #1237. Also fixes #455
|
|
|
|
|
| |
In older Clangs it produces false positives on compiler intrinsics
and these will just frighten the user ;)
|
|
|
|
|
| |
A uint128 type is available but is apparently broken, causes
problems with x25519
|
| |
|
| |
|
| |
|
|
|
|
| |
to reuse dictionary parsing
|
|
|
|
|
|
|
|
| |
/Oi enabled in release builds: generates intrinsic functions for appropriate function calls
https://msdn.microsoft.com/en-us/library/f99tchzc.aspx
/Os if `--optimize-for-size` is used: tells the compiler to favor optimizations for size over optimizations for speed
https://msdn.microsoft.com/en-us/library/f9534wye.aspx
|
|
|
|
|
|
| |
Also reflect anything in ABI flags into pkg-config Libs field.
GH #863
|
|
|
|
| |
configure.py already supports this arch-specific ISA flag syntax.
|
|
|
|
| |
Tested on qemu-aarch64
|
| |
|
|
|
|
|
|
| |
Fixes #767 and #19
Main purpose is to support external libs like OpenSSL on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Seen with rarely tested compilers (Sun Studio, Intel, ...) that we are missing
info for. Previously this led to a hard error which is pointless. Instead just
disable the relevant module and warn the user that something was disabled, if
they want to go look into why.
Remove bogus clmul entry in x86_64 - actually we lump both AES and CLMUL flags
under the same ISA ("aesni") since all known CPUs support either both or
neither. Caught by new configure warning.
Add Sun Studio ISA flags from GH #846
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Uses -Os for GCC/Clang/ICC, /O1 for MSVC.
Might be used in the future to control compile time features also
(eg using a large precomputed table, vs not). Does not have any
influence on module selection, just informs the build that a smaller
binary is preferable.
[ci skip]
|