Hi Everyone, Thanks for the help . I was able to build DPDK using this patch on a physical machine.
Best regards, James Grant Senior Embedded Software Engineer | CSIT | QUB. -----Original Message----- From: Ruifeng Wang <[email protected]> Sent: 04 June 2021 06:49 To: [email protected]; [email protected]; [email protected] Cc: [email protected]; [email protected]; James Grant <[email protected]>; [email protected]; [email protected]; Ruifeng Wang <[email protected]>; James Grant <[email protected]>; Honnappa Nagarahalli <[email protected]> Subject: [PATCH] eal/arm: enable FreeBSD build This message is from an external sender. Please take care when responding, clicking links or opening attachments. Build on FreeBSD on aarch64 failed with error: lib/eal/arm/rte_cpuflags.c:86:9: error: unknown type name 'Elf64_auxv_t' The data type is used by OS Linux auxiliary vector read, and not used by arch specific cpu flag API implementations. Hence remove it from Arm file. Reported-by: James Grant <[email protected]> Signed-off-by: Ruifeng Wang <[email protected]> Reviewed-by: Honnappa Nagarahalli <[email protected]> --- lib/eal/arm/rte_cpuflags.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/eal/arm/rte_cpuflags.c b/lib/eal/arm/rte_cpuflags.c index 845770f1e5..d84c9fc09f 100644 --- a/lib/eal/arm/rte_cpuflags.c +++ b/lib/eal/arm/rte_cpuflags.c @@ -48,7 +48,6 @@ struct feature_entry { #ifdef RTE_ARCH_ARMv7 #define PLATFORM_STR "v7l" -typedef Elf32_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(SWP, REG_HWCAP, 0) @@ -83,7 +82,6 @@ const struct feature_entry rte_cpu_feature_table[] = { #elif defined RTE_ARCH_ARM64 #define PLATFORM_STR "aarch64" -typedef Elf64_auxv_t _Elfx_auxv_t; const struct feature_entry rte_cpu_feature_table[] = { FEAT_DEF(FP, REG_HWCAP, 0) -- 2.25.1

