[Openmp-dev] make check-openmp fails

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Tue Jun 30 16:02:49 PDT 2020


Can the owner fix this?

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/home/users/itaru.kitayama/202007010738/./bin/clang" "-fopenmp"
"-pthread" "-fno-experimental-isel" "-I"
"/tmp/llvm-project/openmp/libomptarget/test" "-I"
"/home/users/itaru.kitayama/202007010738/projects/openmp/libomptarget/../runtime/src"
"-L" "/home/users/itaru.kitayama/202007010738/lib"
"-fopenmp-targets=aarch64-unknown-linux-gnu"
"/tmp/llvm-project/openmp/libomptarget/test/offloading/dynamic_module_load.c"
"-o" "/home/users/itaru.kitayama/202007010738/projects/openmp/libomptarget/test/offloading/Output/dynamic_module_load.c.tmp-aarch64-unknown-linux-gnu"
"-DSHARED" "-shared" "-o"
"/home/users/itaru.kitayama/202007010738/projects/openmp/libomptarget/test/offloading/Output/dynamic_module_load.c.tmp.so"
# command stderr:
/usr/bin/ld: /tmp/dynamic_module_load-6d4684.o: relocation
R_AARCH64_ADR_PREL_PG_HI21 against symbol
`.__omp_offloading_803_10704613_foo_l9.region_id' which may bind
externally can not be used when making a shared object; recompile with
-fPIC
/tmp/dynamic_module_load-6d4684.o: In function `foo':
dynamic_module_load.c:(.text+0xc): dangerous relocation: unsupported relocation
clang-11: error: linker command failed with exit code 1 (use -v to see
invocation)

error: command failed with exit status: 1


More information about the Openmp-dev mailing list