You are not logged in.
Pages: 1
I am trying to build pcsx2 from git with the intel compiler. Pcsx2 support building with the intel compiler via the --intel switch in build.sh.
Building with
sh build.sh --release --extra --intel
I get the following messages:
Forcing cross compilation.
Building pcsx2 with -DCMAKE_BUILD_PO=FALSE -DCMAKE_BUILD_TYPE=Release -DEXTRA_PLUGINS=TRUE -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake
-- The C compiler identification is Intel 17.0.4.20170411
-- The CXX compiler identification is Intel 17.0.4.20170411
-- Check for working C compiler: /opt/intel/composerxe/linux/bin/intel64/icc
-- Check for working C compiler: /opt/intel/composerxe/linux/bin/intel64/icc -- broken
CMake Error at /usr/share/cmake-3.8/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "/opt/intel/composerxe/linux/bin/intel64/icc" is not able to
compile a simple test program.
It fails with the following output:
Change Dir: /home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_31b71/fast"
/usr/bin/make -f CMakeFiles/cmTC_31b71.dir/build.make
CMakeFiles/cmTC_31b71.dir/build
make[1]: Entering directory
'/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_31b71.dir/testCCompiler.c.o
/opt/intel/composerxe/linux/bin/intel64/icc -m32 -o
CMakeFiles/cmTC_31b71.dir/testCCompiler.c.o -c
/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_31b71
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31b71.dir/link.txt
--verbose=1
/opt/intel/composerxe/linux/bin/intel64/icc -m32 -rdynamic
CMakeFiles/cmTC_31b71.dir/testCCompiler.c.o -o cmTC_31b71
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when
searching for -limf
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when
searching for -limf
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin//libimf.a when
searching for -limf
ld: cannot find -limf
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when
searching for -lsvml
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when
searching for -lsvml
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin//libsvml.a when
searching for -lsvml
ld: cannot find -lsvml
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when
searching for -lirng
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when
searching for -lirng
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin//libirng.a when
searching for -lirng
ld: cannot find -lirng
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when
searching for -lipgo
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when
searching for -lipgo
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin//libipgo.a when
searching for -lipgo
ld: cannot find -lipgo
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when
searching for -ldecimal
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when
searching for -ldecimal
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin//libdecimal.a when
searching for -ldecimal
ld: cannot find -ldecimal
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when
searching for libcilkrts.so.5
ld: skipping incompatible
/opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when
searching for libcilkrts.so.5
make[1]: *** [CMakeFiles/cmTC_31b71.dir/build.make:98: cmTC_31b71] Error 1
make[1]: Leaving directory
'/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_31b71/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeOutput.log".
See also "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.Any ideas?
Thanks
Offline
-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmakeCombining that with the ld skipping incompatible suggest you miss some lib32- depednencies or icc is not build with multilib support.
See also "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeOutput.log".
See also "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeError.log".What is in those 2 files ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
CMakeOutput.log:
The target system is: Linux - - i686
The host system is: Linux - 4.12.4-1-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /opt/intel/composerxe/linux/bin/intel64/icc -m32
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o"
The C compiler identification is Intel, found in "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/3.8.2/CompilerIdC/CMakeCCompilerId.o"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /opt/intel/composerxe/linux/bin/intel64/icpc -m32
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o"
The CXX compiler identification is Intel, found in "/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/3.8.2/CompilerIdCXX/CMakeCXXCompilerId.o"CMakeError.log:
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/intel/composerxe/linux/bin/intel64/icc -m32
Build flags:
Id flags:
The output was:
1
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libimf.a when searching for -limf
ld: cannot find -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libsvml.a when searching for -lsvml
ld: cannot find -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libirng.a when searching for -lirng
ld: cannot find -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libipgo.a when searching for -lipgo
ld: cannot find -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libdecimal.a when searching for -ldecimal
ld: cannot find -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/intel/composerxe/linux/bin/intel64/icpc -m32
Build flags:
Id flags:
The output was:
1
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libimf.a when searching for -limf
ld: cannot find -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libsvml.a when searching for -lsvml
ld: cannot find -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libirng.a when searching for -lirng
ld: cannot find -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libipgo.a when searching for -lipgo
ld: cannot find -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libdecimal.a when searching for -ldecimal
ld: cannot find -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
Determining if the C compiler works failed with the following output:
Change Dir: /home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_30d9b/fast"
/usr/bin/make -f CMakeFiles/cmTC_30d9b.dir/build.make CMakeFiles/cmTC_30d9b.dir/build
make[1]: Entering directory '/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_30d9b.dir/testCCompiler.c.o
/opt/intel/composerxe/linux/bin/intel64/icc -m32 -o CMakeFiles/cmTC_30d9b.dir/testCCompiler.c.o -c /home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_30d9b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_30d9b.dir/link.txt --verbose=1
/opt/intel/composerxe/linux/bin/intel64/icc -m32 -rdynamic CMakeFiles/cmTC_30d9b.dir/testCCompiler.c.o -o cmTC_30d9b
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libimf.a when searching for -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libimf.a when searching for -limf
ld: cannot find -limf
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libsvml.a when searching for -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libsvml.a when searching for -lsvml
ld: cannot find -lsvml
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libirng.a when searching for -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libirng.a when searching for -lirng
ld: cannot find -lirng
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libipgo.a when searching for -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libipgo.a when searching for -lipgo
ld: cannot find -lipgo
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libdecimal.a when searching for -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin//libdecimal.a when searching for -ldecimal
ld: cannot find -ldecimal
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
ld: skipping incompatible /opt/intel/composerxe/linux/compiler/lib/intel64_lin/libcilkrts.so.5 when searching for libcilkrts.so.5
make[1]: *** [CMakeFiles/cmTC_30d9b.dir/build.make:98: cmTC_30d9b] Error 1
make[1]: Leaving directory '/home/xi/progra/pcsx2-git/pcsx2/build_rel/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_30d9b/fast] Error 2Offline
Looks like the build script does not invoke the system library paths, maybe by by lacking LD_LIBRARY_PATH?
export LD_LIBRARY_PATH=/usr/libOffline
Pages: 1