Skip to content

Clam 2168 CMake: remove option to build using external TomsFastMath library#742

Merged
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2168-remove-external-tfm-option
Nov 10, 2022
Merged

Clam 2168 CMake: remove option to build using external TomsFastMath library#742
val-ms merged 1 commit intoCisco-Talos:mainfrom
val-ms:CLAM-2168-remove-external-tfm-option

Conversation

@val-ms
Copy link
Contributor

@val-ms val-ms commented Nov 3, 2022

ClamAV requires non-default build options for TomsFastMath to support bigger floating point numbers. Without this change, database and Windows EXE/DLL authenticode certificate validation may fail.

See also discussion in #736

The option to build with an external TomsFastMath library should be removed. The ENABLE_EXTERNAL_TOMSFASTMATH build should be ignored, with some sort of warning.

This commit removes the option. If used, the build will not fail, but CMake will print a warning that the unused option was ignored.

Fixes: #743

ClamAV requires non-default build options for TomsFastMath to support
bigger floating point numbers. Without this change, database and
Windows EXE/DLL authenticode certificate validation may fail.

The option to build with an external TomsFastMath library should be
removed. The `ENABLE_EXTERNAL_TOMSFASTMATH` build should be ignored,
with some sort of warning.

This commit removes the option. If used, the build will not fail, but
CMake will print a warning that the unused option was ignored.
@val-ms val-ms force-pushed the CLAM-2168-remove-external-tfm-option branch from 8e74d18 to 34303c2 Compare November 9, 2022 20:33
@val-ms
Copy link
Contributor Author

val-ms commented Nov 9, 2022

Updated per review comments offline to add missing PR link

@val-ms val-ms merged commit 5c3e866 into Cisco-Talos:main Nov 10, 2022
@val-ms val-ms deleted the CLAM-2168-remove-external-tfm-option branch November 10, 2022 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

external TomsFastMath unlikely to work for authententicode cert checking and maybe also database signature checking

1 participant