Bug 240395 - [new port] security/ktls_isa-l_crypto-kmod: kernel module containing a KTLS software backend for AES-GCM
Summary: [new port] security/ktls_isa-l_crypto-kmod: kernel module containing a KTLS s...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-07 19:22 UTC by Mark Linimon
Modified: 2019-09-07 19:27 UTC (History)
1 user (show)

See Also:


Attachments
new port security/ktls_isa-l_crypto-kmod (deleted)
2019-09-07 19:22 UTC, Mark Linimon
no flags Details
new port security/ktls_isa-l_crypto-kmod (15.08 KB, patch)
2019-09-07 19:25 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2019-09-07 19:22:32 UTC
Created attachment 207264 [details]
new port security/ktls_isa-l_crypto-kmod

A reworked version of D21446 since I don't understand how to pacify phabricator.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-09-07 19:24:25 UTC
The content of attachment 207264 [details] has been deleted for the following reason:

wrong diff
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2019-09-07 19:25:42 UTC
Created attachment 207265 [details]
new port security/ktls_isa-l_crypto-kmod
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2019-09-07 19:27:45 UTC
I have attempted to bring this port up to the standards of the other kmod ports.

However, even on a new src install, it still fails to build for me:

In file included from intelisa_kern.c:33:
In file included from /home/linimon/src/head/sys/sys/types.h:46:
In file included from ./machine/endian.h:6:
In file included from ./x86/endian.h:37:
/home/linimon/src/head/sys/sys/_types.h:133:27: error: redefinition of typedef '__va_list' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef __builtin_va_list       __va_list;      /* internally known to gcc */
                                ^
./x86/_types.h:154:27: note: previous definition is here
typedef __builtin_va_list       __va_list;      /* internally known to gcc */
                                ^
In file included from intelisa_kern.c:36:
In file included from /home/linimon/src/head/sys/sys/ktls.h:32:
In file included from /home/linimon/src/head/sys/sys/refcount.h:36:
In file included from /home/linimon/src/head/sys/sys/systm.h:126:
/home/linimon/src/head/sys/sys/pcpu.h:223:10: fatal error: 'machine/pcpu_aux.h' file not found
#include <machine/pcpu_aux.h>
         ^~~~~~~~~~~~~~~~~~~~
2 errors generated.

I do not know how to proceed.