Open dpslavov opened 1 year ago
There already is an improved version of fdsdump that also includes a fallback implementation of this component for platforms without AVX. It is currently only in our internal repo as there are still code reviews and other processes that need to be done, but that should be finished and made available here soon.
I could make it available here sooner if that'd help, but it's important to note that some parts might still not be 100% production ready.
Alternatively, since this problem only involves the fdsdump tool and not the collector itself, if you don't need the fdsdump tool, the building of it can be disabled by removing it from here: https://github.com/CESNET/ipfixcol2/blob/master/src/tools/CMakeLists.txt
There probably should've been a check that does this automatically if an unsupported architecture is detected considering that this is in master, that's probably a bit of an overlook on our side.
Since this isn't a big issue, I'm choosing to stick with the older version until the proper fix comes out.
Build on ARM platform fails with error "xmmintrin.h: No such file or directory", as far as I can see it's because of using i386 specific code:
https://github.com/CESNET/ipfixcol2/blob/47bf8aaf08d2bd5db7de093fdb07287c4ceeebf0/src/tools/fdsdump/src/aggregator/hashTable.cpp#L9