Bug #73114 [Asn]: php segfault probably becouse OpenBSD wx implementation

From: Date: Fri, 11 Nov 2016 16:40:01 +0000
Subject: Bug #73114 [Asn]: php segfault probably becouse OpenBSD wx implementation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205309@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73114&edit=1 ID: 73114 Updated by: cmb@php.net Reported by: martin dot larsson2 at gmail dot com Summary: php segfault probably becouse OpenBSD wx implementation Status: Assigned Type: Bug Package: PCRE related Operating System: OpenBSD PHP Version: 7.0.11 Assigned To: cmb Block user comment: N Private report: N New Comment: Ah, I see, thanks! Please try to build with: CFLAGS="-fpie -pie" ./configure … Cf. <https://www.openbsd.org/papers/asiabsdcon2015-pie-slides.pdf>. Previous Comments: ------------------------------------------------------------------------ [2016-11-11 14:05:11] martin dot larsson2 at gmail dot com php doesnt compile for me at all, I use the package. I get wx violation just trying to compile it, and that netbsd patch use some paxctl which openbsd doesnt have. ------------------------------------------------------------------------ [2016-11-09 20:13:38] cmb@php.net > Thought https://bugs.php.net/bug.php?id=72281 was a compilation > error? No. Actually it appears to be the very same issue: * this ticket: mmap W^X violation * the other ticket: it does not allow mapping pages both writable and executable Martin, could you please check whether the patch attached to the other ticket would solve the issue for you? ------------------------------------------------------------------------ [2016-11-09 20:00:40] martin dot larsson2 at gmail dot com ehm, I don't know sorry. Thought https://bugs.php.net/bug.php?id=72281 was a compilation error? ------------------------------------------------------------------------ [2016-11-09 15:10:16] ab@php.net @martin dot larsson2 at gmail dot com, could you check bug #72281 please? Seems it's same issue. thanks. ------------------------------------------------------------------------ [2016-09-19 17:56:10] martin dot larsson2 at gmail dot com I just checked dmesg, and it says php-7.0(10468): mmap W^X violation just to be clear :) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=73114 -- Edit this bug report at https://bugs.php.net/bug.php?id=73114&edit=1

« previous php.bugs (#205309) next »