FS#76640 - [dpdk] 22.07-2 breaks all functionality

Attached to Project: Community Packages
Opened by Leonid Bloch (blochl) - Monday, 21 November 2022, 15:24 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 28 January 2023, 09:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

DPDK 22.07-2 fails immediately with the following message (22.07-1 works fine):

ERROR: This system does not support "VPCLMULQDQ".
Please check that RTE_MACHINE is set correctly.
EAL: FATAL: unsupported cpu type.
EAL: unsupported cpu type.
EAL: Error - exiting with code: 1
Cause: Cannot init EAL: Operation not supported

Steps to reproduce:

Run 'dpdk-testpmd'. Even without arguments. 22.07-2 fails with the above message, 22.07-1 works fine.
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 28 January 2023, 09:45 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 21 November 2022, 15:36 GMT
Looks like it's requiring AVX-512. Build time CPU auto-detection, I assume.
Comment by Anatol Pomozov (anatolik) - Wednesday, 23 November 2022, 03:43 GMT
I rebuilt this package on a machine with AVX512 support, so your immediate issue should be fixed with dpdk-22.07-3

But ideally, the build config must be deterministic and do not depend on the host.

I checked its build and do not see how to enable specific CPU features https://github.com/DPDK/dpdk/blob/main/meson.build

Could anyone with more experience in DPDK tell me how to make its build deterministic?
Comment by Felix Yan (felixonmars) - Wednesday, 23 November 2022, 03:52 GMT Comment by Anatol Pomozov (anatolik) - Wednesday, 23 November 2022, 18:40 GMT
Added "-Dplatform=generic" in r1352066

This bug should be fixed now. @felix, if you have time, could you please check that AVX512 is still enabled at the host you built DPDK earlier? The information is printed early at the configuration stage.
Comment by Felix Yan (felixonmars) - Thursday, 24 November 2022, 01:10 GMT
It has "platform: generic" at the end of configuration output, but still tests for AVX512 in various ways and succeeded. I have then installed the resulting package and verified that the error messages in OP are not present.

So yes, it has been fixed :)

Loading...