[LLVMdev] php crash
Anders Johnsen
skabet at gmail.com
Fri Apr 3 10:20:17 PDT 2009
What version of clang are you using? It could be a regression between
head and the version I used. (some days old)
- Anders
On Fri, Apr 3, 2009 at 6:37 PM, Xi Wang <xi.wang at gmail.com> wrote:
> On Fri, Apr 3, 2009 at 12:07 PM, Chris Lattner <clattner at apple.com> wrote:
>> It is impossible to tell with this amount of detail. Does it work
>> correctly if you build with -O0 ?
>
> Yes, with -O0 the resulting executable looks fine. --enable-debug
> actually sets -O0 (otherwise -O2).
>
> Clang can build/test php 5.2.9 with either -O0 or -O2, but not for php
> 5.3RC0 with -O2. I further looked into the php code. It seems that
> php 5.3 is using inline asm. Is that the reason?
>
> - xi
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list