[Bug 227723] clang 6.0 breaks php56/opcache: Broken after clang 6.0 import (on CURRENT)

2018-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Kubilay Kocak changed: What|Removed |Added Flags||merge-quarterly+ --- Comment #12 f

[Bug 227723] clang 6.0 breaks php56/opcache: Broken after clang 6.0 import (on CURRENT)

2018-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Kubilay Kocak changed: What|Removed |Added Keywords||regression Summary|clan

[Bug 227723] clang 6.0 breaks php56/opcache

2018-05-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #11 from commit-h...@freebsd.org --- A commit references this bug: Author: flo Date: Thu May 24 19:53:43 UTC 2018 New revision: 470806 URL: https://svnweb.freebsd.org/changeset/ports/470806 Log: MFH: r469895 Prevent php 5.

[Bug 227723] clang 6.0 breaks php56/opcache

2018-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Florian Smeets changed: What|Removed |Added Resolution|--- |FIXED Status|New

[Bug 227723] clang 6.0 breaks php56/opcache

2018-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #9 from commit-h...@freebsd.org --- A commit references this bug: Author: flo Date: Mon May 14 14:24:14 UTC 2018 New revision: 469895 URL: https://svnweb.freebsd.org/changeset/ports/469895 Log: Prevent php 5.6 (opcache) from

[Bug 227723] clang 6.0 breaks php56/opcache

2018-05-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 iron.ud...@gmail.com changed: What|Removed |Added CC||iron.ud...@gmail.com --- Com

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #7 from la...@fit.vutbr.cz --- That's true, if base nullptr is changed to any temp_variable* in VAR_NUM(), then generated code is identical and index is correctly sign extended. So this probably will be not fixed in clang and pat

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #6 from Dimitry Andric --- After some bisecting, it turns out this behavior changed due to the following upstream commit: https://reviews.llvm.org/rL313784 ("Remove offset size check in nullptr arithmetic handling") and https://

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Rodney W. Grimes changed: What|Removed |Added CC||toolch...@freebsd.org -- You a

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Florian Smeets changed: What|Removed |Added Assignee|toolch...@freebsd.org |a...@freebsd.org --- Comment #5 f

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #4 from la...@fit.vutbr.cz --- test case was for constant, which was optimized to immediate, here is another with variable: #include #include #define EX_TMP_VAR(ex, n) ((temp_variable*)(((char*)(ex)) + ((int)(n #d

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #3 from la...@fit.vutbr.cz --- Patch seems to be ok. I've only changed installed header files in /usr/local/include/php/Zend, recompiled/reinstalled opcache, restarted apache and it runs. I've reduced problem to: #include #incl

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 --- Comment #2 from Florian Smeets --- I reported this to dim@ when clang 6 was merged to head. He created the patch I attached. It didn't work in my case, I'm still using USE_GCC in my lang/php56 port. I haven't had the time to dig further

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Florian Smeets changed: What|Removed |Added CC||f...@freebsd.org --- Comment #1 f

[Bug 227723] clang 6.0 breaks php56/opcache

2018-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227723 Mark Linimon changed: What|Removed |Added Assignee|b...@freebsd.org|toolch...@freebsd.org -- You are r