Opened 18 months ago

#67479 new defect

kokkos-devel does not build as universal for i386+x86_64

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: kokkos-devel

Description

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_ExecPolicy.cpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core.hpp:43:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core_fwd.hpp:43:1: error: static_assert failed due to requirement 'sizeof(void *) == 8' "Kokkos assumes 64-bit build; i.e., 8-byte pointers"
static_assert(sizeof(void *) == 8,
^             ~~~~~~~~~~~~~~~~~~~
[ 39%] Building CXX object core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_HostSpace.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build/core/src && /opt/local/bin/clang++-mp-11 -DKOKKOS_DEPENDENCE -Dkokkoscore_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build/core/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/../../tpls/desul/include -isystem /opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=gnu++17 -arch x86_64 -arch i386 -mmacosx-version-min=10.6 -fPIC -fopenmp=libomp -MD -MT core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_HostSpace.cpp.o -MF CMakeFiles/kokkoscore.dir/impl/Kokkos_HostSpace.cpp.o.d -o CMakeFiles/kokkoscore.dir/impl/Kokkos_HostSpace.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_HostSpace.cpp
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_ExecPolicy.cpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core.hpp:45:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build/KokkosCore_Config_DeclareBackend.hpp:22:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/decl/Kokkos_Declare_OPENMP.hpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/OpenMP/Kokkos_OpenMP.hpp:40:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_TaskScheduler.hpp:36:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Future.hpp:34:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskQueue.hpp:30:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskBase.hpp:229:21: error: no type named 'type' in 'Kokkos::Impl::verify_task_base_size_is_48_note_actual_size_is_<32>'
        TaskBase)>::type verify = {};
        ~~~~~~~~~~~~^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskBase.hpp:231:1: error: static_assert failed due to requirement 'sizeof(Kokkos::Impl::TaskBase) == expected_task_base_size' "Verifying expected sizeof(TaskBase)"
static_assert(sizeof(TaskBase) == expected_task_base_size,
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make[2]: *** [core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_ExecPolicy.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_HostSpace.cpp:24:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_MemorySpace.hpp:27:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_SharedAlloc.hpp:21:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core_fwd.hpp:43:1: error: static_assert failed due to requirement 'sizeof(void *) == 8' "Kokkos assumes 64-bit build; i.e., 8-byte pointers"
static_assert(sizeof(void *) == 8,
^             ~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_HostSpace.cpp.o] Error 1
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_Core.cpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core.hpp:43:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core_fwd.hpp:43:1: error: static_assert failed due to requirement 'sizeof(void *) == 8' "Kokkos assumes 64-bit build; i.e., 8-byte pointers"
static_assert(sizeof(void *) == 8,
^             ~~~~~~~~~~~~~~~~~~~
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_Core.cpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Core.hpp:45:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build/KokkosCore_Config_DeclareBackend.hpp:22:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/decl/Kokkos_Declare_OPENMP.hpp:21:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/OpenMP/Kokkos_OpenMP.hpp:40:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_TaskScheduler.hpp:36:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/Kokkos_Future.hpp:34:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskQueue.hpp:30:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskBase.hpp:229:21: error: no type named 'type' in 'Kokkos::Impl::verify_task_base_size_is_48_note_actual_size_is_<32>'
        TaskBase)>::type verify = {};
        ~~~~~~~~~~~~^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/kokkos-766f00db0487b67be634a56c1d62923d01e1d8ec/core/src/impl/Kokkos_TaskBase.hpp:231:1: error: static_assert failed due to requirement 'sizeof(Kokkos::Impl::TaskBase) == expected_task_base_size' "Verifying expected sizeof(TaskBase)"
static_assert(sizeof(TaskBase) == expected_task_base_size,
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make[2]: *** [core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_Core.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build'
make[1]: *** [core/src/CMakeFiles/kokkoscore.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_kokkos/kokkos-devel/work/build'
make: *** [all] Error 2

Change History (0)

Note: See TracTickets for help on using tickets.