Opened 10 years ago

Closed 10 years ago

#20977 closed defect (fixed)

arm-elf-binutils fails to build on Snow Leopard

Reported by: hunter@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: bhadder@…
Port: arm-elf-binutils

Description (last modified by mf2k (Frank Schima))

sudo port install arm-elf-binutils fails on arm-elf-binutils on a clean install. Installed and (for completeness) selfupdate'd today (8/31/2009).

Statler:~ developer$ sudo port install arm-elf-binutils
--->  Computing dependencies for arm-elf-binutils
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://superb-east.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.4.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13_0
--->  Activating libiconv @1.13_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.7.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.7_0+darwin_10
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.7_0+darwin_10
--->  Cleaning ncurses
--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.17_4
--->  Activating gettext @0.17_4
--->  Cleaning gettext
--->  Fetching arm-elf-binutils
--->  Attempting to fetch binutils-2.18.50.0.9.tar.bz2 from ftp://ftp.kernel.org/pub/linux/devel/binutils/
--->  Verifying checksum(s) for arm-elf-binutils
--->  Extracting arm-elf-binutils
--->  Configuring arm-elf-binutils
--->  Building arm-elf-binutils
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/binutils -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils -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.18.50.0.9/binutils/../bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include -DLOCALEDIR="\"/opt/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/objdump.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/ecoff.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/ehopt.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/expr.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-copy.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-konst.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-mult.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/frags.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/hash.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/input-file.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/binutils -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils -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.18.50.0.9/binutils/../bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include -DLOCALEDIR="\"/opt/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c
cc1: warnings being treated as errors
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c: In function 'print_dwarf_vma':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c:189: warning: format not a string literal and no format arguments
make[4]: *** [dwarf.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/input-scrub.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c
cc1: warnings being treated as errors
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c: In function 'print_options':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c:1103: warning: format not a string literal and no format arguments
make[4]: *** [listing.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-gas] Error 2
make: *** [all] Error 2

Attachments (1)

arm-elf-binutils.diff (1.6 KB) - added by blb@… 10 years ago.
diff to Portfile

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by hunter@…

Updated with proper formatting. My apologies. =(

Statler:~ developer$ sudo port install arm-elf-binutils
--->  Computing dependencies for arm-elf-binutils
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://superb-east.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.4.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13_0
--->  Activating libiconv @1.13_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.7.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.7_0+darwin_10
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.7_0+darwin_10
--->  Cleaning ncurses
--->  Fetching gettext
--->  Attempting to fetch gettext-0.17.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.17_4
--->  Activating gettext @0.17_4
--->  Cleaning gettext
--->  Fetching arm-elf-binutils
--->  Attempting to fetch binutils-2.18.50.0.9.tar.bz2 from ftp://ftp.kernel.org/pub/linux/devel/binutils/
--->  Verifying checksum(s) for arm-elf-binutils
--->  Extracting arm-elf-binutils
--->  Configuring arm-elf-binutils
--->  Building arm-elf-binutils
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/build" && /usr/bin/make -j2 all " returned error 2
Command output: cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/binutils -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils -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.18.50.0.9/binutils/../bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include -DLOCALEDIR="\"/opt/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/objdump.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/ecoff.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/ehopt.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/expr.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-copy.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-konst.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/flonum-mult.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/frags.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/hash.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/input-file.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/binutils -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils -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.18.50.0.9/binutils/../bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/../include -DLOCALEDIR="\"/opt/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation  -I/opt/local/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c
cc1: warnings being treated as errors
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c: In function 'print_dwarf_vma':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/binutils/dwarf.c:189: warning: format not a string literal and no format arguments
make[4]: *** [dwarf.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/input-scrub.c
cc -no-cpp-precomp -I/opt/local/include -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.18.50.0.9/gas -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas -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.18.50.0.9/gas/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/.. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/../bfd -DLOCALEDIR="\"/opt/local/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -arch x86_64 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c
cc1: warnings being treated as errors
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c: In function 'print_options':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_arm-elf-binutils/work/binutils-2.18.50.0.9/gas/listing.c:1103: warning: format not a string literal and no format arguments
make[4]: *** [listing.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-gas] Error 2
make: *** [all] Error 2

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to pguyot@…
Port: arm-elf-binutils added

comment:3 Changed 10 years ago by nerdling (Jeremy L)

This only looks like a failed build due to warnings.

comment:4 Changed 10 years ago by tyler.w.gilbert@…

I was able to successfully install arm-elf-binutils on Snow leopard by adding:

"--disable-werror" under configure.args in the Portfile.

To edit the portfile use "sudo port edit arm-elf-binutils" after fetching.

comment:5 Changed 10 years ago by bhadder@…

Cc: bhadder@… added

Cc Me!

comment:6 Changed 10 years ago by blb@…

Disabling Werror causes other issues here, but updating to 2.19.1 seems to fix it. Attaching a patch for what works for me (10.6.1, Xcode 3.2.1).

Changed 10 years ago by blb@…

Attachment: arm-elf-binutils.diff added

diff to Portfile

comment:7 Changed 10 years ago by nerdling (Jeremy L)

Resolution: fixed
Status: newclosed

Committed in r60226.

Maintainer timeout.

Note: See TracTickets for help on using tickets.