【发布时间】:2017-01-28 15:02:28
【问题描述】:
最近我们开始在我们的 OS X 版本中收到此警告。
ld: warning:
could not create compact unwind for __Z10createMenuv: stack subl instruction is too different from dwarf stack size
ld: warning:
could not create compact unwind for __Z10del_modulejb: stack subl instruction is too different from dwarf stack size
could not create compact unwind for __Z14menu_patchbytev: stack subl instruction is too different from dwarf stack size
我可以在 Chromium 错误跟踪器中找到一些关于此的讨论,但建议的“修复”是禁用紧凑展开生成。我想了解为什么会出现此警告,以及这是否是我们的代码或工具链中的问题。
我们的工具链来自 Xcode 7.3.1:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.6.0
【问题讨论】:
标签: c++ macos linker clang dwarf