[llvm-dev] error compiling OpenMP with llvm in NAS

Mohammad Norouzi via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 02:39:19 PST 2016


Hi everyone,

I want to use llvm to compile parallel NAS benchmark (it uses openmp).
However, I get the following error:

/home/norouzi/Desktop/software/dp_clang/bin/llvm-link  -o ../bin/ep.A.x
ep.o ../common/print_results.o ../common/randdp.o ../common/c_timers.o
../common/wtime.o
/home/norouzi/Desktop/software/dp_clang/bin/*llvm-link: ep.o:1:1: error:
expected top-level entity*
ELF>�@@
/home/norouzi/Desktop/software/dp_clang/bin/*llvm-link: error loading file
'ep.o'*
make[1]: *** [../bin/ep.A.x] Error 1
make[1]: Leaving directory
`/home/norouzi/Desktop/software/benchmarks/NAS/NPB3.3-OMP-C/EP'
make: *** [ep] Error 2

I highly appreciate if someone could help. I have also attached the config
file.

Best,
Mohammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160224/c9a84b4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.def
Type: application/octet-stream
Size: 7083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160224/c9a84b4a/attachment.obj>


More information about the llvm-dev mailing list