1 of 5,609 gcc trunk: OpenACC offload to nvptx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,
I have been trying to build OpenACC/CUDA support, and have succeded in
building and installing the compiler by looking at instructions on
both http://scelementary.com/2015/04/25/openacc-in-gcc.html and
http://scelementary.com/2015/04/25/openacc-in-gcc.html
However the resulting compiler (built against trunk) does not generate
an executable, it gives me the following:
e802756@sow768056c-li [179] 02:14 PM [TEST] gcc -fopenacc
-foffload=nvptx-none -foffload="-O3" -O3 -o gpu.x  pi.c
gcc: warning: '-x lto' after last input file has no effect
gcc: fatal error: no input files
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.


--------------------------
e802756@sow768056c-li [180] 02:14 PM [TEST] gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gnu/6.0.0-acc/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
Target: x86_64-pc-linux-gnu
Configured with:
/home/travel/GCC/BUILDS/TRY-offload/source/gcc/configure --prefix=
--disable-bootstrap --enable-languages=c,c++,fortran,lto
--disable-multilib
--enable-offload-targets=nvptx-none=/opt/gnu/6.0.0-acc
--with-cuda-driver-include=/opt/cuda/7.5/include
--with-cuda-driver-lib=/usr/lib64/nvidia CC='gcc -m64' CXX='g++ -m64'
--with-sysroot=
Thread model: posix
gcc version 6.0.0 20160301 (experimental) (GCC)


Any idea what's going on and/or any suggestions to try?
Thanks a lot



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux