New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20840 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

binutils 2.19 build error/snow leopard (10A432)

Reported by: andrius.laikina@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: binutils

Description

binutils 2.19 fails to build on snow leopard:

--->  Extracting binutils
--->  Configuring binutils
--->  Building 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_devel_binutils/work/binutils-2.19" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 ieee.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 rdcoff.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 arparse.c -Wno-error
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 arlex.c -Wno-error
arlex.c:1841: warning: no previous prototype for 'yyget_in'
arlex.c:1849: warning: no previous prototype for 'yyget_out'
arlex.c:1857: warning: no previous prototype for 'yyget_leng'
arlex.c:1866: warning: no previous prototype for 'yyget_text'
arlex.c:1877: warning: no previous prototype for 'yyset_in'
arlex.c:1882: warning: no previous prototype for 'yyset_out'
arlex.c:1887: warning: no previous prototype for 'yyget_debug'
arlex.c:1892: warning: no previous prototype for 'yyset_debug'
arlex.c:1898: warning: no previous prototype for 'yylex_destroy'
arlex.c:1349: warning: 'yyunput' defined but not used
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 ar.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 not-ranlib.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 arsup.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 rename.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 binemul.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 emul_vanilla.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.././binutils -I. -I. -I.././binutils -I../bfd -I.././binutils/../bfd -I.././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 strings.c
cc1: warnings being treated as errors
strings.c: In function 'strings_file':
strings.c:407: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465)
make[4]: *** [strings.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History

comment:1 Changed 4 years ago by toby@…

  • Priority changed from High to Normal

comment:2 Changed 4 years ago by toby@…

  • Keywords binutils build snow leopard removed
  • Version 1.8.99 deleted

Please attah debug log

comment:3 Changed 4 years ago by toby@…

  • Status changed from new to closed
  • Resolution set to duplicate

never mind, dupe of #20197

Note: See TracTickets for help on using tickets.