[MacPorts] #63164: py-libxml2 icu cctools - FAT libraries built on i386 Mac OS X Tiger fail to run

MacPorts noreply at macports.org
Fri Jul 9 06:39:12 UTC 2021


#63164: py-libxml2 icu cctools - FAT libraries built on i386 Mac OS X Tiger fail to
run
-------------------------+--------------------
  Reporter:  bradleyCPA  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------

Comment (by bradleyCPA):

 The default alignment should be 12 (2^12 is 4096) not 11 (2^11 is 2048).
 This is why artifacts on my system such as:
 {{{
 otool -f /opt/local/lib/libgcc/libgcc_s.1.dylib
 Fat headers
 fat_magic 0xcafebabe
 nfat_arch 1
 architecture 0
     cputype 7
     cpusubtype 3
     capabilities 0x0
     offset 2048
     size 99832
     align 2^11 (2048)

 }}}
 are aligned as they are. Fat libraries aligned at 2048 do not load
 properly in tests on my system.

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


More information about the macports-tickets mailing list