[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
Sat Jun 25 18:57:46 PDT 2011
#29925: arm-elf-binutils @2.21.51.0.9 error: warning: declaration of 'link_info'
shadows a global declaration"
----------------------------------------+-----------------------------------
Reporter: smbmacportstrac@… | Owner: raimue@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: arm-elf-binutils
----------------------------------------+-----------------------------------
Comment(by smbmacportstrac@…):
2.21.52.0.2 fails at the same spot in the same way.
http://comments.gmane.org/gmane.comp.gnu.binutils/51213
It looks like a solution is to use a newer version of gcc, or configure
with --disable-werror.
{{{
if [powerpc, xcode3.0.4] then # how do you do this in MacPorts?
configure.args-append --disable-werror
fi
# Or require gcc-4.2 instead of gcc-4.0 in Xcode 3.0.4.
if [powerpc, xcode3.0.4] then # how do you do this in MacPorts?
configure.cc /usr/bin/gcc-4.2
fi
}}}
The configure.args-append seems to fix the problem. However, I'm not sure
if the built binutils are "correct" or not since I don't have a way to
test the arm-elf-binutils tools at the moment.
--
Ticket URL: <https://trac.macports.org/ticket/29925#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list