mac leopard dyld_misaligned_stack_error

来源:互联网 发布:中国频道域名转出费用 编辑:程序博客网 时间:2024/05/17 02:04

dyld_misaligned_stack_error

   

Try adding flag "-mstackrealign" in C flags in the release version.

    -mstackrealign

    Realign the stack at entry. On the Intel x86, the -mstackrealign option will generate an alternate prologue/epilogue that realigns the runtime stack. This supports mixing legacy codes that keep a 4-byte aligned stack with modern codes that keep a 16-byte stack for SSE compatibility.

See GCC's man page for reference.

 

see also: 

http://stackoverflow.com/questions/554250/running-cocoa-app-under-otest-causes-dyld-misaligned-stack-error-in-release-mode

原创粉丝点击