aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2021-06-25 12:53:23 +0200
committerMike Pall <mike>2021-06-25 12:53:23 +0200
commite957737650e060d5bf1c2909b741cc3dffe073ac (patch)
treebda7b6909db12aa610ad170ca421af54468f6281 /src
parent95140c50010c0557af66dac944403a1a65dd312c (diff)
downloadluajit-e957737650e060d5bf1c2909b741cc3dffe073ac.tar.gz
luajit-e957737650e060d5bf1c2909b741cc3dffe073ac.tar.bz2
luajit-e957737650e060d5bf1c2909b741cc3dffe073ac.zip
Disable unreliable assertion for external frame unwinding.
Broken on Fedora/ARM64. Reported by Yichun Zhang.
Diffstat (limited to 'src')
-rw-r--r--src/lj_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index 9fc3adc7..1a518d9c 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -482,7 +482,9 @@ void lj_err_verify(void)
482{ 482{
483 struct dwarf_eh_bases ehb; 483 struct dwarf_eh_bases ehb;
484 lj_assertX(_Unwind_Find_FDE((void *)lj_err_throw, &ehb), "broken build: external frame unwinding enabled, but missing -funwind-tables"); 484 lj_assertX(_Unwind_Find_FDE((void *)lj_err_throw, &ehb), "broken build: external frame unwinding enabled, but missing -funwind-tables");
485 /* Check disabled, because of broken Fedora/ARM64. See #722.
485 lj_assertX(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb), "broken build: external frame unwinding enabled, but system libraries have no unwind tables"); 486 lj_assertX(_Unwind_Find_FDE((void *)_Unwind_RaiseException, &ehb), "broken build: external frame unwinding enabled, but system libraries have no unwind tables");
487 */
486} 488}
487#endif 489#endif
488 490