[MacPorts] #64525: shared-mime-info fails to build for ppc on 10.6.8 (Rosetta) with default config: cannot find linker, aborts

MacPorts noreply at macports.org
Wed Jan 26 15:05:28 UTC 2022


#64525: shared-mime-info fails to build for ppc on 10.6.8 (Rosetta) with default
config: cannot find linker, aborts
-------------------------------+-------------------------------------------
  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:3 kencu]:
 > you have generated a number of tickets that all seem to have the same
 error.
 > whatever ld you have installed at /usr/bin/ld seems to abort when
 linking ppc code built with gcc-4.2 on snowleopard.

 Yes, in certain cases. (Many ports have built without issues.) But indeed
 it seems the error is the same.

 > Can you try building a “hello.c” program outside of macports with that
 compiler and linker, play around until you can duplicate the error, and
 then see what is needed to fix it?

 Could you tell me, what options we basically have for linkers? Apple `ld`,
 Xcode `ld64`, Macports `ld64-97`, Macports `ld64-127`? (I know there were
 other versions, but it seems that mostly 97 and 127 are used with ppc.)
 And how can I switch between these? `--with-ld=` works sometimes, but
 often is not recognized by compiler or build system (or maybe I use it in
 a wrong way).

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


More information about the macports-tickets mailing list