[MacPorts] #64525: many ports fail to build for ppc on 10.6.8 (Rosetta) due to collect2: ld terminated with signal 6 [Abort trap]

MacPorts noreply at macports.org
Sat Jan 29 08:41:34 UTC 2022


#64525: many ports fail to build for ppc on 10.6.8 (Rosetta) due to collect2: ld
terminated with signal 6 [Abort trap]
-------------------------------+-------------------------------------------
  Reporter:  barracuda156      |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.1
Resolution:                    |   Keywords:  powerpc, snowleopard, rosetta
      Port:  shared-mime-info  |
-------------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:15 ryandesign]:
 > It's not ironic. It's simply the case that cross-compiling is not as
 well tested and often has some unique challenges that do not present
 themselves when not cross-compiling. Some of the problems you are seeing
 would probably also happen if trying to cross-compile on macOS 11 or 12
 for Intel on Apple Silicon or vice versa, and fixing those problems would
 be good.

 So far it looks to me that a frequent problem that causes some ports to
 fail is that build and target are used wrongly, based on physical
 processor (x86_64) and not the setting (ppc Rosetta). For example, all
 xorg family does that, though most of them still build for ppc. Often it
 is an easy fix in a port file, but when ports are hundreds, it becomes a
 pain. In some cases that doesn’t help though.

 The same thing somehow also leads to linker “abort” failures, since it
 does not happen when the same ports are built on 10.6 PPC with identical
 Xcode tools. (10.6 PPC does exhibit linker fails sometimes, but different
 ones and far less frequently.)

 Did I get it right that Macports has no universal mechanism to override
 build/host/target settings? Something like one for SDK and deployment
 target in `macports.conf`.

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


More information about the macports-tickets mailing list