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
At this moment the -march flag is set in the make file (spdk.common.mk file) as -march=native and there is no way to override it. It may be problematic, since the build machine and staging/production may be of different architecture, though it is still x86. For example, build machine may support AVX512 and will generate the assembly accordingly. It will result in SIGILL on machine that has no support for AVX512.
The text was updated successfully, but these errors were encountered:
Fixed by 7dbdf87. There are more patches in the works to enable full cross compilation to any target, but that is sufficient to target a specific x86 platform instead of native.
At this moment the
-march
flag is set in the make file (spdk.common.mk file) as-march=native
and there is no way to override it. It may be problematic, since the build machine and staging/production may be of different architecture, though it is stillx86
. For example, build machine may support AVX512 and will generate the assembly accordingly. It will result in SIGILL on machine that has no support for AVX512.The text was updated successfully, but these errors were encountered: