You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to install Clang with OpenMP-4.X support on my Tegra X1. I followed the steps given on: https://parallel-computing.pro/index.php/9-cuda/43-openmp-4-0-on-nvidia-cuda-gpus
I have gcc/g++ 5.4 and 4.8; cmake 3.4.3 installed. My ubuntu version is 16.04 and gcc/g++-5.4 is the default.
Due to the problems of memory space available on the memory of the X1, I mounted a micro SD formatted in ext4 in / mnt / SD.
I passed these flags to cmake for configuration: cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="ARM;AArch64" -DCMAKE_INSTALL_PREFIX=/mnt/SD/openmp/llvm/install ..
During the compilation, I got an error c++: internal compiler error: Killed (program cc1plus)
I attached the output of make: clang-openmp-compilation-bug.txt
I thought it might be a problem due to the compiler version, so I put it to 5.4 with export CC = gcc-4.8 and export CXX = g ++ - 4.8, then I removed the contents of my build directory build and restart cmake with the same arguments previously quoted above. But I got the same error message g++-4.8: internal compiler error: Killed (program cc1plus).
I attached the output of make for gcc/g++ 4.8 clang-openmp-compilation-bug-gcc-4.8.txt
I can not figure out the source of the problem because I already installed this same clang-omp version on two x86 PCs successfully.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
This is an old repository with outdated code, you should try the following one which is basically the preparation of the future version that will be mainlined to LLVM trunk: https://github.com/clang-ykt
😉
Hervé
Hello,
I try to install
Clang with OpenMP-4.X
support on myTegra X1
. I followed the steps given on:https://parallel-computing.pro/index.php/9-cuda/43-openmp-4-0-on-nvidia-cuda-gpus
I have
gcc/g++ 5.4 and 4.8
;cmake 3.4.3
installed. My ubuntu version is16.04
and gcc/g++-5.4 is the default.Due to the problems of memory space available on the memory of the X1, I mounted a micro SD formatted in ext4 in / mnt / SD.
I passed these flags to cmake for configuration:
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="ARM;AArch64" -DCMAKE_INSTALL_PREFIX=/mnt/SD/openmp/llvm/install ..
During the compilation, I got an error
c++: internal compiler error: Killed (program cc1plus)
I attached the output of make:
clang-openmp-compilation-bug.txt
I thought it might be a problem due to the compiler version, so I put it to 5.4 with
export CC = gcc-4.8
andexport CXX = g ++ - 4.8
, then I removed the contents of my build directory build and restart cmake with the same arguments previously quoted above. But I got the same error messageg++-4.8: internal compiler error: Killed (program cc1plus)
.I attached the output of make for gcc/g++ 4.8
clang-openmp-compilation-bug-gcc-4.8.txt
I can not figure out the source of the problem because I already installed this same clang-omp version on two x86 PCs successfully.
Thanks.
The text was updated successfully, but these errors were encountered: