[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 07:30:13 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 kencu):
Ok, I see some more details. It does look like that gcc library we
installed has a different alignment that the one that comes with the
system:
{{{
$ lipo -detailed_info /opt/local/lib/libgcc/libgcc_s.1.dylib
Fat header in: /opt/local/lib/libgcc/libgcc_s.1.dylib
fat_magic 0xcafebabe
nfat_arch 1
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 2048
size 103928
align 2^11 (2048)
$ lipo -detailed_info /usr/lib/libgcc_s.1.dylib
Fat header in: /usr/lib/libgcc_s.1.dylib
fat_magic 0xcafebabe
nfat_arch 4
architecture i386
cputype CPU_TYPE_I386
cpusubtype CPU_SUBTYPE_I386_ALL
offset 4096
size 53648
align 2^12 (4096)
architecture x86_64
cputype CPU_TYPE_X86_64
cpusubtype CPU_SUBTYPE_X86_64_ALL
offset 61440
size 54268
align 2^12 (4096)
architecture ppc
cputype CPU_TYPE_POWERPC
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 118784
size 66380
align 2^12 (4096)
architecture ppc64
cputype CPU_TYPE_POWERPC64
cpusubtype CPU_SUBTYPE_POWERPC_ALL
offset 188416
size 62904
align 2^12 (4096)
}}}
I am not at this moment thinking that is an error. I believe that is just
the way it is built by gcc. But it is a question we can ask.
Before we get into why you think the build tools are broken, lets go back
to your error, which I don't see. Perhaps that is a more useful place to
start, as everything on my Tiger system works normally?
--
Ticket URL: <https://trac.macports.org/ticket/63164#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list