problem compiling ia64-gen.c with current tree
Doug Evans
dje@sebabeach.org
Fri Oct 14 12:34:00 GMT 2005
fyi,
host=i686-pc-gnu-linux, tree configured with
../src/configure --target=m32r-elf --prefix=/mumble \
--enable-maintainer-mode \
--enable-targets=all \
--enable-cgen-maint
-->
gcc -DHAVE_CONFIG_H -I. -I/home/dje/gnu/src/opcodes -I. -D_GNU_SOURCE -I. -I/home/dje/gnu/src/opcodes -I../bfd -I/home/dje/gnu/src/opcodes/../include -I/home/dje/gnu/src/opcodes/../bfd -I/home/dje/gnu/src/opcodes/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /home/dje/gnu/src/opcodes/ia64-gen.c
/home/dje/gnu/src/opcodes/ia64-gen.c: In function `print_main_table':
/home/dje/gnu/src/opcodes/ia64-gen.c:2704: warning: long unsigned int format, different type arg (arg 3)
/home/dje/gnu/src/opcodes/ia64-gen.c:2706: warning: long unsigned int format, different type arg (arg 3)
make[3]: *** [ia64-gen.o] Error 1
make[3]: Leaving directory `/play/gnu/b-m32r-src/opcodes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/play/gnu/b-m32r-src/opcodes'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/play/gnu/b-m32r-src/opcodes'
make: *** [all-opcodes] Error 2
fprintf_vma is used to print an ia64_insn which is a long long.
fprintf_vma (stdout, ptr->opcode->opcode);
printf ("ull, 0x");
fprintf_vma (stdout, ptr->opcode->mask);
--> [from .i]
fprintf (stdout, "%08lx", ptr->opcode->opcode);
printf ("ull, 0x");
fprintf (stdout, "%08lx", ptr->opcode->mask);
More information about the Binutils
mailing list