Skip to content

Instantly share code, notes, and snippets.

@bytbox
Created December 15, 2020 07:15
Show Gist options
  • Save bytbox/019ab8439b83cf3edd7965c2265187a5 to your computer and use it in GitHub Desktop.
Save bytbox/019ab8439b83cf3edd7965c2265187a5 to your computer and use it in GitHub Desktop.
==> Making package: miopen-hip 3.10.0-1 (Tue 15 Dec 2020 12:03:26 AM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading miopen-hip-3.10.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 140 100 140 0 0 528 0 --:--:-- --:--:-- --:--:-- 528
100 33.9M 0 33.9M 0 0 3806k 0 --:--:-- 0:00:09 --:--:-- 4379k
==> Validating source files with sha256sums...
miopen-hip-3.10.0.tar.gz ... Passed
==> Extracting sources...
-> Extracting miopen-hip-3.10.0.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is Clang 12.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rocm/hip/bin/hipcc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'sqlite3'
-- Found sqlite3, version 3.34.0
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Performing Test HAS_HIP
-- Performing Test HAS_HIP - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Success
-- Build with HIP 3.10.0
-- Hip compiler flags: -xhip -D__HIP_ROCclr__=1 -isystem /opt/rocm/hip/../include -isystem /opt/rocm/llvm/lib/clang/12.0.0/include/.. -D__HIP_PLATFORM_HCC__=1 -D__HIP_ROCclr__=1 -isystem /opt/rocm/hip/include -isystem /opt/rocm/include -L/opt/rocm/llvm/lib/clang/12.0.0/include/../lib/linux -lclang_rt.builtins-x86_64 --hip-link -L/opt/rocm/llvm/lib/clang/12.0.0/include/../lib/linux -lclang_rt.builtins-x86_64
-- hip compiler: /opt/rocm/bin/clang-ocl
-- Build with rocblas
-- HIP backend selected.
-- clang-offload-bundler found: /opt/rocm/llvm/bin/clang-offload-bundler
-- AMDGCN assembler: /opt/rocm/llvm/bin/clang
-- Build without miopengemm
CMake Warning at /usr/share/cmake-3.19/Modules/FindBoost.cmake:1204 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake-3.19/Modules/FindBoost.cmake:1326 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.19/Modules/FindBoost.cmake:1935 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:311 (find_package)
-- Found Boost: /usr/include (found version "1.75.0") found components: filesystem
-- Clang tidy found: 11.0.0
-- Clang tidy checks: *,-abseil-string-find-startswith,-android-cloexec-fopen,-cert-msc30-c,-bugprone-exception-escape,-cert-env33-c,-cert-msc32-c,-cert-msc50-cpp,-cert-msc51-cpp,-clang-analyzer-alpha.core.CastToStruct,-clang-analyzer-optin.performance.Padding,-clang-diagnostic-deprecated-declarations,-clang-diagnostic-extern-c-compat,-clang-diagnostic-unused-command-line-argument,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-explicit-virtual-functions,-cppcoreguidelines-init-variables,-cppcoreguidelines-macro-usage,-cppcoreguidelines-non-private-member-variables-in-classes,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-fuchsia-*,-google-explicit-constructor,-google-readability-braces-around-statements,-google-readability-todo,-google-runtime-int,-google-runtime-references,-hicpp-braces-around-statements,-hicpp-explicit-conversions,-hicpp-no-array-decay,-hicpp-avoid-c-arrays,-hicpp-signed-bitwise,-hicpp-special-member-functions,-hicpp-uppercase-literal-suffix,-hicpp-use-auto,-hicpp-use-equals-default,-hicpp-use-override,-llvm-header-guard,-llvm-include-order,-misc-misplaced-const,-misc-non-private-member-variables-in-classes,-modernize-avoid-bind,-modernize-avoid-c-arrays,-modernize-pass-by-value,-modernize-use-auto,-modernize-use-default-member-init,-modernize-use-equals-default,-modernize-use-trailing-return-type,-modernize-use-transparent-functors,-performance-unnecessary-value-param,-readability-braces-around-statements,-readability-else-after-return,-readability-isolate-declaration,-readability-magic-numbers,-readability-named-parameter,-readability-uppercase-literal-suffix,-readability-convert-member-functions-to-static
-- Found LATEX: /usr/bin/latex
-- MIOpen_VERSION= 2.9.0.10-adb563d
-- CMAKE_BUILD_TYPE= Release
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Librt: /usr/lib/librt.so
-- Performing Test MIOPEN_HAS_address
-- Performing Test MIOPEN_HAS_address - Failed
-- Performing Test MIOPEN_HAS_thread
-- Performing Test MIOPEN_HAS_thread - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/scott/pkg/miopen-hip/src/build
make: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[1]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target sqlite_memvfs
Scanning dependencies of target addkernels
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target tidy-rm-fixit-dir
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
[ 0%] Building CXX object addkernels/CMakeFiles/addkernels.dir/include_inliner.cpp.o
[ 0%] Building CXX object addkernels/CMakeFiles/addkernels.dir/addkernels.cpp.o
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 0%] Building CXX object src/sqlite/CMakeFiles/sqlite_memvfs.dir/memvfs.cpp.o
[ 0%] Built target tidy-rm-fixit-dir
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target tidy-make-fixit-dir
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 0%] Built target tidy-make-fixit-dir
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target tidy-base
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 0%] Built target tidy-base
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 0%] Built target sqlite_memvfs
[ 1%] Linking CXX executable ../bin/addkernels
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 1%] Built target addkernels
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target tidy-target-addkernels-include_inliner_cpp
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target miopen_tidy_inlining
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
Scanning dependencies of target tidy-target-addkernels-addkernels_cpp
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
[ 1%] clang-tidy: Running clang-tidy on target include_inliner.cpp...
[ 1%] Inlining MIOpen kernels
[ 1%] Inlining MIOpen HIP kernel includes
[ 1%] clang-tidy: Running clang-tidy on target addkernels.cpp...
[ 2%] Inlining MIOpen kernels
57863 warnings generated.
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:27:1: warning: system include algorithm not allowed [llvmlibc-restrict-system-libc-headers]
#include <algorithm>
^~~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:28:1: warning: system include fstream not allowed [llvmlibc-restrict-system-libc-headers]
#include <fstream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:29:1: warning: system include iomanip not allowed [llvmlibc-restrict-system-libc-headers]
#include <iomanip>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:30:1: warning: system include iostream not allowed [llvmlibc-restrict-system-libc-headers]
#include <iostream>
^~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:31:1: warning: system include memory not allowed [llvmlibc-restrict-system-libc-headers]
#include <memory>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:32:1: warning: system include sstream not allowed [llvmlibc-restrict-system-libc-headers]
#include <sstream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:33:1: warning: system include string not allowed [llvmlibc-restrict-system-libc-headers]
#include <string>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:35:6: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
void Bin2Hex(std::istream& source,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:16: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:35: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:47: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:61: warning: 'operator<<<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:143:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:64: warning: 'setbase' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:127:3: note: resolves to this declaration
setbase(int __base)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:81: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:166:7: note: resolves to this declaration
operator<<(long __n)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:49:95: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const size_t " << variable << "_SIZE = " << std::setbase(10) << sourceSize << ";"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:50:16: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:50:19: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:51:16: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const unsigned char " << variable << "[] = {" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:51:42: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const unsigned char " << variable << "[] = {" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:51:54: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const unsigned char " << variable << "[] = {" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:51:66: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const unsigned char " << variable << "[] = {" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:51:69: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "const unsigned char " << variable << "[] = {" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:54:12: warning: 'operator<<<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::setbase(16) << std::setfill('0');
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:143:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:54:15: warning: 'setbase' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::setbase(16) << std::setfill('0');
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:127:3: note: resolves to this declaration
setbase(int __base)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:54:32: warning: 'operator<<<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::setbase(16) << std::setfill('0');
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:178:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:54:35: warning: 'setfill<char>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::setbase(16) << std::setfill('0');
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:165:5: note: resolves to this declaration
setfill(_CharT __c)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:68:26: warning: 'min<unsigned long>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
size_t end = std::min<size_t>(i + lineSize, blockSize);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_algobase.h:230:5: note: resolves to this declaration
min(const _Tp& __a, const _Tp& __b)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:24: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:32: warning: 'operator<<<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:238:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:35: warning: 'setw' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/iomanip:225:3: note: resolves to this declaration
setw(int __n)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:48: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:192:7: note: resolves to this declaration
operator<<(unsigned int __n)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:79: warning: 'operator[]' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/unique_ptr.h:657:7: note: resolves to this declaration
operator[](size_t __i) const
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:71:84: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x" << std::setw(2) << static_cast<unsigned>(buffer[j]) << ",";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:73:20: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:73:23: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:81:16: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "0x00,";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:85:16: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "};" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:85:24: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "};" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:85:27: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
target << "};" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:89:6: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
void PrintHelp()
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:91:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Usage: bin2hex {<option>}" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:91:46: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Usage: bin2hex {<option>}" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:91:49: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Usage: bin2hex {<option>}" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:92:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Option format: -<option name>[ <option value>]" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:92:67: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Option format: -<option name>[ <option value>]" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:92:70: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Option format: -<option name>[ <option value>]" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:93:15: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:93:18: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:94:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Options:" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:94:29: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Options:" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:94:32: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Options:" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:96:9: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< "[REQUIRED] -s[ource] {<path to file>}: files to be processed. Must be last argument."
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:97:9: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:97:12: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:98:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -t[arget] <path>: target file. Default: std out." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:98:80: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -t[arget] <path>: target file. Default: std out." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:98:83: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -t[arget] <path>: target file. Default: std out." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:99:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -l[ine-size] <number>: bytes in one line. Default: 16." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:99:86: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -l[ine-size] <number>: bytes in one line. Default: 16." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:99:89: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -l[ine-size] <number>: bytes in one line. Default: 16." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:100:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -b[uffer] <number>: read buffer size. Default: 512." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:100:83: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -b[uffer] <number>: read buffer size. Default: 512." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:100:86: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -b[uffer] <number>: read buffer size. Default: 512." << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:101:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -g[uard] <string>: guard name. Default: no guard" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:101:80: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -g[uard] <string>: guard name. Default: no guard" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:101:83: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -g[uard] <string>: guard name. Default: no guard" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:102:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << " -n[o-recurse] : dont expand include files recursively. Default: off"
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:103:15: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:103:18: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
<< std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:106:24: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
[[gnu::noreturn]] void WrongUsage(const std::string& error)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:108:15: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Wrong usage: " << error << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:108:34: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Wrong usage: " << error << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:108:43: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Wrong usage: " << error << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:108:46: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << "Wrong usage: " << error << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:109:15: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:109:18: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cout << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:110:5: warning: 'PrintHelp' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
PrintHelp();
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:89:6: note: resolves to this declaration
void PrintHelp()
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:114:24: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
[[gnu::noreturn]] void UnknownArgument(const std::string& arg)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:117:8: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << "unknown argument - " << arg;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:117:33: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << "unknown argument - " << arg;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:118:5: warning: 'WrongUsage' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
WrongUsage(ss.str());
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:106:24: note: resolves to this declaration
[[gnu::noreturn]] void WrongUsage(const std::string& error)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:121:6: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
void Process(const std::string& sourcePath,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:135:19: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
extension = fileName.substr(extPos + 1);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:703:7: note: resolves to this declaration
operator=(basic_string&& __str)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:136:19: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
fileName = fileName.substr(0, extPos);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:703:7: note: resolves to this declaration
operator=(basic_string&& __str)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:141:18: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
root = fileName.substr(0, slashPos + 1);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:703:7: note: resolves to this declaration
operator=(basic_string&& __str)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:142:18: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
fileName = fileName.substr(slashPos + 1);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:703:7: note: resolves to this declaration
operator=(basic_string&& __str)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:146:55: warning: 'operator|' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::ifstream sourceFile(sourcePath, std::ios::in | std::ios::binary);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/ios_base.h:129:3: note: resolves to this declaration
operator|(_Ios_Openmode __a, _Ios_Openmode __b)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:151:19: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << "File not found: " << sourcePath << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:151:41: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << "File not found: " << sourcePath << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:151:55: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << "File not found: " << sourcePath << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:151:58: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << "File not found: " << sourcePath << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:155:38: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto is_asm = extension == "s";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:156:38: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto is_cl = extension == "cl";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:157:38: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto is_hip = extension == "cpp";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:158:38: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto is_header = extension == "hpp";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:178:23: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.What() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:178:36: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.What() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:178:39: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.What() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:179:23: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.GetTrace() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:179:40: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.GetTrace() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:179:43: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::cerr << ex.GetTrace() << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:186:5: warning: 'transform<__gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, __gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, int (*)(int)>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::transform(variable.begin(), variable.end(), variable.begin(), ::toupper);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_algo.h:4302:5: note: resolves to this declaration
transform(_InputIterator __first, _InputIterator __last,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:187:5: warning: 'Bin2Hex' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
Bin2Hex(*source, target, variable, true, bufferSize, lineSize);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:35:6: note: resolves to this declaration
void Bin2Hex(std::istream& source,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:190:5: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
int main(int argsn, char** args)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:194:9: warning: 'PrintHelp' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
PrintHelp();
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:89:6: note: resolves to this declaration
void PrintHelp()
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:210:9: warning: 'transform<__gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, __gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, int (*)(int)>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::transform(arg.begin(), arg.end(), arg.begin(), ::tolower);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_algo.h:4302:5: note: resolves to this declaration
transform(_InputIterator __first, _InputIterator __last,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:212:16: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
if(arg == "s" || arg == "source")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:212:30: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
if(arg == "s" || arg == "source")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:216:25: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#ifndef " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:216:39: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#ifndef " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:216:48: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#ifndef " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:216:51: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#ifndef " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:217:25: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#define " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:217:39: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#define " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:217:48: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#define " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:217:51: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#define " << guard << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:218:25: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#include <stddef.h>" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:218:50: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#include <stddef.h>" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:218:53: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#include <stddef.h>" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:223:17: warning: 'Process' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
Process(args[i], *target, bufferSize, lineSize, recurse);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:121:6: note: resolves to this declaration
void Process(const std::string& sourcePath,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:228:25: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#endif" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:228:37: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#endif" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:228:40: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
*target << "#endif" << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:233:9: warning: do not use 'else' after 'return' [llvm-else-after-return]
else if(arg == "t" || arg == "target")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:233:21: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "t" || arg == "target")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:233:35: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "t" || arg == "target")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:238:21: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "l" || arg == "line-size")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:238:35: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "l" || arg == "line-size")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:239:24: warning: 'stol' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
lineSize = std::stol(args[++i]);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6551:3: note: resolves to this declaration
stol(const string& __str, size_t* __idx = 0, int __base = 10)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:240:21: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "b" || arg == "buffer")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:240:35: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "b" || arg == "buffer")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:241:26: warning: 'stol' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
bufferSize = std::stol(args[++i]);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6551:3: note: resolves to this declaration
stol(const string& __str, size_t* __idx = 0, int __base = 10)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:242:21: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "g" || arg == "guard")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:242:35: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "g" || arg == "guard")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:243:19: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
guard = args[++i];
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:675:7: note: resolves to this declaration
operator=(const _CharT* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:244:21: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "n" || arg == "no-recurse")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:244:35: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
else if(arg == "n" || arg == "no-recurse")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:247:13: warning: 'UnknownArgument' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
UnknownArgument(arg);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:114:24: note: resolves to this declaration
[[gnu::noreturn]] void UnknownArgument(const std::string& arg)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:250:5: warning: 'WrongUsage' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
WrongUsage("source key is required");
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/addkernels.cpp:106:24: note: resolves to this declaration
[[gnu::noreturn]] void WrongUsage(const std::string& error)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:30:1: warning: system include ostream not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <ostream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:31:1: warning: system include memory not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <memory>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:32:1: warning: system include stack not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <stack>
^~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp:29:1: warning: system include string not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp [llvmlibc-restrict-system-libc-headers]
#include <string>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp:30:1: warning: system include memory not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp [llvmlibc-restrict-system-libc-headers]
#include <memory>
^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 2%] Built target tidy-target-addkernels-addkernels_cpp
[ 2%] Inlining MIOpen HIP kernel includes
53887 warnings generated.
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:26:1: warning: system include algorithm not allowed [llvmlibc-restrict-system-libc-headers]
#include <algorithm>
^~~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:27:1: warning: system include exception not allowed [llvmlibc-restrict-system-libc-headers]
#include <exception>
^~~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:28:1: warning: system include fstream not allowed [llvmlibc-restrict-system-libc-headers]
#include <fstream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:29:1: warning: system include sstream not allowed [llvmlibc-restrict-system-libc-headers]
#include <sstream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:35:1: warning: system include linux/limits.h not allowed [llvmlibc-restrict-system-libc-headers]
#include <linux/limits.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:36:1: warning: system include cstdlib not allowed [llvmlibc-restrict-system-libc-headers]
#include <cstdlib>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:41:11: warning: '__llvm_libc' needs to be the outermost namespace [llvmlibc-implementation-in-namespace]
namespace PathHelpers {
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:53:24: warning: 'GetMaxPath' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::string result(GetMaxPath(), ' ');
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:42:12: note: resolves to this declaration
static int GetMaxPath()
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:60:5: warning: 'const auto retval' can be declared as 'auto *const retval' [llvm-qualified-auto,readability-qualified-auto]
const auto retval = realpath(path.c_str(), &result[0]);
^~~~~~~~~~~
auto *const
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:60:25: warning: 'realpath' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto retval = realpath(path.c_str(), &result[0]);
^
/usr/include/bits/stdlib.h:37:8: note: resolves to this declaration
__NTH (realpath (const char *__restrict __name, char *__restrict __resolved))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:60:55: warning: 'operator[]' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
const auto retval = realpath(path.c_str(), &result[0]);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:1034:7: note: resolves to this declaration
operator[](size_type __pos)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:69:39: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
std::string IncludeFileExceptionBase::What() const
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:72:8: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << GetMessage() << ": <" << _file << ">";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:72:24: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << GetMessage() << ": <" << _file << ">";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:72:33: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << GetMessage() << ": <" << _file << ">";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:72:42: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << GetMessage() << ": <" << _file << ">";
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:77:22: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
void IncludeInliner::Process(std::istream& input,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:88:22: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
void IncludeInliner::ProcessCore(std::istream& input,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:88:22: warning: function 'ProcessCore' is within a recursive call chain [misc-no-recursion]
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:88:22: note: example recursive call chain, starting from function 'ProcessCore'
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:170:13: note: Frame #1: function 'ProcessCore' calls function 'ProcessCore' here:
ProcessCore(include_file,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:170:13: note: ... which was the starting point of the recursive call chain; there may be other cycles
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:101:26: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
_included_stack_head =
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:382:7: note: resolves to this declaration
operator=(shared_ptr&& __r) noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:102:9: warning: 'make_shared<SourceFileDesc, const std::__cxx11::basic_string<char> &, std::shared_ptr<SourceFileDesc> &, int &>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::make_shared<SourceFileDesc>(file_name, _included_stack_head, line_number);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:872:5: note: resolves to this declaration
make_shared(_Args&&... __args)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:110:9: warning: 'getline<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::getline(input, line);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6498:5: note: resolves to this declaration
getline(basic_istream<_CharT, _Traits>& __is,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:112:21: warning: 'operator>><char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
line_parser >> word;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6445:5: note: resolves to this declaration
operator>>(basic_istream<char>& __is, basic_string<char>& __str);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:114:9: warning: 'transform<__gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, __gnu_cxx::__normal_iterator<char *, std::__cxx11::basic_string<char>>, int (*)(int)>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
std::transform(word.begin(), word.end(), word.begin(), ::tolower);
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/stl_algo.h:4302:5: note: resolves to this declaration
transform(_InputIterator __first, _InputIterator __last,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:119:34: warning: 'operator==<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
if(!word.empty() && word == "//inliner-include-optional")
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6175:5: note: resolves to this declaration
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:127:34: warning: 'operator==<char>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
if(!word.empty() && word == directive && recurse)
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6161:5: note: resolves to this declaration
operator==(const basic_string<_CharT>& __lhs,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:185:24: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
output << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:185:27: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
output << std::endl;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:187:20: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
output << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:191:48: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
auto prev_file = _included_stack_head->included_from;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:192:26: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
_included_stack_head = prev_file;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:358:19: note: resolves to this declaration
shared_ptr& operator=(const shared_ptr&) noexcept = default;
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:196:29: warning: declaration must be declared within the '__llvm_libc' namespace [llvmlibc-implementation-in-namespace]
std::string IncludeInliner::GetIncludeStackTrace(int line)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:200:29: warning: 'operator==<SourceFileDesc>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
if(_included_stack_head == nullptr)
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:442:5: note: resolves to this declaration
operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:204:8: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << " " << item->path << ":" << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:204:18: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << " " << item->path << ":" << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:204:25: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << " " << item->path << ":" << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:204:32: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << " " << item->path << ":" << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:204:39: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << " " << item->path << ":" << line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:189:7: note: resolves to this declaration
operator<<(int __n);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:206:15: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
while(item->included_from != nullptr)
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:206:31: warning: 'operator!=<SourceFileDesc>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
while(item->included_from != nullptr)
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:475:5: note: resolves to this declaration
operator!=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:12: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:108:7: note: resolves to this declaration
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:15: warning: 'endl<char, std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:681:5: note: resolves to this declaration
endl(basic_ostream<_CharT, _Traits>& __os)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:25: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:40: warning: 'operator<<<char, std::char_traits<char>, std::allocator<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/basic_string.h:6458:5: note: resolves to this declaration
operator<<(basic_ostream<_CharT, _Traits>& __os,
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:47: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:62: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:69: warning: 'operator<<<std::char_traits<char>>' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:606:5: note: resolves to this declaration
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:76: warning: 'operator<<' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/ostream:189:7: note: resolves to this declaration
operator<<(int __n);
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:208:83: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
ss << std::endl << " from " << item->included_from->path << ":" << item->included_line;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:209:14: warning: 'operator=' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
item = item->included_from;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr.h:358:19: note: resolves to this declaration
shared_ptr& operator=(const shared_ptr&) noexcept = default;
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.cpp:209:20: warning: 'operator->' must resolve to a function declared within the '__llvm_libc' namespace [llvmlibc-callee-namespace]
item = item->included_from;
^
/usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/bits/shared_ptr_base.h:1015:7: note: resolves to this declaration
operator->() const noexcept
^
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:30:1: warning: system include ostream not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <ostream>
^~~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:31:1: warning: system include memory not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <memory>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp:32:1: warning: system include stack not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/include_inliner.hpp [llvmlibc-restrict-system-libc-headers]
#include <stack>
^~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp:29:1: warning: system include string not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp [llvmlibc-restrict-system-libc-headers]
#include <string>
^~~~~~~~~~~~~~~~~
/home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp:30:1: warning: system include memory not allowed, transitively included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/addkernels/source_file_desc.hpp [llvmlibc-restrict-system-libc-headers]
#include <memory>
^~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 2%] Built target tidy-target-addkernels-include_inliner_cpp
Scanning dependencies of target MIOpen
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[2]: Entering directory '/home/scott/pkg/miopen-hip/src/build'
[ 2%] Building CXX object src/CMakeFiles/MIOpen.dir/check_numerics.cpp.o
[ 3%] Building CXX object src/CMakeFiles/MIOpen.dir/convolution.cpp.o
[ 3%] Building CXX object src/CMakeFiles/MIOpen.dir/buffer_info.cpp.o
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
[ 3%] Built target miopen_tidy_inlining
[ 3%] Building CXX object src/CMakeFiles/MIOpen.dir/convolution_api.cpp.o
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/check_numerics.cpp:29:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/handle.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel_info.hpp:33:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2705:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: use of undeclared identifier 'noinline'; did you mean 'inline'?
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
^
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: type name does not allow function specifier to be specified
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:37: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/convolution_api.cpp:26:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/convolution.hpp:30:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/kernel.hpp:53:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/hipoc_kernel.hpp:34:
In file included from /home/scott/pkg/miopen-hip/src/MIOpen-rocm-3.10.0/src/include/miopen/op_kernel_args.hpp:8:
In file included from /usr/include/boost/container/small_vector.hpp:27:
/usr/include/boost/container/vector.hpp:2722:4: error: expected expression
/usr/include/boost/container/detail/workaround.hpp:116:37: note: expanded from macro 'BOOST_CONTAINER_NOINLINE'
#define BOOST_CONTAINER_NOINLINE BOOST_NOINLINE
^
/usr/include/boost/config/detail/suffix.hpp:626:46: note: expanded from macro 'BOOST_NOINLINE'
# define BOOST_NOINLINE __attribute__ ((__noinline__))
^
/opt/rocm/hip/include/hip/hcc_detail/host_defines.h:75:46: note: expanded from macro '__noinline__'
#define __noinline__ __attribute__((noinline))
^
6 errors generated when compiling for gfx1010.
make[2]: *** [src/CMakeFiles/MIOpen.dir/build.make:605: src/CMakeFiles/MIOpen.dir/check_numerics.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
6 errors generated when compiling for gfx1010.
make[2]: *** [src/CMakeFiles/MIOpen.dir/build.make:631: src/CMakeFiles/MIOpen.dir/convolution_api.cpp.o] Error 1
6 errors generated when compiling for gfx1010.
make[2]: *** [src/CMakeFiles/MIOpen.dir/build.make:618: src/CMakeFiles/MIOpen.dir/convolution.cpp.o] Error 1
make[2]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make[1]: *** [CMakeFiles/Makefile2:2664: src/CMakeFiles/MIOpen.dir/all] Error 2
make[1]: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
make: *** [Makefile:182: all] Error 2
make: Leaving directory '/home/scott/pkg/miopen-hip/src/build'
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment