Hi, there seems to be a link issue whenever trying to statically linking libgcc and libstdc++, happens with the last release, also tested 1.0.15468.28:
drwxr-xr-x 2 embybuilder embybuilder 4.0K Jun 7 13:11 igc/
lrwxrwxrwx 1 embybuilder embybuilder 13 Jun 7 13:11 libiga64.so -> libiga64.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 17 Jun 7 13:11 libiga64.so.1 -> libiga64.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 33M Jun 7 13:11 libiga64.so.1.0.1*
lrwxrwxrwx 1 embybuilder embybuilder 11 Jun 7 13:11 libigc.so -> libigc.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 15 Jun 7 13:11 libigc.so.1 -> libigc.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 2.4G Jun 7 13:11 libigc.so.1.0.1*
lrwxrwxrwx 1 embybuilder embybuilder 14 Jun 7 13:11 libigdfcl.so -> libigdfcl.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 18 Jun 7 13:11 libigdfcl.so.1 -> libigdfcl.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 38M Jun 7 13:11 libigdfcl.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 3.1G Jun 7 13:11 libopencl-clang.so.14*
drwxr-xr-x 2 embybuilder embybuilder 4.0K Jun 7 13:11 pkgconfig/
This does not happen without them:
drwxr-xr-x 2 embybuilder embybuilder 4.0K Jun 7 15:15 igc/
lrwxrwxrwx 1 embybuilder embybuilder 13 Jun 7 15:15 libiga64.so -> libiga64.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 17 Jun 7 15:15 libiga64.so.1 -> libiga64.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 2.5M Jun 7 15:15 libiga64.so.1.0.1*
lrwxrwxrwx 1 embybuilder embybuilder 11 Jun 7 15:15 libigc.so -> libigc.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 15 Jun 7 15:15 libigc.so.1 -> libigc.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 83M Jun 7 15:15 libigc.so.1.0.1*
lrwxrwxrwx 1 embybuilder embybuilder 14 Jun 7 15:15 libigdfcl.so -> libigdfcl.so.1*
lrwxrwxrwx 1 embybuilder embybuilder 18 Jun 7 15:15 libigdfcl.so.1 -> libigdfcl.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 1.9M Jun 7 15:15 libigdfcl.so.1.0.1*
-rwxr-xr-x 1 embybuilder embybuilder 111M Jun 7 15:15 libopencl-clang.so.14*
drwxr-xr-x 2 embybuilder embybuilder 4.0K Jun 7 15:15 pkgconfig/
The compiler is built using GCC from a crosstool toolchain.
Hi, there seems to be a link issue whenever trying to statically linking libgcc and libstdc++, happens with the last release, also tested 1.0.15468.28:
This does not happen without them:
The compiler is built using GCC from a crosstool toolchain.
CMake command:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/home/embybuilder/Buildbot/x64/cmake/cross.cmake -DCMAKE_INSTALL_PREFIX=/home/embybuilder/Buildbot/x64/libopencl-intel-graphics-compiler-x64/staging -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_SKIP_RPATH=ON -DIGC_OPTION__ARCHITECTURE_TARGET=Linux64 -DIGC_OPTION__ARCHITECTURE_HOST=Linux64 -DIGC_OPTION__LLVM_MODE=Source -Wno-dev
CMake cross file:
Statically linking these libs is desirable to be more portable, any idea what's going on?