I tried to build binutils from CVS as of 20070629, but compilation failed: /vol/gcc-3.4/bin/gcc -DHAVE_CONFIG_H -I. -I/vol/gnu/src/binutils/binutils-dist/gas -I. -D_GNU_SOURCE -I. -I/vol/gnu/src/binutils/binutils-dist/gas -I../bfd -I/vol/gnu/src/binutils/binutils-dist/gas/config -I/vol/gnu/src/binutils/binutils-dist/gas/../include -I/vol/gnu/src/binutils/binutils-dist/gas/.. -I/vol/gnu/src/binutils/binutils-dist/gas/../bfd -DLOCALEDIR="\"/vol/gcc/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /vol/gnu/src/binutils/binutils-dist/gas/config/obj-elf.c /vol/gnu/src/binutils/binutils-dist/gas/config/obj-elf.c:1698: warning: no previous prototype for 'elf_ecoff_set_ext' make[4]: *** [obj-elf.o] Error 1
The prototype for elf_ecoff_set_ext is present in obj-elf.h, but protected by !defined(OBJ_MAYBE_ELF). One could changed this to add || defined(NEED_ECOFF_DEBUG), but this is only defined after obj-elf.h is included via as.h. I'm unsure how to best fix this maze of includes and defines. binutils 2.17 compiles fine on this platform, but has several problems as mentioned in http://gcc.gnu.org/install/specific.html#mips-x-x -- Summary: obj-elf.c fails to compile on IRIX 5.3 Product: binutils Version: 2.18 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: ro at TechFak dot Uni-Bielefeld dot DE CC: bug-binutils at gnu dot org GCC build triplet: mips-sgi-irix5.3 GCC host triplet: mips-sgi-irix5.3 GCC target triplet: mips-sgi-irix5.3 http://sourceware.org/bugzilla/show_bug.cgi?id=4713 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils