This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB multi-build failure in lm32-opc.c file



I tried to compile gdb
../src/configure --enable-targets=all --enable-64-bit-bfd --enable-static --disable-shared --enable-debug
on a 32bit i686 Ubuntu


/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o lm32-opc.lo ../../src/opcodes/lm32-opc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/opcodes -I. -I. -I../../src/opcodes -I../bfd -I../../src/opcodes/../include -I../../src/opcodes/../bfd -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../src/opcodes/lm32-opc.c -o lm32-opc.o
cc1: warnings being treated as errors
In function ?memset?,
inlined from ?lm32_cgen_init_opcode_table? at ../../src/opcodes/lm32-opc.c:847:
/usr/include/bits/string3.h:82: error: call to ?__warn_memset_zero_len? declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters
make[3]: *** [lm32-opc.lo] Error 1


Seems to suggest that CGEN_INSN type is
still opaque and thus of unknown size...

Please CC me as I am not suscribed on binutils,


Pierre Muller


GDB Pascal language support maintainer



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]