This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
GDB multi-build failure in lm32-opc.c file
- From: Pierre Muller <muller at ics dot u-strasbg dot fr>
- To: binutils at sourceware dot org
- Date: Sat, 14 Feb 2009 14:46:37 +0100
- Subject: 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