[MacPorts] #70859: GMP build with GCC, not Clang

MacPorts noreply at macports.org
Sun Sep 22 00:50:50 UTC 2024


#70859: GMP build with GCC, not Clang
-----------------------+---------------------
  Reporter:  haberg-1  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  ventura
      Port:  gmp       |
-----------------------+---------------------

Comment (by kencu):

 I tried changing the ALIGN(8) to ALIGN(16) in two places in
 {{{mpn/x86_64/bdiv_q_1.asm}}} and that did nothing to improve the test
 errors.

 There are a lot of assembly files, it turns out, that set ALIGN(8) --
 perhaps others need fixing, or perhaps we are barking up the wrong tree
 altogether.

 More to sort out.

 You can't really set gmp to build with gcc14, as gmp is a build dependency
 of gcc14.  <https://ports.macports.org/port/gcc14/details/>. So really,
 this has to be properly sorted out by upstream gmp, and just saying "clang
 is hosed" or "Apple is silly" is not really going to be the solution.

 For now -- I would personally lean towards disabling assembly for Intel
 builds of gmp until they sort it out.

 MacPorts has lots of smart people around -- perhaps someone knows enough
 x86_64 assembly to see what gmp is doing to make these errors happen.

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


More information about the macports-tickets mailing list