#24580: sparc-rtems-binutils fails building on snowleopard ----------------------------------------+----------------------------------- Reporter: mattias.holm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: sparc-rtems-binutils ----------------------------------------+----------------------------------- Sparc rtems binutils fails building on snow leopard, it seems that this is a simple issue of a newer gcc being more pedantic about errors, in this case relating to the string translation _("Foo"), which prevents gcc from analysing the formatting in functions this is passed to. The easy fix would be to disable the specific warning, or the -Werror flag. /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_sparc-rtems- binutils/work/binutils-2.18/bfd/elf.c: In function '_bfd_elf_print_private_bfd_data': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_sparc-rtems- binutils/work/binutils-2.18/bfd/elf.c:1108: warning: format not a string literal and no format arguments /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_sparc-rtems- binutils/work/binutils-2.18/bfd/elf.c:1150: warning: format not a string literal and no format arguments /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_sparc-rtems- binutils/work/binutils-2.18/bfd/elf.c:1276: warning: format not a string literal and no format arguments /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_cross_sparc-rtems- binutils/work/binutils-2.18/bfd/elf.c:1301: warning: format not a string literal and no format arguments -- Ticket URL: <http://trac.macports.org/ticket/24580> MacPorts <http://www.macports.org/> Ports system for Mac OS