You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, UADK was added to the pkgdep via 1360321. Since it was also pinned to install_all_dependencies() our imaging infrastructure picked it up. The build failed across all the distros with this (example taken from fedora38, though the same failure is seen under ubuntu, centos, rocky):
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c: In function 'wd_check_ce_support':
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c:103:58: error: 'HWCAP_CE_SM3' undeclared (first use in this function)
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: 103 | if (!strcmp("isa_ce_sm3", dev_name) && (hwcaps & HWCAP_CE_SM3))
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: | ^~~~~~~~~~~~
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c:103:58: note: each undeclared identifier is reported only once for each function it appears in
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c:106:58: error: 'HWCAP_CE_SM4' undeclared (first use in this function)
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: 106 | if (!strcmp("isa_ce_sm4", dev_name) && (hwcaps & HWCAP_CE_SM4))
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: | ^~~~~~~~~~~~
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c: In function 'wd_check_sve_support':
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: wd_alg.c:119:22: error: 'HWCAP_SVE' undeclared (first use in this function)
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: 119 | if (hwcaps & HWCAP_SVE)
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: | ^~~~~~~~~
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: make[1]: *** [Makefile:1011: wd_alg.lo] Error 1
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: fedora38: make[1]: Leaving directory '/usr/local/src/uadk'
[2024-05-13T14:56:14.920Z] 2024-05-13T16:56:14+02:00: ==> fedora38: make: *** [Makefile:1105: install-recursive] Error 1
[2024-05-13T14:56:15.180Z] 2024-05-13T16:56:14+02:00: ==> fedora38: retry limit reached.
[2024-05-13T14:56:15.180Z] 2024-05-13T16:56:14+02:00: ==> fedora38: Provisioning step had errors: Running the cleanup provisioner, if present...
[2024-05-13T14:56:15.181Z] 2024-05-13T16:56:14+02:00: ==> fedora38: Deleting output directory...
After a closer inspection it seems that UADK is quite ARM-centric since the above macros the compiler is complaining about are declared only for ARM-based systems (see ./include/wd_alg.h):
UADK doesn't build under x86_64 platforms so it cannot be installed
by the very default under the --all flag.
See #3373.
Change-Id: Ied40bc3da02b1d9435ae31de8ea5dfe96f784291
Signed-off-by: Michal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23089
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <jim.harris@samsung.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Sighting report
Recently, UADK was added to the
pkgdep
via 1360321. Since it was also pinned toinstall_all_dependencies()
our imaging infrastructure picked it up. The build failed across all the distros with this (example taken from fedora38, though the same failure is seen under ubuntu, centos, rocky):After a closer inspection it seems that UADK is quite ARM-centric since the above macros the compiler is complaining about are declared only for ARM-based systems (see
./include/wd_alg.h
):include/drv/arm_arch_ce.h
also seems to look only for ARM.Considering all that, UADK should be, at minimum, removed from
install_all_dependencies()
to make sure the--all
does not suddenly break.Also, just to note, under FreeBSD the build fails already at the
autoconf
stage:The text was updated successfully, but these errors were encountered: