Re: [MacPorts] #54616: orc @0.4.27: error: can't find a register in class ‘BREG’ while reloading ‘asm’ (was: When installing wine, orc fails compilation (Snow Leopard))

MacPorts noreply at macports.org
Wed Aug 16 12:15:25 UTC 2017


#54616: orc @0.4.27: error: can't find a register in class ‘BREG’ while reloading
‘asm’
---------------------+-----------------
  Reporter:  Umo022  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  orc     |
---------------------+-----------------
Changes (by ryandesign):

 * port:   => orc


Comment:

 I don't know yet why it fails to build universal on Snow Leopard, but I
 can at least answer some of your questions.

 The Intel Core 2 processor is a 64-bit processor using the x86_64
 architecture and also compatible with running software made for the i386
 architecture, as are all subsequent Intel processors used in Macs. Only
 the very first Intel Macs used the original Intel Core processor which is
 32-bit and thus limited to using only the i386 architecture. The x86_64
 architecture is also known as the amd64 architecture because it was
 created by AMD. Although you have a 64-bit processor, wine in MacPorts is
 32-bit, so all its dependencies, including orc, must be built
 universal—that is, for both i386 (for the benefit of wine) and x86_64 (for
 any other 64-bit software you might install using MacPorts). Your log
 shows successful compilation of the x86_64 part, and a problem when
 building the i386 part, specifically some assembly code.

 This problem did not manifest in the previous version of orc, 0.4.26. It
 also does not manifest with 0.4.27 on Lion or later. This suggests there
 was a change in the assembly code or the build system in 0.4.27 that was
 not tested on the older toolchain on Snow Leopard.

 It looks like the separate 32-bit and 64-bit non-universal builds of orc
 0.4.27 succeeded on our Snow Leopard buildbot workers, but the universal
 build did not; this may indicate that the build system is not providing
 the correct arch flags to all parts of the build (specifically the
 assembly part of the build) though that would not explain why it works on
 Lion and later.

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


More information about the macports-tickets mailing list