[MacPorts] #29925: arm-elf-binutils @2.21.51.0.9 error: warning: declaration of 'link_info' shadows a global declaration"
MacPorts
noreply at macports.org
Fri Jun 24 19:24:40 PDT 2011
#29925: arm-elf-binutils @2.21.51.0.9 error: warning: declaration of 'link_info'
shadows a global declaration"
----------------------------------------+-----------------------------------
Reporter: smbmacportstrac@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: arm-elf-binutils
----------------------------------------+-----------------------------------
Old description:
> Build Error
> 10.5.8 PowerPC
> Xcode 3.1.4
> buildmakejobs 4
> configureccache yes
>
> :info:build ccache /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_
> rsync.macports.org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld -I.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-binutils/work/binutils-2.21.51.0.9/ld -
> I../bfd
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/../bfd
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/../include -pipe -O2 -arch ppc
> -DENABLE_PLUGINS -DLOCALEDIR="\"/opt/local/share/locale\"" -W -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -arch
> ppc -MT ldlang.o -MD -MP -MF .deps/ldlang.Tpo -c -o ldlang.o
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/ldlang.c
> ...
> :info:build cc1: warnings being treated as errors
> :info:build In file included from
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/ldlang.c:45:
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/../bfd/libbfd.h:2292: warning:
> declaration of 'link_info' shadows a global declaration
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_cross_arm-elf-
> binutils/work/binutils-2.21.51.0.9/ld/ldmain.h:43: warning: shadowed
> declaration is here
New description:
Build Error
10.5.8 PowerPC
Xcode 3.1.4
buildmakejobs 4
configureccache yes
{{{
:info:build ccache /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_
rsync.macports.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-binutils/work/binutils-2.21.51.0.9/ld -
I../bfd
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/../bfd
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/../include -pipe -O2 -arch ppc
-DENABLE_PLUGINS -DLOCALEDIR="\"/opt/local/share/locale\"" -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -arch
ppc -MT ldlang.o -MD -MP -MF .deps/ldlang.Tpo -c -o ldlang.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/ldlang.c
...
:info:build cc1: warnings being treated as errors
:info:build In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/ldlang.c:45:
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/../bfd/libbfd.h:2292: warning:
declaration of 'link_info' shadows a global declaration
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-
binutils/work/binutils-2.21.51.0.9/ld/ldmain.h:43: warning: shadowed
declaration is here
}}}
--
Comment(by jmr@…):
Please remember to preview and use WikiFormatting.
--
Ticket URL: <https://trac.macports.org/ticket/29925#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list