Skip to content

Commit

Permalink
supra: Link missing rte_log static lib
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Jan 10, 2025
1 parent a47b691 commit 06a3b8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/supraffi/seal.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package supraffi

/*
#cgo CFLAGS: -I${SRCDIR}/../../extern/supraseal/sealing
#cgo LDFLAGS: -fno-omit-frame-pointer -Wl,-z,noexecstack -Wl,-z,relro,-z,now -fuse-ld=bfd -L${SRCDIR}/../../extern/supraseal/obj -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/build/lib -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/isa-l/.libs -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/isa-l-crypto/.libs -lsupraseal -Wl,--whole-archive -Wl,--no-as-needed -lspdk_log -lspdk_bdev_malloc -lspdk_bdev_null -lspdk_bdev_nvme -lspdk_bdev_passthru -lspdk_bdev_lvol -lspdk_bdev_raid -lspdk_bdev_error -lspdk_bdev_gpt -lspdk_bdev_split -lspdk_bdev_delay -lspdk_bdev_zone_block -lspdk_blobfs_bdev -lspdk_blobfs -lspdk_blob_bdev -lspdk_lvol -lspdk_blob -lspdk_nvme -lspdk_bdev_ftl -lspdk_ftl -lspdk_bdev_aio -lspdk_bdev_virtio -lspdk_virtio -lspdk_vfio_user -lspdk_accel_ioat -lspdk_ioat -lspdk_scheduler_dynamic -lspdk_env_dpdk -lspdk_scheduler_dpdk_governor -lspdk_scheduler_gscheduler -lspdk_sock_posix -lspdk_event -lspdk_event_bdev -lspdk_bdev -lspdk_notify -lspdk_dma -lspdk_event_accel -lspdk_accel -lspdk_event_vmd -lspdk_vmd -lspdk_event_sock -lspdk_init -lspdk_thread -lspdk_trace -lspdk_sock -lspdk_rpc -lspdk_jsonrpc -lspdk_json -lspdk_util -lspdk_keyring -lspdk_keyring_file -lspdk_keyring_linux -lspdk_event_keyring -Wl,--no-whole-archive ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/build/lib/libspdk_env_dpdk.a -Wl,--whole-archive ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_bus_pci.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_cryptodev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_dmadev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_eal.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_ethdev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_hash.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_kvargs.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mbuf.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool_ring.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_net.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_pci.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_power.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_rcu.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_ring.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_telemetry.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_vhost.a -Wl,--no-whole-archive -lnuma -lisal -lisal_crypto -pthread -ldl -lrt -luuid -lssl -lcrypto -lm -laio -lfuse3 -larchive -lkeyutils -lcudart_static -L${SRCDIR}/../../extern/supraseal/deps/blst -lblst -lconfig++ -lgmp -lstdc++
#cgo LDFLAGS: -fno-omit-frame-pointer -Wl,-z,noexecstack -Wl,-z,relro,-z,now -fuse-ld=bfd -L${SRCDIR}/../../extern/supraseal/obj -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/build/lib -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/isa-l/.libs -L${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/isa-l-crypto/.libs -lsupraseal -Wl,--whole-archive -Wl,--no-as-needed -lspdk_log -lspdk_bdev_malloc -lspdk_bdev_null -lspdk_bdev_nvme -lspdk_bdev_passthru -lspdk_bdev_lvol -lspdk_bdev_raid -lspdk_bdev_error -lspdk_bdev_gpt -lspdk_bdev_split -lspdk_bdev_delay -lspdk_bdev_zone_block -lspdk_blobfs_bdev -lspdk_blobfs -lspdk_blob_bdev -lspdk_lvol -lspdk_blob -lspdk_nvme -lspdk_bdev_ftl -lspdk_ftl -lspdk_bdev_aio -lspdk_bdev_virtio -lspdk_virtio -lspdk_vfio_user -lspdk_accel_ioat -lspdk_ioat -lspdk_scheduler_dynamic -lspdk_env_dpdk -lspdk_scheduler_dpdk_governor -lspdk_scheduler_gscheduler -lspdk_sock_posix -lspdk_event -lspdk_event_bdev -lspdk_bdev -lspdk_notify -lspdk_dma -lspdk_event_accel -lspdk_accel -lspdk_event_vmd -lspdk_vmd -lspdk_event_sock -lspdk_init -lspdk_thread -lspdk_trace -lspdk_sock -lspdk_rpc -lspdk_jsonrpc -lspdk_json -lspdk_util -lspdk_keyring -lspdk_keyring_file -lspdk_keyring_linux -lspdk_event_keyring -Wl,--no-whole-archive ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/build/lib/libspdk_env_dpdk.a -Wl,--whole-archive ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_bus_pci.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_cryptodev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_dmadev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_eal.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_ethdev.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_hash.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_kvargs.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_log.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mbuf.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool_ring.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_net.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_pci.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_power.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_rcu.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_ring.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_telemetry.a ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_vhost.a -Wl,--no-whole-archive -lnuma -lisal -lisal_crypto -pthread -ldl -lrt -luuid -lssl -lcrypto -lm -laio -lfuse3 -larchive -lkeyutils -lcudart_static -L${SRCDIR}/../../extern/supraseal/deps/blst -lblst -lconfig++ -lgmp -lstdc++
#include <stdint.h>
#include <stdbool.h>
#include "supra_seal.h"
Expand Down Expand Up @@ -132,6 +132,7 @@ ${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_eal.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_ethdev.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_hash.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_kvargs.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_log.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mbuf.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool.a
${SRCDIR}/../../extern/supraseal/deps/spdk-v24.05/dpdk/build/lib/librte_mempool_ring.a
Expand Down

0 comments on commit 06a3b8a

Please sign in to comment.