Skip to content

Commit

Permalink
Fix ZFS module build
Browse files Browse the repository at this point in the history
resolves: link_elf_obj: symbol abd_checksum_edonr_native undefined

The required module-build bits were originally identified in the
upstream pull request: openzfs/zfs#12735
But were missed when the code was imported (since they are not
committed upstream).

X-MFC-With:	dae1713, 09cd634
Submitted by:	freqlabs
Sponsored by:	Klara Inc.
  • Loading branch information
allanjude committed Nov 17, 2021
1 parent 97e28f0 commit 2e946f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys/modules/zfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ KMOD= zfs
.PATH: ${SRCDIR}/avl \
${SRCDIR}/lua \
${SRCDIR}/nvpair \
${SRCDIR}/icp/algs/edonr \
${SRCDIR}/os/freebsd/spl \
${SRCDIR}/os/freebsd/zfs \
${SRCDIR}/unicode \
Expand Down Expand Up @@ -44,6 +45,9 @@ SRCS= vnode_if.h device_if.h bus_if.h
# avl
SRCS+= avl.c

# icp
SRCS+= edonr.c

#lua
SRCS+= lapi.c \
lauxlib.c \
Expand Down Expand Up @@ -191,6 +195,7 @@ SRCS+= abd.c \
dsl_scan.c \
dsl_synctask.c \
dsl_userhold.c \
edonr_zfs.c \
fm.c \
gzip.c \
lzjb.c \
Expand Down Expand Up @@ -313,6 +318,7 @@ CFLAGS.dmu_traverse.c= -Wno-cast-qual
CFLAGS.dsl_dir.c= -Wno-cast-qual
CFLAGS.dsl_deadlist.c= -Wno-cast-qual
CFLAGS.dsl_prop.c= -Wno-cast-qual
CFLAGS.edonr.c= -Wno-cast-qual
CFLAGS.fm.c= -Wno-cast-qual
CFLAGS.lz4.c= -Wno-cast-qual
CFLAGS.spa.c= -Wno-cast-qual
Expand Down

0 comments on commit 2e946f8

Please sign in to comment.