[MacPorts] #52554: libomp @3.9.0_1 won't build on Snow Leopard, Mac OS X 10.6.8, because of missing llvm-lit?
MacPorts
noreply at macports.org
Sun Oct 9 11:49:08 CEST 2016
#52554: libomp @3.9.0_1 won't build on Snow Leopard, Mac OS X 10.6.8, because of
missing llvm-lit?
-----------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: libomp
-----------------------------+--------------------------------
I tried to build with
{{{
llvm-3.6 @3.6.2_4 (active)
llvm-3.7 @3.7.1_4+assertions (active)
llvm-3.8 @3.8.1_0+assertions+debug (active)
}}}
and always saw
{{{
-- LIBOMP: Operating System -- Darwin
-- LIBOMP: Target Architecture -- x86_64
-- LIBOMP: Build Type -- Release
-- LIBOMP: OpenMP Version -- 45
-- LIBOMP: Library Kind -- SHARED
-- LIBOMP: Library Type -- normal
-- LIBOMP: Fortran Modules -- FALSE
-- LIBOMP: Build -- 20140926
-- LIBOMP: Use Stats-gathering -- FALSE
-- LIBOMP: Use Debugger-support -- FALSE
-- LIBOMP: Use ITT notify -- TRUE
-- LIBOMP: Use OMPT-support -- FALSE
-- LIBOMP: Use Adaptive locks -- TRUE
-- LIBOMP: Use quad precision -- FALSE
-- LIBOMP: Use Hwloc library -- FALSE
-- Found PythonInterp: /opt/local/bin/python (found version "2.7.12")
-- Looking for sqrt in m
-- Looking for sqrt in m - found
-- LIBOMP: Cannot find llvm-lit.
-- LIBOMP: Please put llvm-lit in your PATH, set
LIBOMP_LLVM_LIT_EXECUTABLE to its full path or point OPENMP_LLVM_TOOLS_DIR
to its directory
CMake Warning at cmake/LibompUtils.cmake:21 (message):
LIBOMP: The check-libomp target will not be available!
Call Stack (most recent call first):
test/CMakeLists.txt:52 (libomp_warning_say)
}}}
and finally received
{{{
[ 28%] Building C object src/CMakeFiles/omp.dir/kmp_debug.c.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64/src && /opt/local/bin/clang-mp-3.6 -Domp_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/i18n
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/include/45
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/thirdparty/ittnotify
-pipe -Os -DNDEBUG -arch x86_64 -mmacosx-version-min=10.6 -fPIC -D
_GNU_SOURCE -D _REENTRANT -I/opt/local/include -std=c++11 -fno-exceptions
-Wno-sign-compare -Wno-unused-function -Wno-unused-local-typedef -Wno-
unused-value -Wno-unused-variable -Wno-switch -Wno-covered-switch-default
-Wno-deprecated-register -Wno-gnu-anonymous-struct -Wno-unknown-pragmas
-Wno-missing-field-initializers -Wno-missing-braces -Wno-comment -Wno-
self-assign -Wno-vla-extension -x c++ -o CMakeFiles/omp.dir/kmp_itt.c.o
-c
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_itt.c
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64/src && /opt/local/bin/clang-mp-3.6 -Domp_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/i18n
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/include/45
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/thirdparty/ittnotify
-pipe -Os -DNDEBUG -arch x86_64 -mmacosx-version-min=10.6 -fPIC -D
_GNU_SOURCE -D _REENTRANT -I/opt/local/include -std=c++11 -fno-exceptions
-Wno-sign-compare -Wno-unused-function -Wno-unused-local-typedef -Wno-
unused-value -Wno-unused-variable -Wno-switch -Wno-covered-switch-default
-Wno-deprecated-register -Wno-gnu-anonymous-struct -Wno-unknown-pragmas
-Wno-missing-field-initializers -Wno-missing-braces -Wno-comment -Wno-
self-assign -Wno-vla-extension -x c++ -o CMakeFiles/omp.dir/kmp_debug.c.o
-c
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_debug.c
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_atomic.c:16:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_atomic.h:20:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_itt.c:19:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_itt.h:20:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_environment.c:60:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_debug.c:16:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_error.c:16:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_alloc.c:16:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_csupport.c:17:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_global.c:16:
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp.h:92:
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/openmp-390/rc1/runtime/src/kmp_lock.h:26:10:
fatal error: 'atomic' file not found
#include <atomic>
^
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_environment.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_debug.c.o] Error 1
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_global.c.o] Error 1
make[2]: *** [src/CMakeFiles/omp.dir/kmp_error.c.o] Error 1
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_alloc.c.o] Error 1
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_itt.c.o] Error 1
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_csupport.c.o] Error 1
1 error generated.
make[2]: *** [src/CMakeFiles/omp.dir/kmp_atomic.c.o] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64'
make[1]: *** [src/CMakeFiles/omp.dir/all] Error 2
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work
/build-x86_64" && /usr/bin/make -j8 -w all VERBOSE=ON
Exit code: 2
Error: org.macports.build for port libomp returned: command execution
failed
}}}
And indeed I don't have an `atomic.h` file in my system…
--
Ticket URL: <https://trac.macports.org/ticket/52554>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list