This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 6.1 build fails with offloading support
- From: Vikram Singh <vikramsingh001 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 3 Aug 2016 18:51:14 +0300
- Subject: GCC 6.1 build fails with offloading support
- Authentication-results: sourceware.org; auth=none
I am trying to build GCC6.1 with openacc offloading support.
I am using the following script.
https://github.com/olcf/OLCFHack15/blob/master/GCC5OffloadTest/auto-gcc5-offload-openacc-build-install.sh
I have used the same script previously to build gcc5.2 as well.
I modified and used it to build gcc 6.1 on my machine with Linux Mint.
It built successfully. This was using gcc 4.8
The problem is when I try to build it on another machine. It stops
giving the error,
/bin/bash /test/Nvidia/OpenACC/OLCFHack15/gcc6/src/gcc/libgcc/../mkinstalldirs
/test/Nvidia/OpenACC/OLCFHack15/gcc6/install/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include
/usr/bin/install -c -m 644 unwind.h
/test/Nvidia/OpenACC/OLCFHack15/gcc6/install/lib/gcc/x86_64-pc-linux-gnu/6.1.0/include
make[2]: Leaving directory
`/test/Nvidia/OpenACC/OLCFHack15/gcc6/build/gcc6/x86_64-pc-linux-gnu/libgcc'
/bin/bash: line 3: cd: x86_64-pc-linux-gnu/libstdc++-v3: No such file
or directory
make[1]: *** [install-target-libstdc++-v3] Error 1
I thought it maybe was a problem with the gcc version. But the machine
had gcc 4.4 and gcc 5.2. I used both of them, but they gave the same
error.
I then manually copied libstdc++ and then configured and compiled it,
and reran the script and then it gets stuck at libsanitizer. I don't
know whether the manual process will work for the whole thing, so I am
raising this question.
I know that another person has also experienced the same issue.
Any ideas.
Thanks,
Vikram