Summary: | [PATCH] security/fastd: Disable mpclmul module on FreeBSD 9. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Raphael Kubo da Costa <rakuco> | ||||||
Component: | Individual Port(s) | Assignee: | Raphael Kubo da Costa <rakuco> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | crest, crest_maintainer | ||||||
Priority: | --- | Keywords: | patch | ||||||
Version: | Latest | Flags: | crest:
maintainer-feedback+
|
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 163845 [details]
Patch v2
Patch v2, with CMAKE_ARGS+= instead of CMAKE_ARGS=.
For some reason my commit was only mentioned in bug 205018. This was landed in https://svnweb.freebsd.org/changeset/ports/402993 |
Created attachment 163842 [details] Proposed patch The attached patch makes the port build on FreeBSD 9, which has failed ever since it was added to the tree. From the fallout logs: CMake Error at src/crypto/mac/ghash/pclmulqdq/CMakeLists.txt:9 (message): WITH_MAC_GHASH_PCLMULQDQ enabled, but there is no compiler support for -mpclmul This happens because GCC 4.2.1 in base (the default compiler) does not support the -mpcmul option. Fix it by disabling the module when on FreeBSD < 10 (i.e. when base GCC is the default compiler).