Closed rootd closed 2 years ago
Unfortunately I'm not able to build xnu-deps-linux. I know this repo is a few years old but I'm still trying my luck.
System: Arch Linux x86_64, 4.10.9-1 clang version 3.9.1 (tags/RELEASE_391/final)
Error:
In file included from macho_relocatable_file.cpp:37: ./libunwind/DwarfInstructions.hpp:920:2: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser::kMaxRegisterNumber > (int)DW_X86_64_RET_ADDR) ? 1 : -1]' vs 'int [1]' COMPILE_TIME_ASSERT( (int)CFI_Parser::kMaxRegisterNumber > (i... ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ ./libunwind/Registers.hpp:548:2: note: previous declaration is here COMPILE_TIME_ASSERT( sizeof(Registers_ppc) < sizeof(unw_context_t) ); ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ In file included from macho_relocatable_file.cpp:37: ./libunwind/DwarfInstructions.hpp:1311:2: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser::kMaxRegisterNumber > (int)DW_X86_RET_ADDR) ? 1 : -1]' vs 'int [1]' COMPILE_TIME_ASSERT( (int)CFI_Parser::kMaxRegisterNumber > (i... ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ ./libunwind/Registers.hpp:548:2: note: previous declaration is here COMPILE_TIME_ASSERT( sizeof(Registers_ppc) < sizeof(unw_context_t) ); ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ In file included from macho_relocatable_file.cpp:37: ./libunwind/DwarfInstructions.hpp:1677:2: error: redeclaration of 'compile_time_assert_failed' with a different type: 'int [((int)CFI_Parser::kMaxRegisterNumber > (int)UNW_PPC_SPEFSCR) ? 1 : -1]' vs 'int [1]' COMPILE_TIME_ASSERT( (int)CFI_Parser::kMaxRegisterNumber > (i... ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ ./libunwind/Registers.hpp:548:2: note: previous declaration is here COMPILE_TIME_ASSERT( sizeof(Registers_ppc) < sizeof(unw_context_t) ); ^ ./libunwind/InternalMacros.h:50:14: note: expanded from macro 'COMPILE_TIME_ASSERT' extern int compile_time_assert_failed[ ( expr ) ? 1 : -... ^ 3 errors generated.
Closing this since it's too old.
Unfortunately I'm not able to build xnu-deps-linux. I know this repo is a few years old but I'm still trying my luck.
System: Arch Linux x86_64, 4.10.9-1 clang version 3.9.1 (tags/RELEASE_391/final)
Error: