[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 15:06:41 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):

 It's certainly not an accurate fix -- that's why I left it here in this
 ticket. But it does fix it on my system, as a hack.

 I think this is similar to why OpenBLAS is broken on < 10.7. The system
 reports itself being `i386` in `uname`, etc, but it's really `x86_64`, and
 so during the build it tries to build `i386` code as `x86_64` and fails --
 just like OpenBLAS does.

 I have a fix worked out for OpenBLAS, by querying `sysctl` and probing for
 64bit-capable, that I haven't sent up to MacPorts because .. well. But
 anyway, perhaps the same kind of `sysctl` probing fix would work out here.

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


More information about the macports-tickets mailing list