In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(183): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(195): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(217): error: attribute "__malloc__" does not take arguments
__THROW __attribute_malloc__ __wur __attr_dealloc_free;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(254): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(279): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(288): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp(54):
/usr/include/stdio.h(297): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc(38):
/usr/include/stdio.h(297): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /usr/include/c++/11/ext/string_conversions.h(43),
from /usr/include/c++/11/bits/basic_string.h(6607),
from /usr/include/c++/11/string(55),
from /usr/include/c++/11/bits/locale_classes.h(40),
from /usr/include/c++/11/bits/ios_base.h(41),
from /usr/include/c++/11/ios(42),
from /usr/include/c++/11/ostream(38),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest.h(58),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc(38):
/usr/include/stdio.h(303): error: attribute "__malloc__" does not take arguments
__THROW __attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /usr/include/c++/11/ext/string_conversions.h(43),
from /usr/include/c++/11/bits/basic_string.h(6607),
from /usr/include/c++/11/string(55),
from /usr/include/c++/11/bits/locale_classes.h(40),
from /usr/include/c++/11/bits/ios_base.h(41),
from /usr/include/c++/11/ios(42),
from /usr/include/c++/11/ostream(38),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest.h(58),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc(38):
/usr/include/stdio.h(309): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose __wur;
^
In file included from /usr/include/c++/11/cstdio(42),
from /usr/include/c++/11/ext/string_conversions.h(43),
from /usr/include/c++/11/bits/basic_string.h(6607),
from /usr/include/c++/11/string(55),
from /usr/include/c++/11/bits/locale_classes.h(40),
from /usr/include/c++/11/bits/ios_base.h(41),
from /usr/include/c++/11/ios(42),
from /usr/include/c++/11/ostream(38),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest.h(58),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc(38):
/usr/include/stdio.h(316): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc_fclose;
^
In file included from /usr/include/c++/11/cstdio(42),
from /usr/include/c++/11/ext/string_conversions.h(43),
from /usr/include/c++/11/bits/basic_string.h(6607),
from /usr/include/c++/11/string(55),
from /usr/include/c++/11/bits/locale_classes.h(40),
from /usr/include/c++/11/bits/ios_base.h(41),
from /usr/include/c++/11/ios(42),
from /usr/include/c++/11/ostream(38),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest.h(58),
from /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc(38):
/usr/include/stdio.h(824): error: attribute "__malloc__" does not take arguments
__attribute_malloc__ __attr_dealloc (pclose, 1) __wur;
^
compilation aborted for /__w/kokkos/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp (code 2)
gmake[2]: *** [core/src/CMakeFiles/kokkoscore.dir/build.make:76: core/src/CMakeFiles/kokkoscore.dir/impl/Kokkos_CPUDiscovery.cpp.o] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1658: core/src/CMakeFiles/kokkoscore.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
compilation aborted for /__w/kokkos/kokkos/tpls/gtest/gtest/gtest-all.cc (code 2)
gmake[2]: *** [core/unit_test/CMakeFiles/kokkos_gtest.dir/build.make:76: core/unit_test/CMakeFiles/kokkos_gtest.dir/__/__/tpls/gtest/gtest/gtest-all.cc.o] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1934: core/unit_test/CMakeFiles/kokkos_gtest.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Error: Process completed with exit code 2