* Package: sys-libs/llvm-libunwind-12.0.0 * Repository: gentoo * Maintainer: llvm@gentoo.org * USE: elibc_glibc kernel_linux sparc userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... * Unpacking from llvmorg-12.0.0.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work >>> Preparing source in /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind ... * Working in BUILD_DIR: "/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build" >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind ... * .sparc64: running multilib-minimal_abi_src_configure * Working in BUILD_DIR: "/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64" cmake -C /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=64 -DLIBUNWIND_ENABLE_ASSERTIONS=no -DLIBUNWIND_ENABLE_STATIC=no -DLLVM_INCLUDE_TESTS=no -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64/gentoo_toolchain.cmake /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind loading initial cache file /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64/gentoo_common_config.cmake -- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/sparc64-unknown-linux-gnu-gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/sparc64-unknown-linux-gnu-gcc - 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: /usr/bin/sparc64-unknown-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring for standalone build. -- Linker detection: GNU ld -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - found -- Looking for __absvdi2 in gcc -- Looking for __absvdi2 in gcc - found -- Performing Test LIBUNWIND_HAS_NODEFAULTLIBS_FLAG -- Performing Test LIBUNWIND_HAS_NODEFAULTLIBS_FLAG - Success -- Performing Test LIBUNWIND_HAS_NOSTDINCXX_FLAG -- Performing Test LIBUNWIND_HAS_NOSTDINCXX_FLAG - Success -- Looking for __arm__ -- Looking for __arm__ - not found -- Looking for __USING_SJLJ_EXCEPTIONS__ -- Looking for __USING_SJLJ_EXCEPTIONS__ - not found -- Looking for __ARM_DWARF_EH__ -- Looking for __ARM_DWARF_EH__ - not found -- Looking for dladdr in dl -- Looking for dladdr in dl - found -- Looking for pthread_once in pthread -- Looking for pthread_once in pthread - found -- Performing Test LIBUNWIND_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WERROR_EQ_RETURN_TYPE_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_W_FLAG -- Performing Test LIBUNWIND_SUPPORTS_W_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WALL_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WALL_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WCHAR_SUBSCRIPTS_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WCONVERSION_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WCONVERSION_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WMISMATCHED_TAGS_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WMISMATCHED_TAGS_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WMISSING_BRACES_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WMISSING_BRACES_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WNEWLINE_EOF_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WNEWLINE_EOF_FLAG - Failed -- Performing Test LIBUNWIND_SUPPORTS_WNO_UNUSED_FUNCTION_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WNO_UNUSED_FUNCTION_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WSHADOW_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSHADOW_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WSHORTEN_64_TO_32_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSHORTEN_64_TO_32_FLAG - Failed -- Performing Test LIBUNWIND_SUPPORTS_WSIGN_COMPARE_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSIGN_COMPARE_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WSIGN_CONVERSION_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSIGN_CONVERSION_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSTRICT_ALIASING_EQ_2_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WSTRICT_OVERFLOW_EQ_4_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WUNUSED_PARAMETER_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WUNUSED_VARIABLE_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WUNUSED_VARIABLE_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WWRITE_STRINGS_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WWRITE_STRINGS_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WUNDEF_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WUNDEF_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WNO_SUGGEST_OVERRIDE_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WNO_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WNO_ERROR_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WNO_ERROR_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_WX_FLAG -- Performing Test LIBUNWIND_SUPPORTS_WX_FLAG - Failed -- Performing Test LIBUNWIND_SUPPORTS_PEDANTIC_FLAG -- Performing Test LIBUNWIND_SUPPORTS_PEDANTIC_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_FSTRICT_ALIASING_FLAG -- Performing Test LIBUNWIND_SUPPORTS_FSTRICT_ALIASING_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_EHSC_FLAG -- Performing Test LIBUNWIND_SUPPORTS_EHSC_FLAG - Failed -- Performing Test LIBUNWIND_SUPPORTS_FUNWIND_TABLES_FLAG -- Performing Test LIBUNWIND_SUPPORTS_FUNWIND_TABLES_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_FNO_EXCEPTIONS_FLAG -- Performing Test LIBUNWIND_SUPPORTS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_FNO_RTTI_FLAG -- Performing Test LIBUNWIND_SUPPORTS_FNO_RTTI_FLAG - Success -- Performing Test LIBUNWIND_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test LIBUNWIND_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Failed to locate sphinx-build executable (missing: SPHINX_EXECUTABLE) -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr Compiler flags: C -O2 -mcpu=ultrasparc -pipe C++ -O2 -mcpu=ultrasparc -pipe Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Module -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind ... * .sparc64: running multilib-minimal_abi_src_compile * Working in BUILD_DIR: "/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64" ninja -v -j150 -l257 [1/10] /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/UnwindRegistersRestore.S.o -MF src/CMakeFiles/unwind_shared.dir/UnwindRegistersRestore.S.o.d -o src/CMakeFiles/unwind_shared.dir/UnwindRegistersRestore.S.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersRestore.S /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersRestore.S:1061:66: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] 1061 | DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind15Registers_sparc6jumptoEv) | ^ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersRestore.S:1061:66: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersRestore.S:1061:66: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersRestore.S:1061:66: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] [2/10] /usr/bin/sparc64-unknown-linux-gnu-g++ -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c++11 -fstrict-aliasing -fno-exceptions -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/Unwind-EHABI.cpp.o -MF src/CMakeFiles/unwind_shared.dir/Unwind-EHABI.cpp.o.d -o src/CMakeFiles/unwind_shared.dir/Unwind-EHABI.cpp.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Unwind-EHABI.cpp [3/10] /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o -MF src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o.d -o src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S FAILED: src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o -MF src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o.d -o src/CMakeFiles/unwind_shared.dir/UnwindRegistersSave.S.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1007:43: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] 1007 | DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext) | ^ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1007:43: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1007:43: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1007:43: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1110:46: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] 1110 | WEAK_ALIAS(__unw_getcontext, unw_getcontext) | ^ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1110:46: warning: invoking macro GLUE2 argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S: Assembler messages: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1011: Error: detected global register use not covered by .register pseudo-op /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1011: Error: detected global register use not covered by .register pseudo-op /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindRegistersSave.S:1011: Error: detected global register use not covered by .register pseudo-op [4/10] /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c99 -MD -MT src/CMakeFiles/unwind_shared.dir/Unwind-sjlj.c.o -MF src/CMakeFiles/unwind_shared.dir/Unwind-sjlj.c.o.d -o src/CMakeFiles/unwind_shared.dir/Unwind-sjlj.c.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Unwind-sjlj.c cc1: warning: command-line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wmismatched-tags’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-suggest-override’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C [5/10] /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c99 -MD -MT src/CMakeFiles/unwind_shared.dir/UnwindLevel1-gcc-ext.c.o -MF src/CMakeFiles/unwind_shared.dir/UnwindLevel1-gcc-ext.c.o.d -o src/CMakeFiles/unwind_shared.dir/UnwindLevel1-gcc-ext.c.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1-gcc-ext.c cc1: warning: command-line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wmismatched-tags’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-suggest-override’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C [6/10] /usr/bin/sparc64-unknown-linux-gnu-g++ -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c++11 -fstrict-aliasing -fno-exceptions -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/Unwind-seh.cpp.o -MF src/CMakeFiles/unwind_shared.dir/Unwind-seh.cpp.o.d -o src/CMakeFiles/unwind_shared.dir/Unwind-seh.cpp.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Unwind-seh.cpp [7/10] /usr/bin/sparc64-unknown-linux-gnu-gcc -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c99 -MD -MT src/CMakeFiles/unwind_shared.dir/UnwindLevel1.c.o -MF src/CMakeFiles/unwind_shared.dir/UnwindLevel1.c.o.d -o src/CMakeFiles/unwind_shared.dir/UnwindLevel1.c.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c cc1: warning: command-line option ‘-nostdinc++’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wmismatched-tags’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-suggest-override’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-fno-rtti’ is valid for C++/D/ObjC++ but not for C /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c: In function ‘unwind_phase1’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c:74:19: warning: variable ‘functionName’ set but not used [-Wunused-but-set-variable] 74 | const char *functionName = functionBuf; | ^~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c: In function ‘unwind_phase2’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c:173:19: warning: variable ‘functionName’ set but not used [-Wunused-but-set-variable] 173 | const char *functionName = functionBuf; | ^~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c: In function ‘unwind_phase2_forced’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c:264:19: warning: variable ‘functionName’ set but not used [-Wunused-but-set-variable] 264 | const char *functionName = functionBuf; | ^~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c: In function ‘_Unwind_GetLanguageSpecificData’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindLevel1.c:438:35: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] 438 | result); | ^ [8/10] /usr/bin/sparc64-unknown-linux-gnu-g++ -Dunwind_shared_EXPORTS -I/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/include -O2 -mcpu=ultrasparc -pipe -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wno-unused-function -Wshadow -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wundef -Wno-suggest-override -Wno-error -pedantic -funwind-tables -nostdinc++ -DNDEBUG -fno-rtti -std=c++11 -fstrict-aliasing -fno-exceptions -fno-rtti -MD -MT src/CMakeFiles/unwind_shared.dir/libunwind.cpp.o -MF src/CMakeFiles/unwind_shared.dir/libunwind.cpp.o.d -o src/CMakeFiles/unwind_shared.dir/libunwind.cpp.o -c /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp In file included from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfParser.hpp:22, from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/EHHeaderParser.hpp:17, from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp:23, from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp:21: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Registers.hpp:2799:5: warning: "__mips_isa_rev" is not defined, evaluates to 0 [-Wundef] 2799 | #if __mips_isa_rev != 6 | ^~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Registers.hpp:3121:5: warning: "__mips_isa_rev" is not defined, evaluates to 0 [-Wundef] 3121 | #if __mips_isa_rev != 6 | ^~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Registers.hpp: In member function ‘bool libunwind::Registers_ppc64::validVectorRegister(int) const’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/Registers.hpp:1517:54: warning: unused parameter ‘regNum’ [-Wunused-parameter] 1517 | inline bool Registers_ppc64::validVectorRegister(int regNum) const { | ~~~~^~~~~~ In file included from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp:21: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp: In static member function ‘static int64_t libunwind::LocalAddressSpace::getSLEB128(libunwind::LocalAddressSpace::pint_t&, libunwind::LocalAddressSpace::pint_t)’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp:249:42: warning: conversion to ‘long unsigned int’ from ‘int64_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 249 | result |= (uint64_t)(byte & 0x7f) << bit; | ^~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp:249:12: warning: conversion to ‘int64_t’ {aka ‘long int’} from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] 249 | result |= (uint64_t)(byte & 0x7f) << bit; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp:254:26: warning: conversion to ‘long long unsigned int’ from ‘int64_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 254 | result |= (-1ULL) << bit; | ^~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/AddressSpace.hpp:254:12: warning: conversion to ‘int64_t’ {aka ‘long int’} from ‘long long unsigned int’ may change the sign of the result [-Wsign-conversion] 254 | result |= (-1ULL) << bit; | ~~~~~~~^~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp: At global scope: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp:30:23: warning: type-punning to incomplete type might break strict-aliasing rules [-Wstrict-aliasing] 30 | (unw_addr_space_t)&LocalAddressSpace::sThisAddressSpace; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp:22: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp: In instantiation of ‘void libunwind::UnwindCursor::setReg(int, unw_word_t) [with A = libunwind::LocalAddressSpace; R = libunwind::Registers_sparc; unw_word_t = long unsigned int]’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:1238:6: required from here /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:1239:34: warning: conversion from ‘unw_word_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 1239 | _registers.setRegister(regNum, (typename A::pint_t)value); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:69, from /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/libunwind.cpp:22: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfInstructions.hpp: In instantiation of ‘static int libunwind::DwarfInstructions::stepWithDwarf(A&, libunwind::DwarfInstructions::pint_t, libunwind::DwarfInstructions::pint_t, R&, bool&) [with A = libunwind::LocalAddressSpace; R = libunwind::Registers_sparc; libunwind::DwarfInstructions::pint_t = long unsigned int]’: /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:954:50: required from ‘int libunwind::UnwindCursor::stepWithDwarfFDE() [with A = libunwind::LocalAddressSpace; R = libunwind::Registers_sparc]’ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:2090:20: required from ‘int libunwind::UnwindCursor::step() [with A = libunwind::LocalAddressSpace; R = libunwind::Registers_sparc]’ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/UnwindCursor.hpp:2072:5: required from here /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfInstructions.hpp:192:36: warning: conversion from ‘libunwind::LocalAddressSpace::pint_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 192 | i, getSavedRegister(addressSpace, registers, cfa, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | prolog.savedRegisters[i])); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfInstructions.hpp:205:26: warning: conversion from ‘libunwind::DwarfInstructions::pint_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 205 | newRegisters.setSP(cfa); | ^~~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfInstructions.hpp:266:50: warning: conversion from ‘libunwind::DwarfInstructions::pint_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 266 | newRegisters.setRegister(UNW_PPC64_R2, r2); | ^~ /var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind/src/DwarfInstructions.hpp:272:26: warning: conversion from ‘libunwind::DwarfInstructions::pint_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 272 | newRegisters.setIP(returnAddress); | ^~~~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: sys-libs/llvm-libunwind-12.0.0::gentoo failed (compile phase): * ninja -v -j150 -l257 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3644: Called cmake-multilib_src_compile * environment, line 1091: Called multilib-minimal_src_compile * environment, line 2530: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2800: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2465: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2463: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 479: Called multilib-minimal_abi_src_compile * environment, line 2524: Called multilib_src_compile * environment, line 3012: Called cmake_src_compile * environment, line 1202: Called cmake_build * environment, line 1171: Called eninja * environment, line 1623: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=sys-libs/llvm-libunwind-12.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/llvm-libunwind-12.0.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/llvm-libunwind-12.0.0_build-.sparc64' * S: '/var/tmp/portage/sys-libs/llvm-libunwind-12.0.0/work/libunwind'