|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77361 Configure fails on 64-bit AIX when opcache enabled
Submitted: 2018-12-27 22:03 UTC Modified: -
From: kadler at us dot ibm dot com Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 7.2.13 OS: AIX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
35 - 23 = ?
Subscribe to this entry?

 [2018-12-27 22:03 UTC] kadler at us dot ibm dot com
configure fails on 64-bit AIX (or 32-bit with _LARGE_FILES enabled) *and* --enable-opcache=yes

checking "whether flock struct is linux ordered"... "no"
checking "whether flock struct is BSD ordered"... "no"
configure: error: Don't know how to define struct flock on this system, set --enable-opcache=no

This is a regression caused by f9048300123, as the configure check was altered to only check for Linux-style and BSD-style layouts. 32-bit AIX falls in to the Linux-style layout, so is unaffected. Of the hard-coded layout macros in ZendAccelerator.h, only 64-bit AIX does not fall in to the two cases checked for in the configure check.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-28 00:44 UTC]
The following pull request has been associated:

Patch Name: Fix bug #77361 (configure fails on 64-bit AIX when opcache enabled)
On GitHub:
 [2019-01-11 09:31 UTC]
Automatic comment on behalf of
Log: Fix bug #77361 (configure fails on 64-bit AIX when opcache enabled)
 [2019-01-11 09:31 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jul 05 22:03:34 2022 UTC