[MacPorts] #64498: llvm-3.3/3.4 fail to build for ppc on 10.6.8 (Rosetta): Undefined symbols: "_main", referenced from: start in crt1.10.5.o

MacPorts noreply at macports.org
Sat Jul 16 22:48:47 UTC 2022


#64498: llvm-3.3/3.4 fail to build for ppc on 10.6.8 (Rosetta): Undefined symbols:
"_main", referenced from: start in crt1.10.5.o
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  jeremyhu
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  powerpc, llvm, snowleopard, rosetta
      Port:  llvm-3.3,   |
  llvm-3.4               |
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Replying to [comment:9 kencu]:
 > what architecture is
 {{{/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/projects/sample/Release/lib/libsample.a}}}?
 >
 > Presumably ppc7400?

 `main.o` for w/e reason has built for `x86`, despite the triple being
 correctly recognized in configure as `powerpc-apple-darwin`. I did not
 check the archive, and rebuiding now with `gcc10-bootstrap`, which is
 slow. Gonna check the contents of `libsample.a` after the build likely
 fails again.

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


More information about the macports-tickets mailing list