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

From: Date: Fri, 11 Nov 2016 17:39:23 +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-205310@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
 User updated by:    martin dot larsson2 at gmail dot com
 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:

same error with CFLAGS="-fpie -pie" ./configure

here is paste http://pastebin.ca/3738078


Previous Comments:
------------------------------------------------------------------------
[2016-11-11 16:40:00] cmb@php.net

Ah, I see, thanks! Please try to build with:

  CFLAGS="-fpie -pie" ./configure …

Cf. <https://www.openbsd.org/papers/asiabsdcon2015-pie-slides.pdf>.

------------------------------------------------------------------------
[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.

------------------------------------------------------------------------


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


Thread (15 messages)

« previous php.bugs (#205310) next »