Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install clang-omp on Tegra X1 #31

Open
babouFomb opened this issue May 4, 2017 · 2 comments
Open

can't install clang-omp on Tegra X1 #31

babouFomb opened this issue May 4, 2017 · 2 comments

Comments

@babouFomb
Copy link

Hello,

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.

@hyviquel
Copy link

hyviquel commented May 4, 2017

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é

@hyviquel
Copy link

hyviquel commented May 4, 2017

(it might change nothing, but then you should post this issue in the other repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants