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 build OpenMP runtime using clang-omp #55

Open
gnzlbg opened this issue Dec 9, 2014 · 4 comments
Open

Can't build OpenMP runtime using clang-omp #55

gnzlbg opened this issue Dec 9, 2014 · 4 comments

Comments

@gnzlbg
Copy link

gnzlbg commented Dec 9, 2014

I've installed clang-omp following the instructions on its website. The last step is to install the runtime library from openmp.llvm.org.

When following the instructions to install it in MacOS X Yosemite using:

make compiler=clang mode=release

I get the following error with clang-omp trunk:

----- 1/1 --- iomp.o -----
clang -r -nostartfiles -static-intel  -no-intel-extensions \
        -Wl,-unexported_symbols_list,external-symbols.lst \
        -Wl,-non_global_symbols_strip_list,external-symbols.lst \
        -filelist external-objects.lst \
        -o iomp.o ittnotify_static.o kmp_affinity.o kmp_alloc.o kmp_atomic.o kmp_barrier.o kmp_cancel.o kmp_csupport.o kmp_debug.o kmp_dispatch.o kmp_environment.o kmp_error.o kmp_ftn_cdecl.o kmp_ftn_extra.o kmp_global.o kmp_gsupport.o kmp_i18n.o kmp_io.o kmp_itt.o kmp_lock.o kmp_runtime.o kmp_sched.o kmp_settings.o kmp_str.o kmp_taskdeps.o kmp_tasking.o kmp_taskq.o kmp_threadprivate.o kmp_utility.o kmp_version.o kmp_wait_release.o z_Linux_asm.o z_Linux_util.o
clang: error: unknown argument: '-static-intel'
clang: error: unknown argument: '-no-intel-extensions'
make[1]: *** [iomp.o] Error 1

I didn't had this error the last time I installed clang-omp and the run-time library, is it an issue with clang-omp or the runtime and where should I report this error?

@alexey-bataev
Copy link
Member

Hmm, that's very strange. I could not reproduce your problem. Try to
build runtime using cmake

Best regards,

Alexey Bataev

Software Engineer
Intel Compiler Team
Intel Corp.

09.12.2014 19:45, gnzlbg пишет:

I've installed clang-omp following the instructions on its website
http://clang-omp.github.io/. The last step is to install the runtime
library from openmp.llvm.org http://openmp.llvm.org/.

When following the instructions to install it in MacOS X Yosemit

|make compiler=clang mode=release|

I get the following error with clang-omp trunk:

----- 1/1 --- iomp.o -----
clang -r -nostartfiles -static-intel -no-intel-extensions
-Wl,-unexported_symbols_list,external-symbols.lst
-Wl,-non_global_symbols_strip_list,external-symbols.lst
-filelist external-objects.lst
-o iomp.o ittnotify_static.o kmp_affinity.o kmp_alloc.o kmp_atomic.o kmp_barrier.o kmp_cancel.o kmp_csupport.o kmp_debug.o kmp_dispatch.o kmp_environment.o kmp_error.o kmp_ftn_cdecl.o kmp_ftn_extra.o kmp_global.o kmp_gsupport.o kmp_i18n.o kmp_io.o kmp_itt.o kmp_lock.o kmp_runtime.o kmp_sched.o kmp_settings.o kmp_str.o kmp_taskdeps.o kmp_tasking.o kmp_taskq.o kmp_threadprivate.o kmp_utility.o kmp_version.o kmp_wait_release.o z_Linux_asm.o z_Linux_util.o
clang: error: unknown argument:'-static-intel'
clang: error: unknown argument:'-no-intel-extensions'
make[1]:*** [iomp.o] Error 1


Reply to this email directly or view it on GitHub
#55.

@kshitij-v-mehta
Copy link

Same issue for me.

@alexey-bataev
Copy link
Member

Did you tried to build it with using regular clang? This must be
reported to libiomp mailing list. Also, try to build using cmake

Best regards,

Alexey Bataev

Software Engineer
Intel Compiler Team
Intel Corp.

13.03.2015 7:55, kvm1983 пишет:

Same issue for me.


Reply to this email directly or view it on GitHub
#55 (comment).

@kshitij-v-mehta
Copy link

Not sure I understand what regular clang means. For now, I removed those flags that cause the build to fail from src/makefile.mk and was able to build the library successfully.

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

3 participants