Hi All, I have been trying with little success to build and use the gcc 5 snapshots 2015-02-22 and 2015-03-01 with offload support for xeon phi the build in itself is successfull, I use gcc 4.9.2 install_dir=/ichec/packages/gcc/5.0.0-s20150301 mkdir -p build-fionn-phi pushd build-fionn-phi rm -rf * ../configure --build=x86_64-intelmicemul-linux-gnu --host=x86_64-intelmicemul-linux-gnu \ --target=x86_64-intelmicemul-linux-gnu --enable-as-accelerator-for=x86_64-suse-linux \ --with-pkgversion=ichec --enable-languages=c,c++,fortran --disable-libgcj \ --enable-__cxa_atexit --enable-libstdcxx-allocator=new --prefix=$install_dir make -j20 make install popd mkdir -p build-fionn-host pushd build-fionn-host rm -rf * ../configure --enable-languages=c,c++,fortran \ --enable-__cxa_atexit --enable-libstdcxx-allocator=new --with-pkgversion=ichec \ --disable-libgcj --build=x86_64-suse-linux --host=x86_64-suse-linux \ --enable-offload-targets=x86_64-intelmicemul-linux-gnu=$install_dir/ --prefix=$install_dir make -j 20 make install popd I set up the environment(I use modules) set base /ichec/packages/$PKG/$VER prepend-path PATH $base/bin prepend-path LD_LIBRARY_PATH $base/lib prepend-path LD_LIBRARY_PATH $base/lib64 prepend-path LD_LIBRARY_PATH $base/lib/gcc/x86_64-suse-linux/lib prepend-path LD_LIBRARY_PATH $base/lib/gcc/x86_64-suse-linux/lib64 prepend-path LD_LIBRARY_PATH $base/lib/gcc/x86_64-intelmicemul-linux-gnu/5.0.0 prepend-path LD_LIBRARY_PATH /ichec/packages/gmp/5.1.2/lib prepend-path LD_LIBRARY_PATH /ichec/packages/mpfr/3.1.2/lib prepend-path LD_LIBRARY_PATH /ichec/packages/mpc/1.0.1/lib prepend-path LIBRARY_PATH /ichec/packages/gmp/5.1.2/lib prepend-path LIBRARY_PATH /ichec/packages/mpfr/3.1.2/lib prepend-path LIBRARY_PATH /ichec/packages/mpc/1.0.1/lib prepend-path LIBRARY_PATH $base/lib/gcc/x86_64-suse-linux/lib64 prepend-path LIBRARY_PATH $base/lib/gcc/x86_64-suse-linux/lib prepend-path CPATH $base/include prepend-path CPATH /ichec/packages/gmp/5.1.2/include prepend-path CPATH /ichec/packages/mpfr/3.1.2/include prepend-path CPATH /ichec/packages/mpc/1.0.1/include prepend-path FPATH /ichec/packages/mpfr/3.1.2/include prepend-path FPATH /ichec/packages/gmp/5.1.2/include prepend-path FPATH /ichec/packages/mpc/1.0.1/include prepend-path FPATH $base/include prepend-path INCLUDE /ichec/packages/gmp/5.1.2/include prepend-path INCLUDE /ichec/packages/mpfr/3.1.2/include prepend-path INCLUDE /ichec/packages/mpc/1.0.1//include prepend-path MANPATH $base/shared/man then I try to build a very simple offload c code https://sites.google.com/site/alinmelena/coding/xeon-phi/hello_v2-c gcc -o hello_v2.X hello_v2.c -fopenmp mkoffload-intelmic: fatal error: offload compiler x86_64-suse-linux-accel-x86_64-intelmicemul-linux-gnu-gcc not found compilation terminated. lto-wrapper: fatal error: /ichec/home/packages/gcc/5.0.0-s20150301/bin/../libexec/gcc/x86_64-suse-linux/5.0.0//accel/x86_64-intelmicemul-linux-gnu/mkoffload r eturned 1 exit status compilation terminated. /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status Any idea what I am doing wrong? regards, Alin Without Questions there are no Answers! ______________________________________________________________________ Dr. Alin Marin ELENA http://alin.elenaworld.net/ ______________________________________________________________________