Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS on s390 and ppc64le #108

Open
kwizart opened this issue Dec 2, 2023 · 2 comments
Open

FTBFS on s390 and ppc64le #108

kwizart opened this issue Dec 2, 2023 · 2 comments

Comments

@kwizart
Copy link

kwizart commented Dec 2, 2023

This library currently fails to build from sources in theses architectures.

[  4%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o
cd /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/redhat-linux-build/Source/GmmLib && /usr/bin/g++ -DGMM_LIB_DLL -DGMM_LIB_DLL_EXPORTS -DGMM_UNIFIED_LIB -DGMM_UNIFY_DAF_API -DISTDLIB_UMD -DSMALL_POOL_ALLOC -DUNUSED_ISTDLIB_MT -D_ATL_NO_WIN_SUPPORT -D_X64 -D__GFX_MACRO_C__ -D__GMM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__UMD -Digfx_gmmumd_dll_EXPORTS -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility/GmmLog -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/GlobalInfo -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Texture -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Resource -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Platform -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/util -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/common -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/umKmInc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/install -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-reorder -Wsign-promo -Wnon-virtual-dtor -Wno-invalid-offsetof -fvisibility-inlines-hidden -fno-use-cxa-atexit -fno-rtti -fexceptions -fcheck-new -std=c++11 -pthread -Werror=non-virtual-dtor -DNDEBUG -fPIC -Wall -Winit-self -Winvalid-pch -Wpointer-arith -Wno-unused -Wno-unknown-pragmas -Wno-comments -Wno-narrowing -Wno-overflow -Wno-parentheses -Wno-missing-braces -Wno-sign-compare -Wno-enum-compare -Werror=address -Werror=format-security -Werror=return-type -march=corei7 -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mfpmath=sse -finline-functions -fno-short-enums -Wa,--noexecstack -fno-strict-aliasing -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -fstack-protector -fdata-sections -ffunction-sections -fmessage-length=0 -fvisibility=hidden -fPIC -g -m64 -funswitch-loops -Wl,--no-undefined -Wl,--no-as-needed -Wl,--gc-sections -O2 -fno-omit-frame-pointer -finline-limit=100 -MD -MT Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o -MF CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o.d -o CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o -c /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/CachePolicy/GmmCachePolicyCommon.cpp
g++: error: unrecognized argument in option ‘-march=corei7’
  • ppc64le
https://kojipkgs.fedoraproject.org/work/tasks/3299/109803299/build.log
[  4%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen10CachePolicy.cpp.o
cd /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/redhat-linux-build/Source/GmmLib && /usr/bin/g++ -DGMM_LIB_DLL -DGMM_LIB_DLL_EXPORTS -DGMM_UNIFIED_LIB -DGMM_UNIFY_DAF_API -DISTDLIB_UMD -DSMALL_POOL_ALLOC -DUNUSED_ISTDLIB_MT -D_ATL_NO_WIN_SUPPORT -D_X64 -D__GFX_MACRO_C__ -D__GMM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__UMD -Digfx_gmmumd_dll_EXPORTS -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility/GmmLog -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/GlobalInfo -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Texture -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Resource -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Platform -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/util -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/common -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/umKmInc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/install -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-reorder -Wsign-promo -Wnon-virtual-dtor -Wno-invalid-offsetof -fvisibility-inlines-hidden -fno-use-cxa-atexit -fno-rtti -fexceptions -fcheck-new -std=c++11 -pthread -Werror=non-virtual-dtor -DNDEBUG -fPIC -Wall -Winit-self -Winvalid-pch -Wpointer-arith -Wno-unused -Wno-unknown-pragmas -Wno-comments -Wno-narrowing -Wno-overflow -Wno-parentheses -Wno-missing-braces -Wno-sign-compare -Wno-enum-compare -Werror=address -Werror=format-security -Werror=return-type -march=corei7 -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mfpmath=sse -finline-functions -fno-short-enums -Wa,--noexecstack -fno-strict-aliasing -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -fstack-protector -fdata-sections -ffunction-sections -fmessage-length=0 -fvisibility=hidden -fPIC -g -m64 -funswitch-loops -Wl,--no-undefined -Wl,--no-as-needed -Wl,--gc-sections -O2 -fno-omit-frame-pointer -finline-limit=100 -MD -MT Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/__/Common/AssertTracer/AssertTracer.cpp.o -MF CMakeFiles/igfx_gmmumd_dll.dir/__/Common/AssertTracer/AssertTracer.cpp.o.d -o CMakeFiles/igfx_gmmumd_dll.dir/__/Common/AssertTracer/AssertTracer.cpp.o -c /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/Common/AssertTracer/AssertTracer.cpp
cd /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/redhat-linux-build/Source/GmmLib && /usr/bin/g++ -DGMM_LIB_DLL -DGMM_LIB_DLL_EXPORTS -DGMM_UNIFIED_LIB -DGMM_UNIFY_DAF_API -DISTDLIB_UMD -DSMALL_POOL_ALLOC -DUNUSED_ISTDLIB_MT -D_ATL_NO_WIN_SUPPORT -D_X64 -D__GFX_MACRO_C__ -D__GMM -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__UMD -Digfx_gmmumd_dll_EXPORTS -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility/GmmLog -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Utility -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/GlobalInfo -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Texture -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Resource -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/Platform -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/util -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/common -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/inc/umKmInc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/install -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-reorder -Wsign-promo -Wnon-virtual-dtor -Wno-invalid-offsetof -fvisibility-inlines-hidden -fno-use-cxa-atexit -fno-rtti -fexceptions -fcheck-new -std=c++11 -pthread -Werror=non-virtual-dtor -DNDEBUG -fPIC -Wall -Winit-self -Winvalid-pch -Wpointer-arith -Wno-unused -Wno-unknown-pragmas -Wno-comments -Wno-narrowing -Wno-overflow -Wno-parentheses -Wno-missing-braces -Wno-sign-compare -Wno-enum-compare -Werror=address -Werror=format-security -Werror=return-type -march=corei7 -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mfpmath=sse -finline-functions -fno-short-enums -Wa,--noexecstack -fno-strict-aliasing -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -fstack-protector -fdata-sections -ffunction-sections -fmessage-length=0 -fvisibility=hidden -fPIC -g -m64 -funswitch-loops -Wl,--no-undefined -Wl,--no-as-needed -Wl,--gc-sections -O2 -fno-omit-frame-pointer -finline-limit=100 -MD -MT Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen10CachePolicy.cpp.o -MF CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen10CachePolicy.cpp.o.d -o CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen10CachePolicy.cpp.o -c /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.14/Source/GmmLib/CachePolicy/GmmGen10CachePolicy.cpp
[  7%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen11CachePolicy.cpp.o
[  9%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o
[ 11%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen8CachePolicy.cpp.o
[ 14%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen9CachePolicy.cpp.o
[ 16%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicy.cpp.o
cc1plus: error: unrecognized command-line option ‘-march=corei7’
cc1plus: error: unrecognized command-line option ‘-mpopcnt’
cc1plus: error: unrecognized command-line option ‘-msse’
cc1plus: error: unrecognized command-line option ‘-msse2’
cc1plus: error: unrecognized command-line option ‘-msse3’
cc1plus: error: unrecognized command-line option ‘-mssse3’
cc1plus: error: unrecognized command-line option ‘-msse4’
[ 19%] Building CXX object Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen12CachePolicy.cpp.o
cc1plus: error: unrecognized command-line option ‘-msse4.1’
cc1plus: error: unrecognized command-line option ‘-msse4.2’
cc1plus: error: unrecognized command-line option ‘-mfpmath=sse’
@kwizart
Copy link
Author

kwizart commented Dec 2, 2023

side note:
Note sure about riscv as the architecture was previously excluded from building on fedora.

@kwizart
Copy link
Author

kwizart commented Dec 10, 2024

Still an issue with today's scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=126685704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant