search for: add_compile_flags

Displaying 4 results from an estimated 4 matches for "add_compile_flags".

2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...ailed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } ``` No wonder! __aeabi_unwind_cpp_pr0 is defined in libunwind itself, which we haven’t built yet. If I instead set the -funwind-tables flag unconditionally using `add_compile_flags(-funwind-tables)` instead of `add_cxx_compile_flags_if_supported(-funwind-tables)`, everything is fine and the aforementioned bug is gone. I’ve found a PR which seemed to address this: https://reviews.llvm.org/D31858 (cc’ing @phosek, @compnerd and @beanz as participants of this PR). It mentions th...
2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...subcommand failed. >> >> Source file was: >> int main() { return 0; } >> ``` >> >> No wonder! __aeabi_unwind_cpp_pr0 is defined in libunwind itself, which we haven’t built yet. >> >> If I instead set the -funwind-tables flag unconditionally using `add_compile_flags(-funwind-tables)` instead of `add_cxx_compile_flags_if_supported(-funwind-tables)`, everything is fine and the aforementioned bug is gone. >> >> I’ve found a PR which seemed to address this: https://reviews.llvm.org/D31858 (cc’ing @phosek, @compnerd and @beanz as participants of this P...
2019 Nov 18
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...subcommand failed. >> >> Source file was: >> int main() { return 0; } >> ``` >> >> No wonder! __aeabi_unwind_cpp_pr0 is defined in libunwind itself, which we haven’t built yet. >> >> If I instead set the -funwind-tables flag unconditionally using `add_compile_flags(-funwind-tables)` instead of `add_cxx_compile_flags_if_supported(-funwind-tables)`, everything is fine and the aforementioned bug is gone. >> >> I’ve found a PR which seemed to address this: https://reviews.llvm.org/D31858 (cc’ing @phosek, @compnerd and @beanz as participants of this P...
2019 Nov 20
2
libunwind is not configured with -funwind-tables when building it for ARM Linux?
...subcommand failed. >> >> Source file was: >> int main() { return 0; } >> ``` >> >> No wonder! __aeabi_unwind_cpp_pr0 is defined in libunwind itself, which we haven’t built yet. >> >> If I instead set the -funwind-tables flag unconditionally using `add_compile_flags(-funwind-tables)` instead of `add_cxx_compile_flags_if_supported(-funwind-tables)`, everything is fine and the aforementioned bug is gone. >> >> I’ve found a PR which seemed to address this: https://reviews.llvm.org/D31858 (cc’ing @phosek, @compnerd and @beanz as participants of this P...