[MacPorts] #64260: gcc7: cannot create executables for ppc64

MacPorts noreply at macports.org
Sat Dec 25 17:23:42 UTC 2021


#64260: gcc7: cannot create executables for ppc64
---------------------------+-------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  PowerPC, Leopard, ppc64
      Port:  gcc7, gcc6    |
---------------------------+-------------------------------------

Comment (by barracuda156):

 Replying to [comment:9 kencu]:
 > I suppose, because building gcc7 is kinda hard and takes some hours on a
 G5, you might build your hello.c program with debugging code, run it under
 gdb, and see what you get there...

 How to make gbd work correctly?


 {{{
 36-225:~ svacchanda$ gdb
 GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 UTC
 2009)
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "powerpc-apple-darwin".
 (gdb) exec-file /Users/svacchanda/Dev/HelloWorld
 unable to read unknown load command 0x24
 unable to read unknown load command 0x26
 warning: A handler for the OS ABI "Darwin" is not built into this
 configuration
 of GDB.  Attempting to continue with the default powerpc:common64
 settings.

 Architecture of file "/Users/svacchanda/Dev/HelloWorld" does not match
 user selected architecture.
 }}}

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


More information about the macports-tickets mailing list