[MacPorts] #24580: sparc-rtems-binutils fails building on snowleopard
MacPorts
noreply at macports.org
Wed Apr 21 08:33:35 PDT 2010
#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
----------------------------------------+-----------------------------------
Changes (by jmr@…):
* cc: mattias.holm@… (removed)
Old description:
> 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
New description:
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
}}}
--
Comment:
Note you do not need to be in cc when you are the reporter.
--
Ticket URL: <http://trac.macports.org/ticket/24580#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list