Skip to content

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

@babouFomb

Description

@babouFomb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions