[MacPorts] #59512: orc @0.4.30_1: ../orc-0.4.30/orc/orccpu-x86.c:91:7: error: instruction requires: Not 64-bit mode

MacPorts noreply at macports.org
Tue Oct 29 04:41:37 UTC 2019


#59512: orc @0.4.30_1: ../orc-0.4.30/orc/orccpu-x86.c:91:7: error: instruction
requires: Not 64-bit mode
---------------------+--------------------
  Reporter:  kencu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  orc     |
---------------------+--------------------

Comment (by kencu):

 this hack fixes it, on my system at least:
 {{{
 $ cat patch-orc-meson-build-override-cpu-choice.diff
 --- meson.build.orig    2019-10-28 12:47:16.000000000 -0700
 +++ meson.build 2019-10-28 12:48:22.000000000 -0700
 @@ -54,7 +54,7 @@

  cpu_family = host_machine.cpu_family()
  if cpu_family == 'x86'
 -  cdata.set('HAVE_I386', true)
 +  cdata.set('x86_64', true)
  elif cpu_family == 'x86_64'
    cdata.set('HAVE_AMD64', true)
  elif cpu_family == 'ppc' or cpu_family == 'ppc64'
 }}}

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


More information about the macports-tickets mailing list