[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 21:19:31 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 ryandesign):

 And again, as far as I can tell, that would be telling the build system
 "if the system is 32-bit, build for 64-bit" which would not be correct.
 Instead, you should be fixing whatever it is that is erroneously
 identifying your system as 32-bit.

 > The system reports itself being i386 in uname, etc, but it's really
 x86_64

 `uname -m` indicates the kernel architecture. Anybody using it to decide
 the userland build architecture is using it wrong.

 But I cannot find any place where meson is using `uname -m`. Rather, meson
 seems to be deciding that Intel systems are 32-bit if the preprocessor
 define `__i386__` is defined. That should only be the case when compiling
 for 32-bit (`-arch i386`), which you're not, so I don't know where this is
 going wrong.

 Meson is a build system. As such it should work on the widest possible
 range of systems. If this is a meson bug, then there's no reason to assume
 they would not want to fix it.

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


More information about the macports-tickets mailing list