[MacPorts] #63164: cctools @949: lipo make FAT libraries on i386 Mac OS X Tiger with wrong offset: fail to load

MacPorts noreply at macports.org
Sun Jul 11 05:31:06 UTC 2021


#63164: cctools @949: lipo make FAT libraries on i386 Mac OS X Tiger with wrong
offset: fail to load
------------------------------+--------------------
  Reporter:  bradleyCPA       |      Owner:  kencu
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:  fixed            |   Keywords:
      Port:  cctools libgcc7  |
------------------------------+--------------------
Changes (by kencu):

 * status:  new => closed
 * owner:  (none) => kencu
 * resolution:   => fixed


Comment:

 In [changeset:"f1369be4de76379f0ed80509918c2e903e005133/macports-ports"
 f1369be4de76379f0ed80509918c2e903e005133/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="f1369be4de76379f0ed80509918c2e903e005133"
 cctools: fix log2 rounding issue in lipo

 lipo calls log2(x) and then casts that to a uint32_t
 on some systems, this casts away from the correct value
 fix that by rounding the value to the nearest int first,
 then casting.

 closes: https://trac.macports.org/ticket/63164

 thanks to @bradleyCPA (B. Holder) for sorting this out!
 }}}

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


More information about the macports-tickets mailing list