[MacPorts] #58598: PHP 7.3.6 can throw a known bus error on freebsd flavored OS if using ifuncs, can fix in configure.ac

MacPorts noreply at macports.org
Wed Oct 23 03:38:48 UTC 2019


#58598: PHP 7.3.6 can throw a known bus error on freebsd flavored OS if using
ifuncs, can fix in configure.ac
----------------------+--------------------
  Reporter:  johnww2  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:
      Port:  php73    |
----------------------+--------------------

Comment (by ryandesign):

 I still haven't been able to reproduce the problem, but I've been testing
 using php73 built from source on my computer. But it sounds like as of PHP
 7.3, it's checking at configure time which SIMD technologies are present,
 which it will then use at runtime. So if you get a binary of php73 from
 our server, and our build server has more SIMD capabilities than your
 processor does, that won't work. And if that's so, then we should disable
 the use of SIMD technologies as suggested. Our build server runs on an
 Xserve (Late 2009) with a Nehalem processor, on which it detects the
 availability of ssse3 and sse4.2. So if your Mac has a processor that
 predates Nehalem (such as Core or Core 2), that could explain why it
 wouldn't work.

 Collecting some more data would be helpful. To everyone experiencing the
 problem:

 * Did you get php73 and php73-openssl from our build server or was it
 compiled on your computer?
 * If you got a binary, does rebuilding from source help? (`sudo port -ns
 upgrade --force php73 php73-openssl`)
 * What version number and build number of Xcode?
 * What version number and build number of macOS?
 * What Mac model name and year and CPU?
 * Does the problem only occur in a web server environment or can you
 reproduce the problem using a command line PHP script?

-- 
Ticket URL: <https://trac.macports.org/ticket/58598#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list