[MacPorts] #49041: mysql56 @ 5.6.27_0 build fails, PowerBook G4 OS X 10.5.8--#error "Unsupported platform"

MacPorts noreply at macports.org
Fri Sep 23 05:34:31 CEST 2016


#49041: mysql56 @ 5.6.27_0  build fails, PowerBook G4 OS X 10.5.8--#error
"Unsupported platform"
----------------------------+-----------------------------
  Reporter:  zanderpower@…  |      Owner:  pixilla@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.3
Resolution:  wontfix        |   Keywords:  leopard powerpc
      Port:  mysql56        |
----------------------------+-----------------------------

Comment (by ken.cunningham.webuse@…):

 It appears that there was an upgrade to the atomic features on mysql56
 that broke several non-intel processors, as I understand these reports.

 See <https://bugs.mysql.com/bug.php?id=78687> and
 <https://github.com/mysql/mysql-
 server/commit/f59d68eeae37338d7b25f2571407e763fa897e15>.

 based on these reports, I added
 {{{
 -DHAVE_IB_GCC_ATOMIC_BUILTINS=0 \
 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=0 \
 }}}
 to the Porfile configure args on Tiger PPC, and indeed the build proceeds
 through to completion without errors now. I suspect, but have not yet
 proven, that these two configure args will also work on 10.5 PPC.

 So here's a diff that updates the Portfile to add these two args to the
 configure on powerpc machines.

 Running the test suite proved to be rather difficult -- there are a number
 of malpositioned files. I tried setting up soft links here and there to
 satisfy the test script, but never did get to the point where that test
 script was happy. So I haven't completed those tests, therefore. If you
 have a fixed version of the test script with the proper paths on it,
 please upload it for me to try.

 Also, you might wonder if the atomics being disabled affects the speed of
 mysql. I was likewise unable to benchmark it, so at the moment, I remain
 uncertain about that.

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


More information about the macports-tickets mailing list